diff --git a/frontend/application/app/HomeClient.tsx b/frontend/application/app/HomeClient.tsx index 68f0e65e..40b1f61e 100644 --- a/frontend/application/app/HomeClient.tsx +++ b/frontend/application/app/HomeClient.tsx @@ -72,12 +72,12 @@ export default function HomeClient({ initialData }: HomeClientProps) { {/* Navigation to Sections */} -
+
{/* Specialty Shop Card */} {/* Ambient Glows */}
@@ -112,7 +112,7 @@ export default function HomeClient({ initialData }: HomeClientProps) { {/* Scientific Wiki Card */} {/* Ambient Glows */}
@@ -147,7 +147,7 @@ export default function HomeClient({ initialData }: HomeClientProps) {
{/* About Section Teaser */} -
+
diff --git a/frontend/application/components/BlogPreviewSection.tsx b/frontend/application/components/BlogPreviewSection.tsx index a2a72b2a..b45e3346 100644 --- a/frontend/application/components/BlogPreviewSection.tsx +++ b/frontend/application/components/BlogPreviewSection.tsx @@ -56,10 +56,10 @@ export default function BlogPreviewSection() { } return ( -
+
{/* Section Header */} -
+
diff --git a/frontend/application/components/FeaturedProducts.tsx b/frontend/application/components/FeaturedProducts.tsx index e3ab0e28..4d2bdb7b 100644 --- a/frontend/application/components/FeaturedProducts.tsx +++ b/frontend/application/components/FeaturedProducts.tsx @@ -186,9 +186,9 @@ export default function FeaturedProducts() { }, []); return ( -
+
-
+
{getText("featured_badge", "بیشترین انتخاب توسط دامپزشکان")} diff --git a/frontend/application/components/Hero.tsx b/frontend/application/components/Hero.tsx index 9a675e25..08cb2915 100644 --- a/frontend/application/components/Hero.tsx +++ b/frontend/application/components/Hero.tsx @@ -313,10 +313,10 @@ export default function Hero({ banners = [], onShopNavigate }: { banners?: Banne initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ delay: 0.8, duration: 0.6 }} - className="grid grid-cols-3 gap-2 sm:gap-6 py-6 sm:py-10 border-t border-medical-gray-150" + className="grid grid-cols-3 gap-1.5 sm:gap-6 py-3 sm:py-10 border-t border-medical-gray-150" > {/* Stat 1: Founded Year */} -
+
@@ -329,7 +329,7 @@ export default function Hero({ banners = [], onShopNavigate }: { banners?: Banne
{/* Stat 2: Active Agencies */} -
+
@@ -344,7 +344,7 @@ export default function Hero({ banners = [], onShopNavigate }: { banners?: Banne
{/* Stat 3: German Formula */} -
+
diff --git a/frontend/application/components/SmartAdvisor.tsx b/frontend/application/components/SmartAdvisor.tsx index 5b3b0ea6..2a0e7d04 100644 --- a/frontend/application/components/SmartAdvisor.tsx +++ b/frontend/application/components/SmartAdvisor.tsx @@ -207,10 +207,10 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro }; return ( -
+
{/* Header Title */} -
+
-
+
@@ -256,13 +256,13 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro {getText('advisor_card1_desc', 'مکمل‌های دارویی کنینا غلیظ و تخصصی هستند؛ الگوریتم هوشمند ما بر اساس سن، وزن و جثه پت شما، دوز دقیق مصرفی روزانه را محاسبه می‌کند.')}

-
+
{getText('advisor_card1_footer', 'تضمین ایمنی و عدم اوردوز')}
-
+
@@ -276,13 +276,13 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro {getText('advisor_card2_desc', 'با انتخاب علائمی مثل لنگیدن یا ریزش مو، دقیق‌ترین راهکار مکمل آلمانی به همراه دلایل علمی به شما پیشنهاد می‌شود.')}

-
+
{getText('advisor_card2_footer', 'پیشنهاد هدفمند و تخصصی')}
-
+
@@ -296,7 +296,7 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro {getText('advisor_card3_desc', 'زمان‌های مصرف مکمل‌ها تنظیم شده و سیستم قبل از اتمام دوره درمانی، هشدار شارژ مجدد ارسال خواهد کرد.')}

-
+
{getText('advisor_card3_footer', 'تکمیل منظم دوره درمان')}
diff --git a/frontend/application/components/TickerBanner.tsx b/frontend/application/components/TickerBanner.tsx index 9fe357d6..22d0a865 100644 --- a/frontend/application/components/TickerBanner.tsx +++ b/frontend/application/components/TickerBanner.tsx @@ -13,10 +13,13 @@ export default function TickerBanner() { const textFa = getText("site_logo_text_fa", "ایران"); const isBlobOrData = typeof logoUrl === 'string' && (logoUrl.startsWith('blob:') || logoUrl.startsWith('data:')); - const announcementText = getText( + const rawNotice = getText( "shipping_notice", "ارسال رایگان برای سفارش‌های بالای ۱۵۰ هزار تومان — گارانتی اصالت کنینا آلمان — مشاوره تخصصی مکمل‌های دارویی سگ و گربه با کادر دامپزشکان مجرب" ); + const announcementText = typeof rawNotice === 'string' + ? rawNotice.replace(/ /g, ' ').replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>') + : ''; return (