From d2ffc9452498f7adb5ca45c7f49fd5c710d2ee7e Mon Sep 17 00:00:00 2001 From: Alireza Hassani Date: Wed, 9 Sep 2026 20:52:09 +0330 Subject: [PATCH] Fix dealer phone FA font and production login URL. Use IranYekan for dealer contact numbers and point the header login link at admin.madomotor.ir instead of the local dashboard host. Co-authored-by: Cursor --- .env.example | 2 +- src/components/Header.tsx | 2 +- src/pages/CatalogPages.css | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index e10db26..835c9a3 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ VITE_API_BASE_URL=http://api.madomotor.com:3001/api/v1 -VITE_DASHBOARD_URL=http://manage.madomotor.com:5175 +VITE_DASHBOARD_URL=https://admin.madomotor.ir diff --git a/src/components/Header.tsx b/src/components/Header.tsx index c8c5993..085392d 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -13,7 +13,7 @@ import './Header.css' const DASHBOARD_URL = ( import.meta.env.VITE_DASHBOARD_URL as string | undefined -)?.replace(/\/$/, '') ?? 'http://manage.madomotor.com:5175' +)?.replace(/\/$/, '') ?? 'https://admin.madomotor.ir' const productLinks = [ ...LANDING_MODEL_PATHS, diff --git a/src/pages/CatalogPages.css b/src/pages/CatalogPages.css index dfa3033..8a00e1d 100644 --- a/src/pages/CatalogPages.css +++ b/src/pages/CatalogPages.css @@ -296,10 +296,10 @@ justify-content: flex-start; gap: 8px; text-decoration: none; - font-family: var(--font-en); + font-family: var(--font-fa); font-size: 14px; - font-weight: 400; - letter-spacing: 0.02em; + font-weight: 500; + letter-spacing: 0; line-height: 1.2; font-variant-numeric: tabular-nums; }