How veneziarestaurant/venezia works
Venezia is a multilingual static restaurant website and digital menu, maintained through a local Keystatic admin. The main visitor flow is browsing and filtering dishes, checking restaurant details, then reserving through WhatsApp; editors save menu/site data and images locally, publish them through the admin widget, and GitHub Pages rebuilds the site. The graph includes documented capabilities and the sampled content, publishing, and interaction layers. Several page/component implementations were not sampled, so their links rely on README statements rather than inspected calls.
Main entry points: pages Localized home pages · content.ts Content and images · app.ts Browser interactions · keystatic.config.ts Keystatic admin
Components 23
Content Admin
- Keystatic admin
keystatic.config.ts - Publish widget
src/admin/PublishButton.tsx
Restaurant Content
- Menu data
src/content/menu - Restaurant settings
src/content/site.json - Restaurant imagery
src/assets/images
Public Website
- Localized home pages
src/pages - Menu display
src/components/Menu.astro - Dish cards
src/components/DishItem.astro - Restaurant sections
src/components/Sections.astro - Reservation dialog
src/components/ReservationDialog.astro - Legal pages
src/components/LegalPage.astro - Printable QR code
src/pages/qr.astro - Shared layout
src/layouts/Layout.astro
Site Runtime
- Browser interactions
src/scripts/app.ts - Content and images
src/lib/content.ts - Allergen definitions
src/lib/allergens.ts - UI translations
src/i18n/ui.ts
Publishing
- Local publish API
scripts/publish-plugin.mjs
Other components
- Restaurant editor
- Site visitor
- GitHub repository
- GitHub Pages
Connections 28
- Restaurant editor → Keystatic admin: edits content
README.md - Keystatic admin → Menu data: saves menu
keystatic.config.ts - Keystatic admin → Restaurant settings: saves settings
keystatic.config.ts - Keystatic admin → Restaurant imagery: uploads images
keystatic.config.ts - Keystatic admin → Publish widget: mounts widget
keystatic.config.ts - Restaurant editor → Publish widget: publishes changes
README.md - Publish widget → Local publish API: requests publish
src/admin/PublishButton.tsx - Local publish API → GitHub repository: commits and pushes
scripts/publish-plugin.mjs - GitHub repository → GitHub Pages: triggers site build
README.md - Site visitor → Localized home pages: opens site
README.md - Localized home pages → Shared layout: uses shared shell
- Localized home pages → Menu display: presents menu
README.md - Localized home pages → Restaurant sections: presents restaurant details
README.md - Localized home pages → Legal pages: offers legal pages
README.md - Localized home pages → Printable QR code: offers printable code
README.md - Menu display → Dish cards: shows dishes
- Menu display → Browser interactions: supports search and filters
README.md - Dish cards → Browser interactions: opens allergen details
- Restaurant sections → Browser interactions: updates open status
README.md - Reservation dialog → Browser interactions: handles reservation form
src/scripts/app.ts - Browser interactions → WhatsApp: opens message link
src/scripts/app.ts - Menu display → Content and images: loads menu content
- Content and images → Menu data: reads menu files
src/lib/content.ts - Content and images → Restaurant settings: reads restaurant settings
src/lib/content.ts - Content and images → Restaurant imagery: resolves dish images
src/lib/content.ts - Content and images → Allergen definitions: uses allergen types
src/lib/content.ts - Content and images → UI translations: uses language type
src/lib/content.ts - Browser interactions → Restaurant settings: uses reservation settings