55 lines
2.3 KiB
TypeScript
55 lines
2.3 KiB
TypeScript
import { ArrowRight } from "lucide-react";
|
|
|
|
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
|
import { Button } from "@/components/ui/button";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Feature218Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Feature218 = ({ className }: Feature218Props) => {
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn("bg-background py-32", className)}>
|
|
<div className="border-b">
|
|
<div className="container flex w-full flex-col gap-6">
|
|
<h2 className="font-serif text-2xll leading-[1.1] tracking-tight text-balance text-foreground md:text-2xll lg:text-8xl">
|
|
فروش آنلاین را مقیاسپذیر کنید
|
|
</h2>
|
|
<div className="grid w-full gap-4 xl:grid-cols-[.33fr_.66fr]">
|
|
<div className="flex flex-col gap-11 text-start">
|
|
<p className="text-xl leading-[1.6] text-pretty text-muted-foreground">
|
|
مسیر خرید را بهینه کنید تا سبد رها شده کمتر شود. پیشنهاد هوشمند محصول، میانگین سفارش را بالا میبرد.
|
|
</p>
|
|
<div>
|
|
<Button asChild size="lg" className="w-full gap-2 md:w-fit">
|
|
<a href="#">
|
|
ارتقا به حرفهای
|
|
<ArrowRight className="size-4 rtl:rotate-180" />
|
|
</a>
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
<div className="pt-10 xl:pt-20">
|
|
<div className="relative ms-auto w-full max-w-[50rem] after:absolute after:top-0 after:end-0 after:z-20 after:block after:h-full after:w-1/3 after:rounded-te-2xl after:bg-linear-90 after:from-transparent after:to-background after:content-[''] rtl:after:bg-linear-270">
|
|
<AspectRatio
|
|
ratio={1.932}
|
|
className="w-full overflow-hidden rounded-ts-2xl rounded-te-2xl"
|
|
>
|
|
<img
|
|
src="/block-media/shadcnblocks/block/placeholder-dark-1.svg"
|
|
alt="مدیریت سفارش"
|
|
className="block size-full object-cover object-[50%_0%]"
|
|
/>
|
|
</AspectRatio>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Feature218 };
|