Files
reui-blocks/blocks/hero79.tsx
T

47 lines
1.6 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 h-svh w-svw 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 flex-col justify-between px-5 xl:px-20">
<img
src="/block-media/shadcnblocks/block/block-white-1.svg"
alt=""
className="size-20"
/>
<div className="flex items-end justify-between">
<div className="flex w-full flex-col gap-8 md:w-2/3">
<h1 className="text-2xll font-medium text-foreground md:text-[5.8rem]">
خط تولید فیبر نوری خود را راه‌اندازی کنید
</h1>
<p className="text-xl text-foreground md:text-xl">
راهکارهای صنعتی با شبکه تأمین و تولید بین‌المللی.
</p>
</div>
<Button
variant="ghost"
className="hidden 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 };