Skip to content

Commit

Permalink
fix: set description as textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHericles committed Jan 5, 2024
1 parent 958725d commit c567a98
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sections/NRF/ImageSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import Icon from "deco-sites/starting/components/ui/Icon.tsx";

export interface Props {
title: string;
/**
* @format textarea
*/
description: string;
image: ImageWidget;
placement: "left" | "right";
Expand Down Expand Up @@ -38,7 +41,9 @@ export default function ImageSection({
loading="lazy"
/>
<div class="w-full lg:w-1/2 space-y-2 lg:space-y-4 lg:max-w-xl gap-4">
<p class="text-white text-[40px] leading-[110%] font-semibold">{title}</p>
<p class="text-white text-[40px] leading-[110%] font-semibold">
{title}
</p>
<p class="text-zinc-400 text-[16px] md:text-[18px] leading-[150%]">
{description}
</p>
Expand Down

0 comments on commit c567a98

Please sign in to comment.