Files
reui-blocks/blocks/hero168.tsx
T
2026-07-23 06:55:21 +03:30

61 lines
2.9 KiB
TypeScript

import { ArrowRight } from "lucide-react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
interface Hero168Props {
className?: string;
}
const Hero168 = ({ className }: Hero168Props) => {
return (
<section className={cn("relative w-full overflow-hidden py-32", className)}>
<div className="container min-w-0">
<div className="flex min-w-0 flex-col items-start justify-between gap-8 md:flex-row xl:gap-20">
<div className="flex w-full min-w-0 flex-col items-start text-start">
<h1 className="mb-8 text-xl font-normal text-pretty text-balance break-words md:text-2xll">
راهکارهای هوشمند برای رشد کسب‌وکار
</h1>
<p className="mb-12 max-w-[70%] text-balance text-xl font-normal text-muted-foreground">
با استفاده از ابزارهای یکپارچه و هوشمند، بهره‌وری تیم را افزایش دهید و فرایندهای کاری را ساده‌تر کنید.
</p>
<div className="flex w-full justify-start md:justify-start">
<Button className="px-5 py-3" variant="outline">
شروع رایگان <ArrowRight className="ms-2 size-4 rtl:rotate-180" />
</Button>
</div>
</div>
<div className="relative flex h-[600px] w-full min-w-0 overflow-hidden rounded-md sm:h-[750px]">
<div className="absolute inset-0 flex rounded-md bg-linear-to-b from-muted/50 to-muted">
<img
src="/block-media/shadcnblocks/block/placeholder-dark-1.svg"
alt="تصویر نمونه"
className="my-auto ms-8 block h-4/6 w-auto max-w-[min(100%,20rem)] rounded-md object-cover md:ms-20 md:max-w-none md:w-2/5"
/>
<div className="absolute top-1/2 start-2 md:start-4 lg:start-8">
<img
src="/block-media/shadcnblocks/block/placeholder-dark-2.svg"
alt="تصویر نمونه"
className="mb-6 h-[134px] w-[230px] max-w-full rounded-lg object-cover shadow-md lg:h-[142px] lg:w-[265px]"
/>
<img
src="/block-media/shadcnblocks/block/placeholder-dark-3.svg"
alt="تصویر نمونه"
className="h-[115px] w-[230px] max-w-full rounded-lg bg-muted shadow-md lg:h-[122px] lg:w-[265px]"
/>
</div>
<img
src="/block-media/shadcnblocks/block/placeholder-dark-3.svg"
alt="تصویر نمونه"
className="absolute bottom-[70%] start-2 h-[146px] w-[230px] max-w-full rounded-lg bg-muted shadow-md md:bottom-10 md:start-1/4 lg:h-[156px] lg:w-[265px] 2xl:start-32"
/>
</div>
</div>
</div>
</div>
</section>
);
};
export { Hero168 };