diff --git a/app/components/dashboard/dashboard-home.tsx b/app/components/dashboard/dashboard-home.tsx index 2237841..a3074f2 100644 --- a/app/components/dashboard/dashboard-home.tsx +++ b/app/components/dashboard/dashboard-home.tsx @@ -594,8 +594,8 @@ export function DashboardHome() {

تحقق ارزش ها

- - + + شماتیک diff --git a/app/components/dashboard/project-management/mange-ideas-tech-page.tsx b/app/components/dashboard/project-management/mange-ideas-tech-page.tsx index e7dd9d3..e4be03d 100644 --- a/app/components/dashboard/project-management/mange-ideas-tech-page.tsx +++ b/app/components/dashboard/project-management/mange-ideas-tech-page.tsx @@ -932,15 +932,7 @@ export function ManageIdeasTechPage() { {/* Infinite scroll trigger */}
- {loadingMore && ( -
-
- - - -
-
- )} +
@@ -951,10 +943,19 @@ export function ManageIdeasTechPage() { + {loadingMore && ( +
+
+ + + +
+
+ )} {/* Chart Section */} - {/* Funnel Chart */} - + d.value)); @@ -20,7 +21,7 @@ export function FunnelChart({ data, title, className = "" }: FunnelChartProps) { if (!maxValue || maxValue <= 0) return 0; return Math.round((value / maxValue) * 100); }; - + return (
{title && ( @@ -28,7 +29,7 @@ export function FunnelChart({ data, title, className = "" }: FunnelChartProps) { {title} )} - +
{/* Start Process Line */}
@@ -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, )}