From 6f6b0ce13b9072bd925c9ec9e981268b8ae9de37 Mon Sep 17 00:00:00 2001 From: yotakii Date: Wed, 7 Jan 2026 10:49:07 +0300 Subject: [PATCH] edits --- client/src/components/layout/Header.js | 5 ----- client/src/locales/ar.json | 1 + client/src/locales/en.json | 2 ++ package-lock.json | 6 ++++++ 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 package-lock.json diff --git a/client/src/components/layout/Header.js b/client/src/components/layout/Header.js index eb1ace4..3ea408b 100644 --- a/client/src/components/layout/Header.js +++ b/client/src/components/layout/Header.js @@ -34,10 +34,8 @@ const Header = () => { const [languageAnchor, setLanguageAnchor] = useState(null); const [scrolled, setScrolled] = useState(false); - // ✅ لون غامق ثابت للهيدر الفاتح (حتى لو الثيم Dark) const lightHeaderText = '#1a1a1a'; - // ✅ Pending 17: Book Now -> WhatsApp with preset message const WA_NUMBER = '963986105010'; const WA_TEXT = encodeURIComponent( 'For all booking inquiries and reservation confirmations, kindly contact us via WhatsApp' @@ -66,7 +64,6 @@ const Header = () => { return () => window.removeEventListener('scroll', handleScroll); }, []); - // ✅ صفحات الخلفية عندها فاتحة (زيدي هون أي route تاني) const lightHeaderRoutes = ['/facilities', '/contact']; const forceLightHeader = lightHeaderRoutes.some( (r) => location.pathname === r || location.pathname.startsWith(r + '/') @@ -128,7 +125,6 @@ const Header = () => { ))} - {/* ✅ Pending 17: Drawer Book Now -> WhatsApp */} { - {/* ✅ Pending 17: Book Now -> WhatsApp */}