Commit Graph

13 Commits

Author SHA1 Message Date
Zeeshan Khan 2823d1e021 feat: replace 'Royal' with 'Shahi' everywhere for brand consistency (navbar, translations, pages, layout, css, etc.) 2026-06-02 20:18:55 +02:00
Zeeshan Khan 380f7bc9a6 feat: add Login navigation and beautiful staff authentication page (fully translated sv/en/hi/ur, mobile-optimized form with Askim/Backaplan dropdown, premium theme graphics, placeholder 'backend under construction' message) 2026-06-02 19:03:49 +02:00
Zeeshan Khan 50de4b0c90 fix: update WhatsApp order number to +46 73 938 10 89
- Changed the order WhatsApp from 46709864995 to 46739381089 in CartDrawer.tsx (the wa.me link used for cart orders).
- Updated matching comments in CartDrawer.tsx, CartContext.tsx, and app/layout.tsx.
- This is the number for WhatsApp orders (matches the mobile phone 0739-381089 used for reservations/bookings).
- Phone display numbers (landline + mobile) left unchanged as they were not part of the request.
2026-06-02 16:57:41 +02:00
Zeeshan Khan bca3d83bb4 feat: add 3s scroll-pause video auto-play to homepage Signature Menu + update Menu page to 3s
- Duplicated mobile scroll-pause logic (3s timeout) to homepage Signature Menu (using .signature-card + .relative.h-48 structure, with video support added to signatureDishes).
- Updated both /menu and homepage Signature Menu from 2s to 3s pause before playing video on scroll stop.
- Added onMouse handlers for desktop hover consistency on signature cards.
- Maintains posters while scrolling, plays video after 3s pause on item.
- Desktop hover behavior preserved.
- Builds cleanly.
2026-06-02 15:46:00 +02:00
Zeeshan Khan ffaef59049 feat: mobile menu video auto-play on scroll pause (2s)
- On mobile (<768px): posters shown while scrolling the menu.
- After user stops scrolling and lingers on a video item for ~2s: the animation (video) plays in place of the poster (replaces img opacity, plays video, hides gradient).
- On scroll/touchmove resume: immediately pause videos and show posters.
- Initial load on mobile: auto-plays the first focused video item after settle.
- Added isMobile state + resize listener, scroll/touch listeners with 2s debounce timeout.
- Helper functions: playMobileVideo(id), pauseAllMobileVideos(), findFocusedVideoItem() (visibility + center scoring).
- Data attributes data-id and data-has-video added to .menu-card for reliable targeting.
- Desktop hover logic untouched.
- Only affects items with .video in menu-data (e.g. Lahore Chana now works on mobile too).
- Cleanup on unmount/resize to desktop.
- Builds cleanly.
2026-06-02 15:24:47 +02:00
Zeeshan Khan f21c5fd83c fix: Urdu menu item descriptions now fully translated
- Added complete Urdu translations for all menuDescriptions (and signatureMenuItems) in lib/translations.ts so descriptions localize properly when language=ur.
- Updated sidebar 'All Dishes' label to use translated t.menu.allDishes.
- Descriptions now correctly appear in Urdu (while dish names remain unchanged) on /menu page and homepage signature section.
- Builds cleanly.
2026-06-02 15:02:47 +02:00
Zeeshan Khan c6a62f40f4 fix: responsive Signaturmeny title + translated menu item descriptions
- Make 'Signaturmeny' h2 responsive (smaller base font + break-words) so it doesn't overflow on mobile.
- Add signatureMenuItems and menuDescriptions to translations (en/sv + fallbacks for hi/ur).
- Update homepage signature cards and full menu page to use translated descriptions (while keeping dish names unchanged as requested).
- Swedish descriptions now active by default.
2026-06-02 14:15:26 +02:00
Zeeshan Khan f70076b482 fix: mobile menu now renders in front of hero banner video on mobile
- Moved mobile drawer (and AnimatePresence) out of <nav> into sibling in React fragment so its z-index is evaluated at root stacking context (was previously confined inside nav's z context).
- Raised mobile menu container to z-[9999], sliding panel to z-[10000].
- Bumped LanguageSwitcher backdrop/dropdown to z-[9998]/z-[9999] for when opened from inside mobile menu.
- Lowered hero video to z-0 and gradient to z-5 (true background).
- Nav back to z-[50] (still above normal content).
- This ensures the full mobile menu (hamburger + drawer + language dropdown when clicked inside it) always stacks above the mobile_banner video and is fully visible.
2026-06-02 14:01:56 +02:00
Zeeshan Khan 0b6cc1acae feat: default language Swedish, modern mobile navigation menu, mobile optimizations & translations, shorten mobile hero banner to 4s
- Set 'sv' as default in LanguageProvider + layout (users can switch to 'en')
- Completely revamped mobile drawer menu: slide animation (framer-motion), icons, active states with high-contrast text, large touch targets, better tap feedback
- Horizontal snap-scrolling category filters on mobile (homepage + /menu) for thumb-friendly UX
- Added active:scale / touch-manipulation + press states across cards, buttons, filters for better mobile tap visibility/feedback
- Updated translations for menu page, locations, footer, experience (Swedish-first)
- Made locations + footer language-aware
- Trimmed banner_mobile.mp4 (raw + re-optimized) from 6s to 4s for faster load on mobile
- Reordered languages so Svenska appears first in switcher
- .gitignore already protects developer_instructions.txt (previous commit)
2026-06-02 13:44:19 +02:00
Zeeshan Khan 4afbdcea1b feat(hero): responsive mobile + iPad hero banner
- Add banner_mobile.mp4 (portrait source asset for phones/iPads)
- Generate optimized versions (banner_mobile-optimized.webm ~295KB + .mp4 ~224KB) for fast loading using VP9/H264 at 540x956
- Update hero <video> in app/page.tsx to use <source media='(max-width: 1024px)'> so mobile devices and iPads get the portrait banner for proper visualization (WebM first for size, MP4 fallback)
- Desktop/large screens continue using the existing landscape banner1.mp4
- Keeps existing responsive object-position framing and structure

This improves mobile hero experience above the signature menu.
2026-06-02 13:27:04 +02:00
Anonymous fe78fd9fa1 chore: sync full current production website state to Gitea 2026-06-02 10:27:50 +00:00
Zeeshan Khan 56fe68eb48 Initial commit: Shahi Kitchen premium website
- Royal cream + gold theme
- Playful animated hero with chef mascot
- Advanced menu with sidebar + video hover
- Multilingual support (EN, SV, HI, UR)
- Cart system with WhatsApp ordering
- Real restaurant photos integration
- Responsive design with proper navbar
2026-06-01 15:14:19 +02:00
Zeeshan Khan edd906d893 Initial commit from Create Next App 2026-05-31 22:55:26 +02:00