From 531e8d63c1c8e96714c726b6035aebfae43e4ba3 Mon Sep 17 00:00:00 2001 From: aramesh-site deploy Date: Mon, 28 Sep 2026 09:52:21 +0000 Subject: [PATCH] =?UTF-8?q?revert(ui):=20=D8=A8=D8=A7=D8=B2=DA=AF=D8=B1?= =?UTF-8?q?=D8=AF=D8=A7=D9=86=DB=8C=20=D9=87=DB=8C=D8=B1=D9=88=DB=8C=20?= =?UTF-8?q?=D8=B5=D9=81=D8=AD=D9=87=D9=94=20=D8=A7=D8=B5=D9=84=DB=8C=20?= =?UTF-8?q?=D8=A8=D9=87=20=D8=AD=D8=A7=D9=84=D8=AA=20=D9=BE=DB=8C=D8=B4=20?= =?UTF-8?q?=D8=A7=D8=B2=20UI=20v1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - دکمه‌های CTA: بازگشت به ButtonLink شیشه‌ای (اصلی با دایرهٔ مسی، ثانویه مات) - کارت شناور آمار (badge_value/badge_label) که UI v1 حذف کرده بود برگشت — فیلدهایش در کشوی «تنظیمات هیرو» دوباره معنا دارند - Button.tsx که قبلاً بازگردانده شده بود دوباره استفاده می‌شود --- frontend/src/components/home/Hero.tsx | 45 +++++++++++++++++++++------ 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/home/Hero.tsx b/frontend/src/components/home/Hero.tsx index 9e1d301..c3a0dd2 100644 --- a/frontend/src/components/home/Hero.tsx +++ b/frontend/src/components/home/Hero.tsx @@ -1,7 +1,7 @@ import React from 'react' import { motion, useScroll, useTransform } from 'framer-motion' -import { ChevronDownIcon } from 'lucide-react' -import { PremiumButton } from '../PremiumButton' +import { ArrowLeftIcon, ChevronDownIcon } from 'lucide-react' +import { ButtonLink } from '../Button' import { useSite } from '../../api' import { useLang } from '../../i18n/lang' import { useFieldSaver } from '../../admin/AdminContext' @@ -84,20 +84,45 @@ export function Hero() { transition={{ duration: 0.85, delay: 2.44, ease: [0.23, 1, 0.32, 1] }} className="mt-10 flex flex-wrap items-center gap-4" > - {/* دکمه اصلی */} - - saveHero('cta_primary_label', v)} /> - + {/* دکمه اصلی: کپسولی شیشه‌ای دودی با دایره کهربایی اختصاصی برای آیکون */} + + + saveHero('cta_primary_label', v)} /> + + + + + - {/* دکمه ثانویه */} - + {/* دکمه ثانویه: شیشه دودی مات (Smoked Glass) با کادر ظریف */} + saveHero('cta_secondary_label', v)} /> - + {/* کادر آمار شناور (گوشه پایین چپ): شیشه‌ای با لبه‌های گرد مدرن */} - + +

+ saveHero('badge_value', v)} /> +

+

+ saveHero('badge_label', v)} /> +

+
{/* دکمه اسکرول پایین: تبدیل‌شده به یک گوی شیشه‌ای دایره‌ای */}