How s42121191-a11y/restaurant-website works
Bella Vista is a static React restaurant website, not a reservation-processing system. A visitor enters through the app root and sees a single composed page: navigation, restaurant introduction, menu, testimonials, reservation form, and contact footer. The menu is assembled from item data and rendered through a reusable card component. The reservation form is presentational; the sampled source shows no submission handler, backend, or booking service. Relationships below follow the sampled imports and component rendering; no unsampled behavior is assumed.
Main entry points: App.jsx Page Composition · main.jsx React Entry · MenuCard.jsx Menu Listing · Reservation.jsx Reservation Form
Components 11
Page Shell
- React Entry
src/main.jsx - Page Composition
src/App.jsx - Navigation
src/components/Navbar/Navbar.jsx - Contact Footer
src/components/Footer/Footer.jsx
Restaurant Content
- Welcome Hero
src/components/Hero/Hero.jsx - Restaurant Story
src/components/About/About.jsx - Menu Listing
src/components/Menu/MenuCard.jsx - Menu Item Card
src/components/Menu/Menu.jsx
Visitor Engagement
- Customer Testimonials
src/components/Testimonial/Testimonial.jsx - Reservation Form
src/components/Reservation/Reservation.jsx
Other components
- Visitor
Connections 11
- Visitor → React Entry: opens site
- React Entry → Page Composition: renders
src/main.jsx - Page Composition → Navigation: renders
src/App.jsx - Page Composition → Welcome Hero: renders
src/App.jsx - Page Composition → Restaurant Story: renders
src/App.jsx - Page Composition → Menu Listing: renders
src/App.jsx - Page Composition → Customer Testimonials: renders
src/App.jsx - Page Composition → Reservation Form: renders
src/App.jsx - Page Composition → Contact Footer: renders
src/App.jsx - Menu Listing → Menu Item Card: renders
src/components/Menu/MenuCard.jsx - Visitor → Reservation Form: fills form
src/components/Reservation/Reservation.jsx