Commit Graph

21 Commits

Author SHA1 Message Date
Zeeshan Khan d650a7cdc5 fix: prevent Swedish nav label 'Logga in' from wrapping to two lines in desktop menu pills + make all nav buttons consistent height (whitespace-nowrap, flex-shrink-0, tighter px) 2026-06-02 19:16:22 +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 5eddef80e6 feat: make entire cart drawer UI and WhatsApp order draft fully language-compatible (Swedish default + en/hi/ur translations for title, notes, buttons, and drafted message) 2026-06-02 17:57:22 +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 dcd973a7a9 feat: add Lahori Chana animation video
- Generated 6s video for Lahore Chana using video gen (good presentation, smoke rising).
- Added optimized .webm + .mp4 versions.
- Extracted poster from video.
- Updated menu-data.ts to include video: 'lahore-chana.mp4' for the item (now shows hover animation on /menu page).
- All assets in public/ for menu consistency.
2026-06-02 14:51:13 +02:00
Zeeshan Khan 22d7326ac3 feat: add descriptions for all menu items
- Added concise English descriptions to every item in lib/menu-data.ts (street food, meat, chicken, pizza, rolls, sweets, drinks, etc.).
- Expanded Swedish (and fallback) translations in lib/translations.ts under menuDescriptions and signatureMenuItems so descriptions are properly localized when language is switched (names remain unchanged).
- This fixes missing descriptions on the /menu page and homepage signature menu.
- Descriptions sourced from authentic Indian/Pakistani cuisine references.
2026-06-02 14:28:32 +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 583047895f fix: ensure mobile menu and language dropdown appear in front of hero banner video (raised z-indexes for overlays)
- Navbar: z-[999]
- Mobile menu container/panel: z-[1000]/z-[1001]
- Cart drawer: z-[980]/z-[990]
- LanguageSwitcher dropdown/backdrop: z-[1010]/z-[1020]
- Updated comments
- Mobile menu (incl. when clicking language inside it) now reliably stacks above the mobile banner video and other content.
2026-06-02 13:52:23 +02:00
Zeeshan Khan 58372255a9 chore: adjust mobile banner length to 4.7s (trimmed from original 6s, re-optimized)
- Raw banner_mobile.mp4: 4.708s (418K)
- Optimized webm: ~4.709s (195K)
- Optimized mp4: ~4.714s (184K)
- Restored original full 6s from git history to trim precisely to 4.7s
2026-06-02 13:48:34 +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 10d7555d31 chore: ignore developer_instructions.txt (contains production credentials, Gitea admin password, secrets)
This ensures the sensitive file is never accidentally staged or pushed, even with 'git add .' or similar commands.

The file remains locally for developer reference (as described in the document itself).
2026-06-02 13:29:26 +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 eb157f4fbb test: hook sudo fix 2026-06-02 10:28:59 +00:00
Anonymous 825f15f38a test: verify auto-deploy hook from production push 2026-06-02 10:28:46 +00: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