Files
reui-blocks/blocks/hero49.tsx
T

57 lines
2.3 KiB
TypeScript

import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
interface Hero49Props {
className?: string;
}
const Hero49 = ({ className }: Hero49Props) => {
return (
<section className={cn("bg-background", className)}>
<div className="container mx-auto flex flex-col items-center px-4 pt-10">
<div className="flex max-w-3xl flex-col items-center gap-8 text-center">
<h1 className="text-2xll font-semibold text-foreground lg:text-8xl">
مدیریت مالی را هوشمندانه‌تر انجام دهید
</h1>
<p className="text-4 max-w-xl leading-[165%] tracking-tight text-muted-foreground">
هزینه‌ها، درآمدها و بودجه خود را در یک داشبورد مدیریت کنید و با تحلیل‌های هوشمند تصمیم‌های مالی دقیق‌تری بگیرید.
</p>
<Button className="flex h-fit w-fit items-center gap-[8px] rounded-full px-8 py-5 text-base font-medium transition-all hover:scale-95">
<img
alt="آیکون‌های دانلود فروشگاه اندروید و فروشگاه آی‌اواس"
loading="lazy"
width="44"
height="18"
decoding="async"
data-nimg="1"
src="/block-media/shadcnblocks/block/hero49/download.svg"
/>
<p>همین امروز شروع کنید</p>
</Button>
</div>
<div className="relative translate-x-[14.7%]">
{/* Image inside Iphone */}
<div className="absolute top-[12%] left-[36.5%]! h-[67%]! w-[31%]! -translate-x-[52%] overflow-hidden rounded-[10px] bg-muted">
<img
className="min-h-full min-w-full"
src="/block-media/shadcnblocks/block/placeholder-dark-7-tall.svg"
alt=""
/>
</div>
{/* Iphone Image */}
<img
alt=""
src="/block-media/shadcnblocks/block/hero49/iphone.png"
className="relative z-10"
loading="lazy"
width="1008.71"
height="857"
/>
</div>
</div>
</section>
);
};
export { Hero49 };