From 6f207753bee9cd2d1a84a22cfbb4f519cdcb7b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Afra=20=E2=80=8C?= Date: Mon, 17 Aug 2026 17:38:41 +0330 Subject: [PATCH] fix: swap header order so neighborhood selector sits on the right and login/cart button on the top-left --- src/components/home/location-reminder-banner.tsx | 6 +++--- src/components/home/site-header.tsx | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/home/location-reminder-banner.tsx b/src/components/home/location-reminder-banner.tsx index 80d2351..07a3e71 100644 --- a/src/components/home/location-reminder-banner.tsx +++ b/src/components/home/location-reminder-banner.tsx @@ -10,7 +10,7 @@ export function LocationReminderBanner() { if (dismissed) return null; return ( -
+
-
+

فروشگاه‌های نزدیکت رو پیدا کن

-

+

برای نمایش نزدیک‌ترین فروشگاه‌ها، موقعیت مکانی خود را فعال کنید یا محله خود را به صورت دستی انتخاب کنید.

diff --git a/src/components/home/site-header.tsx b/src/components/home/site-header.tsx index 9e9515e..e837de3 100644 --- a/src/components/home/site-header.tsx +++ b/src/components/home/site-header.tsx @@ -1,5 +1,5 @@ import Link from "next/link"; -import { ChevronDown, MapPin, ShoppingBag } from "lucide-react"; +import { ChevronLeft, MapPin, ShoppingBag } from "lucide-react"; /** guest-home / C04 header — winofyfrontenddoc (1).md §3.2 / §4.5. */ export function SiteHeader({ @@ -13,6 +13,12 @@ export function SiteHeader({ }) { return (
+ + + {locationLabel ?? "انتخاب محله"} + + + {isAuthenticated ? ( @@ -30,12 +36,6 @@ export function SiteHeader({ ورود )} - - - - {locationLabel ?? "انتخاب محله"} - -
); }