Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,142 @@
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Hero18Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Hero18 = ({ className }: Hero18Props) => {
|
||||
return (
|
||||
<section className={cn("py-32", className)}>
|
||||
<div className="container flex flex-col items-center text-center">
|
||||
<h1 className="my-6 text-xl font-bold text-pretty lg:text-2xll">
|
||||
توسعه محصولات دیجیتال را سریعتر آغاز کنید
|
||||
</h1>
|
||||
<p className="mb-8 max-w-3xl text-muted-foreground lg:text-xl">
|
||||
بلاکهای آماده و زیبا برای سرعت بخشیدن به توسعه. کپی، چسباندن و انتشار
|
||||
بدون بازنویسی از صفر.
|
||||
</p>
|
||||
<div className="flex w-full flex-col justify-center gap-2 sm:flex-row">
|
||||
<Button className="w-full sm:w-auto">شروع رایگان</Button>
|
||||
<Button variant="outline" className="w-full sm:w-auto">
|
||||
مشاهده امکانات
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-12 aspect-video overflow-clip border-b border-border sm:mt-32 md:aspect-auto md:h-[420px]">
|
||||
<div className="relative mx-auto flex max-w-3xl flex-col">
|
||||
{/* Left icons */}
|
||||
<div className="absolute top-0 right-[calc(100%+63px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-1.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full object-cover object-center p-3 sm:rounded-md dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[52px] right-[calc(100%+195px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-2.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[144px] right-[calc(100%+34px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-3.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[164px] right-[calc(100%+268px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-4.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[240px] right-[calc(100%+156px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-5.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[340px] right-[calc(100%+242px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-6.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[366px] right-[calc(100%+66px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-1.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
{/* Right icons */}
|
||||
<div className="absolute top-0 left-[calc(100%+53px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-2.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[34px] left-[calc(100%+202px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-3.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[141px] left-[calc(100%+97px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-4.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[138px] left-[calc(100%+282px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-5.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[262px] left-[calc(100%+42px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-6.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[282px] left-[calc(100%+234px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-1.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute top-[365px] left-[calc(100%+112px)] hidden size-[64px] rounded-2xl bg-accent ring-1 ring-accent-foreground/10 ring-inset md:block">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/block-2.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="h-full w-full rounded-md object-cover object-center p-3 dark:invert"
|
||||
/>
|
||||
</div>
|
||||
{/* Hero images */}
|
||||
<div className="container mx-auto">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/placeholder-1.svg"
|
||||
alt="تصویر نمونه قهرمان"
|
||||
className="mt-6 flex aspect-square w-full flex-col items-center overflow-clip rounded-t-xl border border-border bg-accent sm:rounded-xl"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Hero18 };
|
||||
Reference in New Issue
Block a user