@@ -47,18 +48,18 @@ export function FunnelChart({ data, title, className = "" }: FunnelChartProps) {
{data.map((item, index) => {
const widthPercentage = toPercent(item.value);
const barWidth = Math.max(20, widthPercentage); // Minimum 20% width
-
+
return (
-
+
{item.label}
-
+
{item.value.toLocaleString('fa-IR')}
diff --git a/app/components/ui/progress.tsx b/app/components/ui/progress.tsx
index 8fdf955..9a82b53 100644
--- a/app/components/ui/progress.tsx
+++ b/app/components/ui/progress.tsx
@@ -19,7 +19,7 @@ const Progress = React.forwardRef<
{formatNumber(Math.ceil(value || 0 * 10) / 10)}%
diff --git a/app/components/ui/tabs.tsx b/app/components/ui/tabs.tsx
index e9354c2..28e662a 100644
--- a/app/components/ui/tabs.tsx
+++ b/app/components/ui/tabs.tsx
@@ -81,7 +81,7 @@ export function TabsTrigger({
className={cn(
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
isActive
- ? "bg-gray-700 text-foreground shadow-sm"
+ ? "bg-pr-gray text-foreground shadow-sm"
: "hover:bg-muted/50",
className,
)}