diff --git a/app/components/dashboard/d3-image-info.tsx b/app/components/dashboard/d3-image-info.tsx
index a1ccaf8..4d3c012 100644
--- a/app/components/dashboard/d3-image-info.tsx
+++ b/app/components/dashboard/d3-image-info.tsx
@@ -21,6 +21,7 @@ export type D3ImageInfoProps = {
};
const InfoBox = ({ company, style }: { company: CompanyInfo; style :any }) => {
+ const hideCapacity = company.name === "خوارزمی"; // اگر خوارزمی بود ظرفیت مخفی شود
return (
@@ -31,14 +32,24 @@ const InfoBox = ({ company, style }: { company: CompanyInfo; style :any }) => {
هزینه:
+ {
+ (hideCapacity ?
+
+
{formatNumber(company?.cost || 0)}
+ :
{formatNumber(company?.cost || 0)}
+ )
+
+ }
میلیون ریال
-
-
ظرفیت:
-
{formatNumber(company?.capacity || 0)}
-
تن در سال
-
+ {!hideCapacity && (
+
+
ظرفیت:
+
{formatNumber(company?.capacity || 0)}
+
تن در سال
+
+ )}
);
@@ -183,6 +194,7 @@ export function D3ImageInfo({ companies }: D3ImageInfoProps) {
.info-value.revenue { color: #fff;}
.info-value.cost { color: #fff; }
+ .info-value.cost2 { color: #fff; }
.info-value.capacity { color: #fff; }
.info-unit {
diff --git a/app/components/ecosystem/info-panel.tsx b/app/components/ecosystem/info-panel.tsx
index a403f19..a88c337 100644
--- a/app/components/ecosystem/info-panel.tsx
+++ b/app/components/ecosystem/info-panel.tsx
@@ -190,7 +190,7 @@ export function InfoPanel({ selectedCompany }: InfoPanelProps) {
{ label: "شتابدهنده", value: parseNumber(counts.accelerator_count) },
{ label: "دانشگاه", value: parseNumber(counts.university_count) },
{ label: "صندوق های مالی", value: parseNumber(counts.fund_count) },
- { label: "شرکت", value: parseNumber(counts.company_count) },
+ { label: "تامین کننده", value: parseNumber(counts.company_count) },
]
: [];
diff --git a/app/components/ecosystem/network-graph.tsx b/app/components/ecosystem/network-graph.tsx
index 8d446a9..b7be02b 100644
--- a/app/components/ecosystem/network-graph.tsx
+++ b/app/components/ecosystem/network-graph.tsx
@@ -242,7 +242,7 @@ export function NetworkGraph({
مشاور: "#10B981",
"دانش بنیان": "#F59E0B",
استارتاپ: "#EF4444",
- شرکت: "#8B5CF6",
+ "تامین کننده": "#8B5CF6",
صندوق: "#06B6D4",
شتابدهنده: "#9333EA",
"مرکز نوآوری": "#F472B6",