From 8abc70dcf1f637d8b066dc7d734a99b48edf1c20 Mon Sep 17 00:00:00 2001 From: Behrad Date: Wed, 9 Sep 2026 14:34:18 +0330 Subject: [PATCH] Add new updated site --- docker-compose.yml | 1 + frontend/src/components/FloatingContact.tsx | 8 +- .../src/components/home/FeaturedProjects.tsx | 55 ++++++------- frontend/src/components/home/Testimonials.tsx | 50 ++++++------ frontend/src/components/home/Timeline.tsx | 23 +++--- frontend/src/pages/Investment.tsx | 41 +++++----- frontend/src/pages/Projects.tsx | 77 ++++++++++--------- 7 files changed, 134 insertions(+), 121 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 21ecb20..5e5147c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,6 +47,7 @@ services: retries: 12 ports: - "9001:9001" # کنسول MinIO — در محیط واقعی با فایروال ببندید + - "19000:9000" # دسترسی مستقیم/لوکال به MinIO (اختیاری — تصاویر از مسیر /media سرو می‌شوند) labels: - traefik.enable=true - traefik.http.routers.media.rule=PathPrefix(`/media`) diff --git a/frontend/src/components/FloatingContact.tsx b/frontend/src/components/FloatingContact.tsx index 2612f07..fd2031f 100644 --- a/frontend/src/components/FloatingContact.tsx +++ b/frontend/src/components/FloatingContact.tsx @@ -9,7 +9,7 @@ export function FloatingContact() { {/* پالس هاله نوری در پس‌زمینه مانند رادار */} - {/* خط انعکاس نوری کریستال در بالای گوی */} - diff --git a/frontend/src/components/home/FeaturedProjects.tsx b/frontend/src/components/home/FeaturedProjects.tsx index 04069f8..c473fc2 100644 --- a/frontend/src/components/home/FeaturedProjects.tsx +++ b/frontend/src/components/home/FeaturedProjects.tsx @@ -36,33 +36,36 @@ export function FeaturedProjects() {
- {/* دکمه‌های فیلتر کپسولی شیشه‌ای مات */} -
- {FILTERS.map((filter) => { + {/* دکمه‌های فیلتر مینیمال و شیشه‌ای (بدون کادر) */} +
+ {FILTERS.map((filter, index) => { const isSelected = status === filter.key return ( - + + {/* خط جداکننده بین دکمه‌ها */} + {index > 0 && ( + ) })}
@@ -94,7 +97,7 @@ export function FeaturedProjects() {
- {/* دکمه مشاهده همه پروژه‌ها: کپسولی شیشه‌ای با گوی آیکون متحرک */} + {/* دکمه مشاهده همه پروژه‌ها */} {heading.cta_label && heading.cta_href && (
diff --git a/frontend/src/components/home/Testimonials.tsx b/frontend/src/components/home/Testimonials.tsx index e554f22..e492bff 100644 --- a/frontend/src/components/home/Testimonials.tsx +++ b/frontend/src/components/home/Testimonials.tsx @@ -40,41 +40,45 @@ export function Testimonials() { -
+
-
- {testimonials.map((t, i) => -
+
- ); - -} + + ); +} \ No newline at end of file diff --git a/frontend/src/components/home/Timeline.tsx b/frontend/src/components/home/Timeline.tsx index a6fe6cb..a952573 100644 --- a/frontend/src/components/home/Timeline.tsx +++ b/frontend/src/components/home/Timeline.tsx @@ -17,10 +17,10 @@ function Item({ item, index }: { item: Milestone; index: number }) {