fix some bug in some blocks
This commit is contained in:
+33
-38
@@ -16,27 +16,23 @@ const DATA: DataItem[] = [
|
||||
{
|
||||
id: "simplify-workflow",
|
||||
title: "سطح دسترسی",
|
||||
description:
|
||||
"گزارش سفارشی را بدون SQL بسازید و سریع منتشر کنید.",
|
||||
description: "گزارش سفارشی را بدون SQL بسازید و سریع منتشر کنید.",
|
||||
icon: <Workflow />,
|
||||
className: "absolute top-0.5 cursor-pointer",
|
||||
className: "lg:mt-0",
|
||||
},
|
||||
{
|
||||
id: "eliminate-clunky-tools",
|
||||
title: "تحلیل پیشبین",
|
||||
description:
|
||||
"ابعاد مختلف را بچرخانید و الگوی پنهان را پیدا کنید.",
|
||||
description: "ابعاد مختلف را بچرخانید و الگوی پنهان را پیدا کنید.",
|
||||
icon: <Wrench />,
|
||||
className:
|
||||
"absolute -end-4 top-5 cursor-pointer xl:end-5 xl:top-0",
|
||||
className: "lg:mt-10",
|
||||
},
|
||||
{
|
||||
id: "connect-workflows",
|
||||
title: "اشتراک گزارش",
|
||||
description:
|
||||
"نمای اجرایی برای تصمیمهای سریع طراحی کنید.",
|
||||
description: "نمای اجرایی برای تصمیمهای سریع طراحی کنید.",
|
||||
icon: <Cable />,
|
||||
className: "absolute bottom-2 start-[25%] cursor-pointer",
|
||||
className: "lg:mt-4",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -52,15 +48,20 @@ const CardComponent = ({
|
||||
className?: string;
|
||||
}) => {
|
||||
return (
|
||||
<div className={className}>
|
||||
<Card className="flex max-w-lg transform items-center gap-4 rounded-2xl p-6 text-start shadow-lg transition-transform hover:scale-105">
|
||||
<div className="shrink-0 rounded-full bg-muted p-3.5">{icon}</div>
|
||||
<div className="font-semibold">
|
||||
<p>{title}</p>
|
||||
<p className="text-pretty text-muted-foreground">{description}</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
<Card
|
||||
className={cn(
|
||||
"flex w-full max-w-lg transform items-center gap-4 rounded-2xl p-6 text-start shadow-lg transition-transform hover:scale-105",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="shrink-0 rounded-full bg-muted p-3.5">{icon}</div>
|
||||
<div className="min-w-0 font-semibold">
|
||||
<p className="text-balance break-words">{title}</p>
|
||||
<p className="text-pretty break-words text-muted-foreground">
|
||||
{description}
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -70,30 +71,24 @@ interface Feature198Props {
|
||||
|
||||
const Feature198 = ({ className }: Feature198Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<div className="relative py-20 md:py-24 lg:py-28">
|
||||
<h2 className="mx-auto max-w-5xl text-center text-2xll font-medium text-balance sm:text-2xll lg:text-2xll xl:text-[85px]">
|
||||
<section
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn("relative w-full min-w-0 overflow-hidden py-32", className)}
|
||||
>
|
||||
<div className="container min-w-0">
|
||||
<div className="relative flex w-full min-w-0 flex-col gap-12 py-12 md:gap-16 md:py-16 lg:py-20">
|
||||
<h2 className="mx-auto max-w-5xl text-center text-3xl font-medium text-balance sm:text-4xl md:text-5xl lg:text-6xl xl:text-7xl">
|
||||
<span className="text-muted-foreground">
|
||||
ابزارهای شما باید با کسبوکار شما سازگار شوند.{" "}
|
||||
</span>
|
||||
<span>داشبوردهای تعاملی به تیمها اجازه میدهد سؤال جدید بپرسند بدون اینکه هر بار به تیم داده وابسته باشند.</span>
|
||||
<span>
|
||||
داشبوردهای تعاملی به تیمها اجازه میدهد سؤال جدید بپرسند بدون
|
||||
اینکه هر بار به تیم داده وابسته باشند.
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<div className="lg:hidden">
|
||||
<div className="grid translate-y-4 justify-items-center gap-2">
|
||||
{DATA.map((card) => (
|
||||
<CardComponent
|
||||
key={card.id}
|
||||
title={card.title}
|
||||
description={card.description}
|
||||
icon={card.icon}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="absolute inset-0 max-lg:hidden">
|
||||
<div className="mx-auto grid w-full min-w-0 max-w-6xl justify-items-center gap-4 sm:gap-6 lg:grid-cols-3 lg:items-start lg:gap-8">
|
||||
{DATA.map((card) => (
|
||||
<CardComponent
|
||||
key={card.id}
|
||||
|
||||
Reference in New Issue
Block a user