fix some bug in some blocks
This commit is contained in:
@@ -34,12 +34,12 @@ const Feature272 = ({ className }: Feature272Props) => {
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn(
|
||||
"dark h-full w-screen overflow-hidden bg-background py-32 text-foreground",
|
||||
"dark relative h-full w-full overflow-hidden bg-background py-32 text-foreground",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="relative z-20 container flex h-full flex-col items-center justify-center gap-10">
|
||||
<p className="text-sm tracking-wide text-muted-foreground">
|
||||
<div className="relative z-20 container flex h-full min-w-0 flex-col items-center justify-center gap-10">
|
||||
<p className="max-w-3xl text-center text-sm tracking-wide text-balance text-muted-foreground">
|
||||
پاسخهای آماده و پایگاه دانش، زمان پاسخ را کم میکند و کیفیت را در کل تیم یکسان نگه میدارد.
|
||||
</p>
|
||||
<h2 className="text-center text-2xll font-semibold tracking-tighter text-balance lg:text-2xll">
|
||||
@@ -48,11 +48,11 @@ const Feature272 = ({ className }: Feature272Props) => {
|
||||
<p className="max-w-3xl text-center text-pretty text-muted-foreground">
|
||||
رضایت مشتری و زمان حل را پیگیری کنید تا نقاط ضعف فرایند پشتیبانی را بهبود دهید.
|
||||
</p>
|
||||
<div className="relative grid grid-cols-1 md:grid-cols-3">
|
||||
<div className="relative grid w-full min-w-0 grid-cols-1 md:grid-cols-3">
|
||||
{STEPS.map((step, index) => (
|
||||
<div
|
||||
key={step.id}
|
||||
className="relative space-y-5 border p-10 text-start"
|
||||
className="relative min-w-0 space-y-5 border p-10 text-start"
|
||||
>
|
||||
<h3 className="text-xl font-semibold tracking-tighter">
|
||||
{step.title}
|
||||
@@ -61,14 +61,14 @@ const Feature272 = ({ className }: Feature272Props) => {
|
||||
{step.description}
|
||||
</p>
|
||||
{index < STEPS.length - 1 && (
|
||||
<div className="absolute start-1/2 -bottom-5 z-10 flex size-10 translate-x-1/2 rotate-90 items-center justify-center gap-2 rounded-full border bg-background md:top-1/2 md:-end-5 md:translate-x-0 md:-translate-y-1/2 md:rotate-0">
|
||||
<div className="absolute start-1/2 -bottom-5 z-10 flex size-10 -translate-x-1/2 rotate-90 items-center justify-center gap-2 rounded-full border bg-background rtl:translate-x-1/2 md:top-1/2 md:-end-5 md:start-auto md:translate-x-0 md:-translate-y-1/2 md:rotate-0 rtl:md:translate-x-0">
|
||||
<ArrowRight className="size-6 rtl:rotate-180" />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
<div className="absolute start-0 z-99 h-full w-10 bg-gradient-to-r from-background to-transparent rtl:bg-gradient-to-l" />
|
||||
<div className="absolute end-0 z-99 h-full w-10 bg-gradient-to-l from-background to-transparent rtl:bg-gradient-to-r" />
|
||||
<div className="pointer-events-none absolute start-0 z-10 h-full w-10 bg-gradient-to-r from-background to-transparent rtl:bg-gradient-to-l" />
|
||||
<div className="pointer-events-none absolute end-0 z-10 h-full w-10 bg-gradient-to-l from-background to-transparent rtl:bg-gradient-to-r" />
|
||||
</div>
|
||||
</div>
|
||||
<BackgroundBeams className="dark bg-background text-foreground" />
|
||||
|
||||
Reference in New Issue
Block a user