fix some bug in some blocks
This commit is contained in:
+12
-14
@@ -66,27 +66,27 @@ const Hero236 = ({ className }: Hero236Props) => {
|
||||
|
||||
return (
|
||||
<section
|
||||
className={cn("relative w-screen overflow-hidden py-32", className)}
|
||||
className={cn("relative w-full overflow-hidden py-32", className)}
|
||||
>
|
||||
<div className="container flex flex-col lg:flex-row">
|
||||
<div className="mt-10 space-y-12 lg:w-1/2">
|
||||
<div className="container mx-auto flex min-w-0 flex-col items-center lg:flex-row lg:items-center lg:justify-between">
|
||||
<div className="mt-10 w-full min-w-0 space-y-12 lg:w-1/2">
|
||||
<p className="w-fit rounded-full bg-muted px-4 py-1 text-sm uppercase">
|
||||
چرا ما؟
|
||||
</p>
|
||||
<h1 className="font-calSans mt-3 max-w-lg text-2xll font-medium lg:text-2xll">
|
||||
<h1 className="font-calSans mt-3 max-w-lg text-balance text-2xll font-medium lg:text-2xll">
|
||||
<span className="opacity-30">همه کامپوننتهایی</span> که نیاز دارید
|
||||
</h1>
|
||||
<p className="max-w-lg text-lg text-muted-foreground">
|
||||
<p className="max-w-lg text-balance text-lg text-muted-foreground">
|
||||
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایلدهی مدرن و ری یو آی که مستقیماً در پروژههای شما قابل استفاده هستند.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<ul className="mt-18 flex flex-wrap gap-9">
|
||||
{stats.map((stat, index) => (
|
||||
<li key={stat.title} className="flex items-center gap-4">
|
||||
<div className="flex size-12 items-center justify-center rounded-2xl border md:size-18">
|
||||
<li key={stat.title} className="flex min-w-0 items-center gap-4">
|
||||
<div className="flex size-12 shrink-0 items-center justify-center rounded-2xl border md:size-18">
|
||||
{stat.icon}
|
||||
</div>
|
||||
<div>
|
||||
<div className="min-w-0">
|
||||
<h2 className="font-calSans text-xl font-medium md:text-3xl">
|
||||
{stat.title}
|
||||
</h2>
|
||||
@@ -99,10 +99,8 @@ const Hero236 = ({ className }: Hero236Props) => {
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
<div className="flex h-[500px] w-full items-center justify-center overflow-hidden lg:w-1/2">
|
||||
<div className="absolute flex h-full w-full items-center justify-center">
|
||||
<IconCloud images={images} />
|
||||
</div>
|
||||
<div className="relative flex h-[500px] w-full min-w-0 items-center justify-center overflow-hidden lg:w-1/2">
|
||||
<IconCloud images={images} />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -431,7 +429,7 @@ export function IconCloud({ icons, images }: IconCloudProps) {
|
||||
onMouseMove={handleMouseMove}
|
||||
onMouseUp={handleMouseUp}
|
||||
onMouseLeave={handleMouseUp}
|
||||
className="rounded-lg"
|
||||
className="max-h-full max-w-full rounded-lg"
|
||||
aria-label="ابر آیکون سهبعدی تعاملی"
|
||||
role="img"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user