fix bug
This commit is contained in:
+11
-9
@@ -67,10 +67,10 @@ const Hero212 = ({ className }: Hero212Props) => {
|
||||
<div className="mx-auto flex max-w-2xl flex-col items-center justify-center gap-4">
|
||||
<p className="z-10 px-10 text-center tracking-tight text-muted-foreground/40 lg:text-lg">
|
||||
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایلدهی مدرن و ری یو آی
|
||||
</p>
|
||||
<h1 className="font-playfair text-center text-2xll tracking-tighter italic lg:text-2xll">
|
||||
</p>
|
||||
<h1 className="font-playfair text-center text-5xl leading-tight tracking-tighter italic lg:text-6xl">
|
||||
تجربهای متفاوت خلق کنید
|
||||
</h1>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div className="relative mt-16 flex h-full flex-col items-center justify-center">
|
||||
@@ -97,30 +97,32 @@ const Hero212 = ({ className }: Hero212Props) => {
|
||||
<div className="relative z-10 mx-auto mt-10 mb-12 flex w-fit justify-center">
|
||||
<Button className="rounded-full px-4 py-2 active:scale-105">
|
||||
شروع رایگان
|
||||
</Button>
|
||||
</Button>
|
||||
{/* RTL: sit to the left of the button so handwriting doesn't cover it */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, translateY: 20 }}
|
||||
animate={{ opacity: 1, translateY: 0 }}
|
||||
transition={{ duration: 0.3, delay: 1 }}
|
||||
className="absolute top-3 -right-30 h-1"
|
||||
className="pointer-events-none absolute top-0 -left-36 flex w-40 flex-col items-center sm:-left-44 sm:w-44"
|
||||
>
|
||||
<p className="font-handwriting text-xl tracking-tight">
|
||||
<p className="font-handwriting text-center text-lg leading-snug tracking-tight sm:text-xl">
|
||||
همین امروز نسخه رایگان را امتحان کنید
|
||||
</p>
|
||||
</p>
|
||||
<svg
|
||||
width="82"
|
||||
className="-translate-x-1/2 pe-4"
|
||||
height="45"
|
||||
viewBox="0 0 82 45"
|
||||
className="-mt-1 -scale-x-100"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
aria-hidden
|
||||
>
|
||||
<motion.path
|
||||
initial={{ pathLength: 0 }}
|
||||
animate={{ pathLength: 1 }}
|
||||
transition={{ duration: 1, delay: 1.2 }}
|
||||
d="M80.2759 1.95576C67.8687 20.6075 49.1102 55.0246 21.9767 39.1283C15.3299 35.2342 12.7124 29.0489 9.38472 22.4634C9.24096 22.1789 6.96955 15.0574 7.91833 15.4904C10.4589 16.65 25.535 23.253 15.8013 18.8782C14.7716 18.4154 8.31018 14.0924 7.25323 14.6265C4.37354 16.0816 2.6512 30.2469 1.58546 33.4898"
|
||||
stroke="#1C1C1C"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2.40332"
|
||||
strokeLinecap="round"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user