Files
reui-blocks/blocks/hero167.tsx
T

85 lines
3.9 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 Hero167Props {
className?: string;
}
const Hero167 = ({ className }: Hero167Props) => {
return (
<section
className={cn("overflow-hidden bg-background py-20 font-sans", className)}
>
<div className="container">
<div className="grid grid-cols-1 gap-x-10 gap-y-16 lg:grid-cols-2">
<div className="flex flex-col gap-12">
<div className="max-w-[31.25rem]">
<h1 className="mb-8 font-sans text-2xll font-semibold text-foreground md:text-2xll">
توانایی مراقبت را گسترش دهید
</h1>
<p className="text-xl text-muted-foreground">
ناکارآمدی‌ها را حذف و مراقبت از بیمار را با سیستم جامع بهداشت
و درمانی که گردش‌کار شما را یکپارچه و بهینه می‌کند، ارتقا دهید.
</p>
</div>
<div className="flex flex-col gap-3">
<Button
asChild
variant="outline"
className="group inline-flex h-fit w-fit flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
>
<a href="#">
<p className="text-sm font-medium text-black transition-colors group-hover:text-white">
برترین مراقبت مجازی
</p>
<ArrowRight className="size-4! stroke-black transition-colors group-hover:stroke-white rtl:rotate-180" />
</a>
</Button>
<Button
asChild
variant="outline"
className="group inline-flex h-fit w-fit flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
>
<a href="#">
<p className="text-sm font-medium text-black transition-colors group-hover:text-white">
برترین هوش مصنوعی گفتگومحور
</p>
<ArrowRight className="size-4! stroke-black transition-colors group-hover:stroke-white rtl:rotate-180" />
</a>
</Button>
</div>
</div>
<div className="">
<div className="relative -me-8 h-[25rem] min-w-[50vw] rounded-lg bg-linear-to-b from-[#fbf7ec] to-[#e2f1ee] md:h-[45.625rem]">
<div className="absolute top-16 left-24 w-[26.25rem] overflow-hidden rounded-lg shadow-lg md:top-32 md:left-40 md:w-[42.5rem] md:rounded-xl lg:left-24 lg:w-[46.25rem]">
<AspectRatio ratio={1.466424682 / 1}>
<img
src="/block-media/shadcnblocks/block/placeholder-1.svg"
alt="تصویر نمونه"
className="size-full object-cover object-center"
/>
</AspectRatio>
</div>
<div className="absolute bottom-4 left-32 w-full max-w-[8.75rem] overflow-hidden rounded-md shadow-xl md:left-72 md:max-w-[16.5625rem] md:rounded-xl lg:bottom-10 lg:left-52 xl:left-32">
<AspectRatio ratio={1.698717949 / 1}>
<img
src="/block-media/shadcnblocks/block/placeholder-dark-4.svg"
alt="تصویر نمونه"
className="size-full object-cover object-center"
/>
</AspectRatio>
</div>
</div>
</div>
</div>
</div>
</section>
);
};
export { Hero167 };