88 lines
4.1 KiB
TypeScript
88 lines
4.1 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(
|
|
"relative w-full overflow-hidden bg-background py-20 font-sans",
|
|
className,
|
|
)}
|
|
>
|
|
<div className="container min-w-0">
|
|
<div className="grid grid-cols-1 gap-x-10 gap-y-16 lg:grid-cols-2">
|
|
<div className="flex min-w-0 flex-col gap-12">
|
|
<div className="max-w-[31.25rem] min-w-0">
|
|
<h1 className="mb-8 font-sans text-2xll font-semibold text-balance break-words text-foreground md:text-2xll">
|
|
توانایی مراقبت را گسترش دهید
|
|
</h1>
|
|
<p className="text-balance 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 max-w-full 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 max-w-full 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="min-w-0">
|
|
<div className="relative h-[25rem] w-full min-w-0 overflow-hidden rounded-lg bg-linear-to-b from-[#fbf7ec] to-[#e2f1ee] md:h-[45.625rem]">
|
|
<div className="absolute top-16 start-6 w-[min(100%-1.5rem,26.25rem)] overflow-hidden rounded-lg shadow-lg md:top-32 md:start-10 md:w-[min(100%-2.5rem,42.5rem)] md:rounded-xl lg:start-6 lg:w-[min(100%-1.5rem,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 start-8 w-full max-w-[8.75rem] overflow-hidden rounded-md shadow-xl md:start-16 md:max-w-[16.5625rem] md:rounded-xl lg:bottom-10 lg:start-12 xl:start-8">
|
|
<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 };
|