47 lines
2.5 KiB
TypeScript
47 lines
2.5 KiB
TypeScript
import { ArrowRight } from "lucide-react";
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Hero39Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Hero39 = ({ className }: Hero39Props) => {
|
|
return (
|
|
<section className={cn("", className)}>
|
|
<div className="container flex flex-col items-center">
|
|
<div className="2xl:w-[calc(min(100vw-2*theme(container.padding),100%+8rem))] w-full overflow-clip rounded-lg bg-accent/50">
|
|
<div className="grid items-center gap-8 lg:grid-cols-2">
|
|
<div className="container flex flex-col items-center px-[4rem] py-16 text-center lg:mx-auto lg:items-start lg:px-[4rem] lg:py-32 lg:text-start">
|
|
<p>نسخه جدید منتشر شد</p>
|
|
<h1 className="my-6 text-xl font-bold text-pretty lg:text-2xll">
|
|
توسعه محصولات دیجیتال را سریعتر آغاز کنید
|
|
</h1>
|
|
<p className="mb-8 max-w-xl text-muted-foreground lg:text-xl">
|
|
بلاکهای آماده را متناسب با نیاز خود سفارشیسازی کنید و بدون شروع از صفر، پروژه را توسعه دهید.
|
|
</p>
|
|
<div className="flex w-full flex-col justify-center gap-2 sm:flex-row lg:justify-start">
|
|
<Button className="w-full sm:w-auto">
|
|
<ArrowRight className="me-2 size-4 rtl:rotate-180" />
|
|
شروع رایگان
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col items-center justify-center">
|
|
<div className="relative aspect-7/8 h-full w-full">
|
|
<div className="absolute top-[12%] right-[50%] flex aspect-square w-[24%] justify-center rounded-lg border border-border bg-accent"></div>
|
|
<div className="absolute top-[36%] right-[50%] flex aspect-5/6 w-[40%] justify-center rounded-lg border border-border bg-accent"></div>
|
|
<div className="absolute bottom-[36%] left-[54%] flex aspect-5/6 w-[40%] justify-center rounded-lg border border-border bg-accent"></div>
|
|
<div className="absolute bottom-[12%] left-[54%] flex aspect-square w-[24%] justify-center rounded-lg border border-border bg-accent"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Hero39 };
|