This commit is contained in:
mr.sabri
2026-07-22 08:52:46 +03:30
parent 55ba2df7b6
commit 89fbd6d158
5 changed files with 124 additions and 94 deletions
+11 -9
View File
@@ -95,12 +95,12 @@ const Hero211 = ({ className }: Hero211Props) => {
<style>{css}</style>
<div className="container">
<div className="relative z-10 mx-auto flex max-w-2xl flex-col items-center justify-center gap-4">
<h1 className="font-calSans text-center text-2xll lg:text-2xll">
<h1 className="font-calSans text-center text-5xl leading-tight lg:text-6xl">
کمتر زمان صرف کنید، بیشتر بسازید
</h1>
</h1>
<p className="px-10 text-center text-muted-foreground lg:text-lg">
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایل‌دهی مدرن و ری یو آی که مستقیماً در پروژه‌های شما قابل استفاده هستند.
</p>
</p>
</div>
<div className="relative mt-16 flex h-full items-center justify-center">
@@ -145,30 +145,32 @@ const Hero211 = ({ className }: Hero211Props) => {
<div className="relative z-10 mx-auto mt-10 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"
/>