Commit Graph

109 Commits

Author SHA1 Message Date
muken c42b1c3cc8 perf: add sharp for image optimization, lazy loading on menu
- Added sharp for server-side image resizing
- Lazy loading and async decoding on menu images
- Added thumbnail column to images table
- Images API now generates 400x300 thumbnails on upload
2026-06-30 20:54:43 -05:00
muken 2288c8563d feat: show food photos in coffee menu 2026-06-30 00:34:01 -05:00
muken 04d5f8c727 fix: 'Ver Menú' button now links to /coffee page 2026-06-30 00:23:36 -05:00
muken e299c07912 feat: show menu item photo thumbnail in admin list 2026-06-30 00:22:07 -05:00
muken 3bdaee333b fix: contact page now fetches brand info from config
- Created contact API endpoint to store messages
- Added contact_messages table
- Contact page now displays phone, email, WhatsApp, and address from site config
2026-06-30 00:20:00 -05:00
muken ef2bfa5f05 fix: properly track featured_photo state in menu editor 2026-06-30 00:13:30 -05:00
muken 271457dfa5 fix: replace England flag with UK flag for English language 2026-06-30 00:09:25 -05:00
muken dcc996c64a fix: update location to Ecuadorian highlands 2026-06-30 00:06:53 -05:00
muken 9424e260c2 fix: remove vineyard references - property has no vineyard 2026-06-30 00:05:01 -05:00
muken b46d490be2 feat: add photo support to food menu items
- Add photos and featured_photo columns to menu_items table
- Update MenuEditor with photo upload functionality
- Add click-to-set-featured-photo interaction
- Update menu API endpoints to handle photos
2026-06-30 00:04:04 -05:00
muken f9c8d48631 fix: use Ecuador timezone (GMT-5) for all date displays across the app 2026-06-29 23:53:58 -05:00
muken 7b72994d4a fix: use Ecuador timezone (GMT-5) for all dates 2026-06-29 23:52:08 -05:00
muken d6ca208fc6 feat: compact homepage with CTA buttons, new contact page, remove large text section 2026-06-29 23:48:56 -05:00
muken 3c5f911f8f feat: show both Celsius and Fahrenheit in weather widget 2026-06-29 23:37:07 -05:00
muken d67759485a fix: menu reorder - use items state after drag, add logging 2026-06-29 21:46:48 -05:00
muken d753a3713f fix: menu drag-and-drop reorder using sorted array and correct sort_order 2026-06-29 21:41:12 -05:00
muken 2dc949553e fix: slide image upload - clear image_url when image_id set, fix slides.image_url column type to TEXT, add bed amenities (Queen, 2 Queen) 2026-06-29 21:38:27 -05:00
muken 91fce014fd feat: room amenities selection in room editor 2026-06-29 20:49:51 -05:00
muken 262cd4745c feat: room amenities with editable SVG icons 2026-06-29 20:45:56 -05:00
muken 0c00bfe23a feat: calendar strip smooth pause and fade edges 2026-06-29 20:39:59 -05:00
muken 8cc1d4bb96 fix: calendar strip NaN days and 3-day weather forecast 2026-06-29 20:38:14 -05:00
muken e0a82b945f moved icons 2026-06-29 20:28:33 -05:00
muken a2a0335b7d moved icos 2026-06-29 20:21:28 -05:00
muken 657af63e73 move widget 2026-06-29 20:07:08 -05:00
muken 6b7720d2d8 feat: users can change their own password via user portal 2026-06-29 18:09:54 -05:00
muken 765465348e feat: allow admins to change user passwords 2026-06-29 18:07:24 -05:00
muken 11d8f4a456 feat: add shimmer loading animation to rooms page 2026-06-28 23:45:40 -05:00
muken 25428e1246 style: reduce weather widget height and move lower 2026-06-28 23:43:11 -05:00
muken 59698686d5 feat: add weather widget to user portal below navbar 2026-06-28 23:36:29 -05:00
muken 291df16f1f feat: user portal with trips, wifi, welcome message, chat; admin trips & messages mgmt 2026-06-28 23:33:39 -05:00
muken 658a3f00a7 fix: remove wifi_password from public site-assets API - only show in logged-in user portal 2026-06-28 23:28:02 -05:00
muken 9f418d6b19 fix: slide editor upload button now works with useRef instead of nested label 2026-06-28 23:26:21 -05:00
muken a892e9e132 feat: enable weather widget for Otavalo using Open-Meteo API (free, no key required) 2026-06-28 23:23:50 -05:00
muken a1d88af78b feat: add footer configuration (address, phone, email, social URLs, tagline) to admin panel 2026-06-28 23:21:41 -05:00
muken abf46b9075 fix: image upload returns correct data structure for all editors 2026-06-28 23:18:27 -05:00
muken 6b0db0e3cf fix: change admin portal title to Hosteria La Huasca 2026-06-28 23:14:06 -05:00
muken 4d2c26d3af fix: admin data loading - extract data from API response 2026-06-28 23:12:07 -05:00
muken cac82e6d9d fix: admin panel save issues - POST/PUT URLs, users list, image upload 2026-06-28 23:01:13 -05:00
muken 7f81833936 fix: remove middleware redirect, let login page handle auth check 2026-06-28 22:46:57 -05:00
muken f99da73118 fix: login redirect, admin auth guard, JWT_SECRET env 2026-06-28 22:41:08 -05:00
muken c2c2217028 fix: calendar date parsing, login credentials hint, flag z-index overlap 2026-06-28 22:33:55 -05:00
muken 6121c76d97 fix: add calendar_events.active, expand seed coverage, and refresh local init script 2026-06-28 22:21:08 -05:00
muken f771ad751b Auto‑merge remote changes, keep our new globals.css 2026-06-28 20:35:04 -05:00
muken d8dcd7eadb Rewrite globals.css with spacing, dark‑mode, and focus styles 2026-06-28 20:35:04 -05:00
muken ebfa8dcdb0 fix: disable edge/html caching for now so deployments are visible immediately 2026-06-28 22:36:43 +00:00
muken 991e73fcff feat: harden bootstrap and add tests 2026-06-28 16:43:03 -05:00
muken 01ea9e391d Add language translation system and weather widget with admin controls 2026-06-28 15:35:02 -05:00
muken 295c024ced fix: image gallery organized with sections and borders, images now show correctly 2026-06-28 13:50:32 -05:00
muken e1b091b25d fix: admin menu fetch and add item — use /api/admin/menu endpoint, parse response.data correctly 2026-06-28 13:45:15 -05:00
muken 4b6e7f4362 feat: menu visibility toggle + drag-and-drop reorder in admin 2026-06-28 13:43:02 -05:00