fix some bug in some blocks
This commit is contained in:
+10
-10
@@ -16,12 +16,12 @@ const Hero232 = ({ className }: Hero232Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative h-screen w-screen 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 items-center justify-center">
|
||||
<div className="flex w-fit flex-col items-center justify-center gap-4 bg-background pb-3 text-center">
|
||||
<div className="relative z-20 container flex min-w-0 items-center justify-center">
|
||||
<div className="flex w-full min-w-0 max-w-4xl flex-col items-center justify-center gap-4 bg-background pb-3 text-center">
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="text-md group mt-24 flex w-fit items-center justify-center gap-3 rounded-full bg-muted/60 px-5 py-1 tracking-tight"
|
||||
@@ -29,8 +29,8 @@ const Hero232 = ({ className }: Hero232Props) => {
|
||||
<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 tracking-tighter">
|
||||
<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 tracking-tighter">
|
||||
<span className="ms-3 text-muted-foreground/50">
|
||||
تنها اپی که برای ماندن
|
||||
</span>
|
||||
@@ -40,10 +40,10 @@ const Hero232 = ({ className }: Hero232Props) => {
|
||||
</h1>
|
||||
<div className="absolute z-9 h-[105%] w-[85%] bg-background" />
|
||||
</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="flex gap-4">
|
||||
</p>
|
||||
<div className="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"
|
||||
@@ -66,14 +66,14 @@ const Hero232 = ({ className }: Hero232Props) => {
|
||||
initial={{ opacity: 0, y: -100 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute top-6 left-0 hidden text-orange-500 lg:block"
|
||||
className="pointer-events-none absolute top-6 left-0 hidden max-w-[40%] text-orange-500 lg:block"
|
||||
/>
|
||||
|
||||
<Illustration1
|
||||
initial={{ opacity: 0, y: -100 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 1, ease: [0, 0, 0, 1.12] }}
|
||||
className="absolute top-32 right-0 hidden scale-x-[-1] scale-y-[-1] text-orange-500 lg:block"
|
||||
className="pointer-events-none absolute top-32 right-0 hidden max-w-[40%] scale-x-[-1] scale-y-[-1] text-orange-500 lg:block"
|
||||
/>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user