fix some bug in some blocks

This commit is contained in:
mr.sabri
2026-07-23 06:55:21 +03:30
parent 89fbd6d158
commit edb3e10469
65 changed files with 1565 additions and 1476 deletions
+9 -9
View File
@@ -19,11 +19,11 @@ const Hero233 = ({ className }: Hero233Props) => {
return (
<section
className={cn(
"relative h-screen w-screen overflow-hidden bg-background py-32",
"relative h-svh max-h-[1400px] min-h-[600px] w-full overflow-hidden bg-background py-32",
className,
)}
>
<div className="relative z-20 container flex flex-col items-center justify-center gap-4 py-10 text-center md:mt-22">
<div className="relative z-20 container flex min-w-0 flex-col items-center justify-center gap-4 py-10 text-center md:mt-22">
<div className="absolute -z-1 size-full max-w-3xl bg-background blur-xl" />
<Button
variant="secondary"
@@ -32,8 +32,8 @@ const Hero233 = ({ className }: Hero233Props) => {
<span className="size-2 rounded-full bg-foreground" />
<span>پلن مناسب برای هر تیم</span>
</Button>
<div className="relative flex max-w-4xl items-center justify-center text-center text-2xll font-medium tracking-tight md:text-2xll">
<h1 className="relative z-10">
<div className="relative flex w-full min-w-0 max-w-4xl items-center justify-center text-center text-2xll font-medium tracking-tight md:text-2xll">
<h1 className="relative z-10 text-balance break-words">
<span className="ms-3 text-muted-foreground/50">
تنها اپی که برای ماندن
</span>
@@ -43,10 +43,10 @@ const Hero233 = ({ className }: Hero233Props) => {
</h1>
</div>
<p className="mt-5 max-w-xl bg-background text-muted-foreground/80">
<p className="mt-5 max-w-xl text-balance bg-background text-muted-foreground/80">
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایل‌دهی مدرن و ری یو آی که مستقیماً در پروژه‌های شما قابل استفاده هستند.
</p>
<div className="my-5 flex gap-4">
</p>
<div className="my-5 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"
@@ -64,7 +64,7 @@ const Hero233 = ({ className }: Hero233Props) => {
</div>
</div>
<div className="absolute top-0 flex size-full justify-center">
<div className="pointer-events-none absolute inset-0 z-0 flex justify-center overflow-hidden">
{Array.from({ length: isMobile ? 7 : 18 }).map((_, i) => (
<motion.div
key={i}
@@ -75,7 +75,7 @@ const Hero233 = ({ className }: Hero233Props) => {
delay: i * 0.05,
ease: "easeOut",
}}
className="w-24 border-l bg-gradient-to-b to-transparent transition-all ease-in-out hover:scale-110 hover:from-black/2"
className="w-24 shrink-0 border-s bg-gradient-to-b to-transparent transition-all ease-in-out hover:scale-110 hover:from-black/2"
/>
))}
</div>