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

47 lines
1.7 KiB
TypeScript

import { ArrowDown } from "lucide-react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
interface Hero79Props {
className?: string;
}
const Hero79 = ({ className }: Hero79Props) => {
return (
<section
className={cn(
"dark relative flex h-svh max-h-[1400px] min-h-[600px] w-full overflow-hidden bg-background bg-[url('/block-media/shadcnblocks/block/full-width-backgrounds/andrew-kliatskyi-MaVm_A0xhKk-unsplash.jpg')] bg-cover bg-center bg-no-repeat pt-12 pb-24",
className,
)}
>
<div className="container flex h-full min-w-0 flex-col justify-between px-5 xl:px-20">
<img
src="/block-media/shadcnblocks/block/block-white-1.svg"
alt=""
className="size-20 shrink-0"
/>
<div className="flex min-w-0 items-end justify-between gap-4">
<div className="flex min-w-0 w-full flex-col gap-8 md:w-2/3">
<h1 className="text-balance break-words text-2xll font-medium leading-tight text-foreground md:text-5xl lg:text-6xl xl:text-[5.8rem]">
خط تولید فیبر نوری خود را راه‌اندازی کنید
</h1>
<p className="text-balance text-xl text-foreground md:text-xl">
راهکارهای صنعتی با شبکه تأمین و تولید بین‌المللی.
</p>
</div>
<Button
variant="ghost"
className="hidden shrink-0 items-center gap-2 text-foreground hover:bg-transparent md:flex"
>
<span className="text-xl">بیشتر بخوانید</span>
<ArrowDown className="size-6!" />
</Button>
</div>
</div>
</section>
);
};
export { Hero79 };