fix some bug in some blocks
This commit is contained in:
+11
-11
@@ -15,11 +15,11 @@ const Hero229 = ({ className }: Hero229Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative h-[100dvh] w-[100dvw] overflow-hidden border bg-background py-32",
|
||||
"relative h-[100dvh] max-h-[1400px] min-h-[600px] w-full overflow-hidden border bg-background py-32",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="relative z-20 container flex flex-col items-center justify-center gap-4 text-center">
|
||||
<div className="relative z-20 container flex min-w-0 flex-col items-center justify-center gap-4 text-center">
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="text-md group mt-42 flex w-fit items-center justify-center gap-3 rounded-full bg-muted/60 px-5 py-1 tracking-tight"
|
||||
@@ -27,13 +27,13 @@ const Hero229 = ({ className }: Hero229Props) => {
|
||||
<span className="size-2 rounded-full bg-foreground" />
|
||||
<span>مشاهده پلنها</span>
|
||||
</Button>
|
||||
<h1 className="max-w-3xl text-2xll font-medium tracking-tighter text-foreground md:text-2xll">
|
||||
<h1 className="max-w-3xl text-balance text-2xll font-medium tracking-tighter text-foreground md:text-2xll">
|
||||
مجموعه بلاکهای آماده <br /> برای رابط کاربری و استایلدهی مدرن
|
||||
</h1>
|
||||
<p className="mt-5 max-w-xl text-muted-foreground/80">
|
||||
</h1>
|
||||
<p className="mt-5 max-w-xl text-balance text-muted-foreground/80">
|
||||
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایلدهی مدرن و ری یو آی که مستقیماً در پروژههای شما قابل استفاده هستند.
|
||||
</p>
|
||||
<div className="flex gap-4">
|
||||
</p>
|
||||
<div className="flex min-w-0 flex-wrap items-center justify-center gap-4">
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="text-md group flex w-fit items-center justify-center gap-2 rounded-full px-4 py-1 tracking-tight"
|
||||
@@ -55,25 +55,25 @@ const Hero229 = ({ className }: Hero229Props) => {
|
||||
initial={{ opacity: 0, y: -100 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute top-0 left-1/2 -translate-x-1/2"
|
||||
className="pointer-events-none absolute top-0 left-1/2 max-w-full -translate-x-1/2"
|
||||
/>
|
||||
<Illustration1
|
||||
initial={{ opacity: 0, y: -100 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute bottom-0 left-1/2 -translate-x-1/2 scale-y-[-1]"
|
||||
className="pointer-events-none absolute bottom-0 left-1/2 max-w-full -translate-x-1/2 scale-y-[-1]"
|
||||
/>
|
||||
<Illustration2
|
||||
initial={{ opacity: 0, x: -100 }}
|
||||
animate={{ opacity: 1, x: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute top-1/2 left-0 z-99 hidden -translate-y-1/2 md:block"
|
||||
className="pointer-events-none absolute top-1/2 left-0 z-10 hidden max-w-[30%] -translate-y-1/2 md:block"
|
||||
/>
|
||||
<Illustration2
|
||||
initial={{ opacity: 0, x: -100 }}
|
||||
animate={{ opacity: 1, x: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute top-1/2 right-0 z-99 hidden -translate-y-1/2 scale-x-[-1] md:block"
|
||||
className="pointer-events-none absolute top-1/2 right-0 z-10 hidden max-w-[30%] -translate-y-1/2 scale-x-[-1] md:block"
|
||||
/>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user