fix some bug in some blocks
This commit is contained in:
+15
-15
@@ -61,20 +61,20 @@ const Hero244 = ({ className }: Hero244Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative grid w-screen overflow-hidden border py-32 lg:min-h-screen",
|
||||
"relative grid w-full overflow-hidden border py-32 lg:min-h-[min(100svh,1400px)]",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="relative z-10 container h-full grid-cols-1 items-center justify-center gap-10 lg:grid lg:grid-cols-2">
|
||||
<div className="flex flex-col items-center justify-center text-center lg:items-start lg:text-start">
|
||||
<h1 className="font-calSans max-w-lg text-2xll">
|
||||
<div className="relative z-10 container grid h-full min-w-0 grid-cols-1 items-center justify-center gap-10 lg:grid-cols-2">
|
||||
<div className="flex min-w-0 flex-col items-center justify-center text-center lg:items-start lg:text-start">
|
||||
<h1 className="font-calSans max-w-lg text-balance text-2xll">
|
||||
کنترل کامل محصول سامانه ابری خود را در اختیار بگیرید
|
||||
</h1>
|
||||
<p className="mt-10 max-w-md text-muted-foreground">
|
||||
</h1>
|
||||
<p className="mt-10 max-w-md text-balance text-muted-foreground">
|
||||
صدها بلاک و کامپوننت آماده مبتنی بر رابط کاربری، استایلدهی مدرن و ری یو آی که مستقیماً در پروژههای شما قابل استفاده هستند.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<div className="mt-10 flex gap-5">
|
||||
<div className="mt-10 flex min-w-0 flex-wrap gap-5">
|
||||
<Button className="h-11 rounded-xl">
|
||||
دسترسی نامحدود <ArrowRight className="-rotate-45 rtl:rotate-180" />
|
||||
</Button>
|
||||
@@ -83,22 +83,22 @@ const Hero244 = ({ className }: Hero244Props) => {
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<DraggableCardContainer className="relative flex h-[80vh] w-full items-center justify-center lg:h-full">
|
||||
<p className="font-calSans absolute top-1/2 mx-auto max-w-sm -translate-y-3/4 text-center text-xl text-muted-foreground">
|
||||
<DraggableCardContainer className="relative flex h-[80vh] w-full min-w-0 items-center justify-center overflow-hidden lg:h-full">
|
||||
<p className="font-calSans absolute top-1/2 mx-auto max-w-sm -translate-y-3/4 px-4 text-center text-xl text-balance text-muted-foreground">
|
||||
به نسخه حرفهای کتابخانه کامپوننت دسترسی پیدا کنید
|
||||
</p>
|
||||
</p>
|
||||
{items.map((item) => (
|
||||
<DraggableCardBody
|
||||
key={item.title}
|
||||
className={cn(
|
||||
item.className,
|
||||
"-translate-x-20 scale-75 rounded-2xl p-3 lg:translate-x-0 lg:scale-100",
|
||||
"-translate-x-20 max-w-[min(100%,20rem)] scale-75 rounded-2xl p-3 lg:translate-x-0 lg:scale-100",
|
||||
)}
|
||||
>
|
||||
<img
|
||||
src={item.image}
|
||||
alt={item.title}
|
||||
className="pointer-events-none relative z-10 h-82 w-80 rounded-2xl object-cover"
|
||||
className="pointer-events-none relative z-10 h-82 w-full max-w-80 rounded-2xl object-cover"
|
||||
/>
|
||||
<h3 className="mt-4 text-center text-xl tracking-tighter">
|
||||
{item.title}
|
||||
@@ -107,9 +107,9 @@ const Hero244 = ({ className }: Hero244Props) => {
|
||||
))}
|
||||
</DraggableCardContainer>
|
||||
</div>
|
||||
<div className="absolute inset-0 flex h-full w-full items-center justify-between">
|
||||
<div className="pointer-events-none absolute inset-0 flex h-full w-full items-center justify-between overflow-hidden">
|
||||
{Array.from({ length: 7 }).map((_, index) => (
|
||||
<div key={index} className="h-full w-px bg-border"></div>
|
||||
<div key={index} className="h-full w-px bg-border" />
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user