fix some bug in some blocks
This commit is contained in:
+27
-18
@@ -37,25 +37,34 @@ interface Feature98Props {
|
||||
|
||||
const Feature98 = ({ className }: Feature98Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div>
|
||||
<div className="container">
|
||||
<div className="grid gap-8 lg:grid-cols-5 lg:gap-20">
|
||||
<div className="lg:col-span-3">
|
||||
<p className="text-lg text-muted-foreground">
|
||||
<section
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn("relative w-full overflow-hidden py-32", className)}
|
||||
>
|
||||
<div className="min-w-0">
|
||||
<div className="container min-w-0">
|
||||
<div className="grid min-w-0 gap-8 lg:grid-cols-5 lg:gap-20">
|
||||
<div className="min-w-0 lg:col-span-3">
|
||||
<p className="text-balance text-lg text-muted-foreground">
|
||||
گزارشهای بصری نشان میدهند کدام اقدام بیشترین اثر را روی درآمد و نگهداشت مشتری داشته است.
|
||||
</p>
|
||||
<h2 className="mt-6 text-xl lg:text-2xll">
|
||||
<h2 className="mt-6 text-balance text-xl lg:text-2xll">
|
||||
داده پراکنده را به تصمیم تبدیل کنید
|
||||
</h2>
|
||||
</div>
|
||||
<div className="lg:col-span-2">
|
||||
<p className="text-lg text-muted-foreground">
|
||||
<div className="min-w-0 lg:col-span-2">
|
||||
<p className="text-balance text-lg text-muted-foreground">
|
||||
داده فروش، بازاریابی و پشتیبانی در داشبوردهای یکپارچه جمع میشود. مدیران بدون انتظار گزارش دستی، وضعیت واقعی کسبوکار را میبینند.
|
||||
</p>
|
||||
<div className="mt-10 flex gap-2">
|
||||
<Button size="lg">شاخصهای مهم را شخصیسازی کنید و تغییرات غیرعادی را زودتر تشخیص دهید. تیمها با دید مشترک، سریعتر همراستا میشوند.</Button>
|
||||
<Button size="lg" variant="secondary">
|
||||
<div className="mt-10 flex min-w-0 flex-wrap gap-2">
|
||||
<Button
|
||||
size="lg"
|
||||
className="h-auto max-w-full whitespace-normal text-balance"
|
||||
>
|
||||
شاخصهای مهم را شخصیسازی کنید و تغییرات غیرعادی را زودتر تشخیص دهید. تیمها با دید مشترک، سریعتر همراستا میشوند.
|
||||
</Button>
|
||||
<Button size="lg" variant="secondary" className="shrink-0">
|
||||
تحلیل داده
|
||||
</Button>
|
||||
</div>
|
||||
@@ -63,17 +72,17 @@ const Feature98 = ({ className }: Feature98Props) => {
|
||||
</div>
|
||||
</div>
|
||||
<Separator className="mt-24 mb-6" />
|
||||
<div className="container grid gap-8 lg:grid-cols-3">
|
||||
<div className="container grid min-w-0 gap-8 lg:grid-cols-3">
|
||||
{cards.map((card) => (
|
||||
<a
|
||||
key={card.title}
|
||||
href={card.href}
|
||||
className="group relative grid overflow-hidden sm:grid-cols-2 lg:grid-cols-1"
|
||||
className="group relative grid min-w-0 overflow-hidden sm:grid-cols-2 lg:grid-cols-1"
|
||||
>
|
||||
<div className="absolute start-0 top-0 z-20 flex w-full justify-between gap-2 p-6 text-background sm:bottom-0 sm:start-1/2 sm:w-1/2 sm:flex-col lg:bottom-auto lg:start-0 lg:w-full lg:flex-row lg:items-center">
|
||||
<div>
|
||||
<div className="absolute start-0 top-0 z-20 flex w-full min-w-0 justify-between gap-2 p-6 text-background sm:bottom-0 sm:start-1/2 sm:w-1/2 sm:flex-col lg:bottom-auto lg:start-0 lg:w-full lg:flex-row lg:items-center">
|
||||
<div className="min-w-0">
|
||||
<h3 className="text-lg font-medium">{card.title}</h3>
|
||||
<p>{card.description}</p>
|
||||
<p className="text-balance">{card.description}</p>
|
||||
</div>
|
||||
<span className="flex size-12 shrink-0 items-center justify-center rounded-full bg-background text-primary sm:self-end lg:size-14 lg:self-auto">
|
||||
<ArrowRight className="rtl:rotate-180" />
|
||||
@@ -82,7 +91,7 @@ const Feature98 = ({ className }: Feature98Props) => {
|
||||
<img
|
||||
src={card.image}
|
||||
alt={card.imageAlt}
|
||||
className="scale-105 transition-all duration-500 group-hover:scale-[1.1]"
|
||||
className="max-w-full scale-105 transition-all duration-500 group-hover:scale-[1.1]"
|
||||
/>
|
||||
<div className="z-10 bg-primary" />
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user