six bug
This commit is contained in:
+29
-19
@@ -60,55 +60,65 @@ interface Feature105Props {
|
||||
|
||||
const Feature105 = ({ className }: Feature105Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<div className="mx-auto flex max-w-3xl flex-col items-center gap-4">
|
||||
<section
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn(
|
||||
"relative w-full max-w-full overflow-hidden py-32",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="container min-w-0 max-w-full">
|
||||
<div className="mx-auto flex w-full min-w-0 max-w-3xl flex-col items-center gap-4">
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="flex items-center gap-1 px-2.5 py-1.5 text-sm"
|
||||
>
|
||||
<Flag className="h-auto w-4" />
|
||||
<Flag className="size-4 shrink-0" />
|
||||
ERP
|
||||
</Badge>
|
||||
<h2 className="text-center text-3xl font-semibold tracking-tight text-balance lg:text-xl">
|
||||
<h2 className="max-w-full text-center text-3xl font-semibold tracking-tight text-balance break-words lg:text-xl">
|
||||
عملیات سازمان را یکپارچه کنید
|
||||
</h2>
|
||||
<p className="text-center text-pretty text-muted-foreground lg:text-lg">
|
||||
گزارشهای یکپارچه نشان میدهد کدام بخش بیشترین تأثیر را روی سودآوری دارد.
|
||||
<p className="max-w-full text-center text-pretty break-words text-muted-foreground lg:text-lg">
|
||||
گزارشهای یکپارچه نشان میدهد کدام بخش بیشترین تأثیر را روی سودآوری
|
||||
دارد.
|
||||
</p>
|
||||
</div>
|
||||
<div className="mx-auto mt-14 max-w-7xl">
|
||||
<Tabs defaultValue={DEFAULT_TAB}>
|
||||
<div className="max-w-[100vw-4rem] overflow-x-auto overflow-y-hidden">
|
||||
<div className="mx-auto mt-14 w-full min-w-0 max-w-7xl">
|
||||
<Tabs defaultValue={DEFAULT_TAB} className="w-full min-w-0">
|
||||
<div className="w-full min-w-0 max-w-full overflow-x-auto overflow-y-hidden">
|
||||
<TabsList
|
||||
variant="line"
|
||||
className="!h-auto w-full justify-start gap-0 rounded-none border-b border-border bg-transparent p-0"
|
||||
className="!h-auto w-max min-w-full justify-start gap-0 rounded-none border-b border-border bg-transparent p-0"
|
||||
>
|
||||
{TABS.map(({ icon: Icon, label }, index) => (
|
||||
<TabsTrigger
|
||||
key={label}
|
||||
key={`${label}-${index}`}
|
||||
value={index.toString()}
|
||||
className="group -mb-px flex flex-col items-center justify-start gap-1.5 rounded-none border-0 bg-transparent px-1 pb-3.5 shadow-none ring-0 data-[state=active]:after:opacity-100"
|
||||
className="group -mb-px flex shrink-0 flex-col items-center justify-start gap-1.5 rounded-none border-0 bg-transparent px-1 pb-3.5 shadow-none ring-0 data-[state=active]:after:opacity-100"
|
||||
>
|
||||
<span className="flex size-12 items-center justify-center rounded-md bg-muted transition-colors duration-300 group-data-[state=active]:bg-primary group-data-[state=active]:text-primary-foreground">
|
||||
<span className="flex size-12 shrink-0 items-center justify-center rounded-md bg-muted transition-colors duration-300 group-data-[state=active]:bg-primary group-data-[state=active]:text-primary-foreground">
|
||||
<Icon className="size-6" />
|
||||
</span>
|
||||
<p className="text-sm text-muted-foreground">{label}</p>
|
||||
<p className="text-sm whitespace-nowrap text-muted-foreground">
|
||||
{label}
|
||||
</p>
|
||||
</TabsTrigger>
|
||||
))}
|
||||
</TabsList>
|
||||
</div>
|
||||
<div className="mt-5">
|
||||
<div className="mt-5 w-full min-w-0">
|
||||
{TABS.map(({ image, label }, index) => (
|
||||
<TabsContent
|
||||
key={label}
|
||||
key={`${label}-${index}`}
|
||||
value={index.toString()}
|
||||
className="aspect-video"
|
||||
className="aspect-video w-full min-w-0"
|
||||
>
|
||||
<img
|
||||
src={image}
|
||||
alt={`نمای ${label}`}
|
||||
className="h-full w-full rounded-xl border object-cover"
|
||||
className="size-full max-w-full rounded-xl border object-cover"
|
||||
/>
|
||||
</TabsContent>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user