defuss-shadcn / Website / Industries / industry-restaurant
Restaurant
A one-page site for a Catalan neighbourhood restaurant - the menu by service with EU allergen codes you can filter by, tonight's specials on a slanted chalkboard, a booking form that knows the kitchen's hours, the long table for private dinners, a dish gallery, the guest book and the hours with the kitchen's last orders. Three looks: Terracotta, Candlelight and Terrace.
Taula Llarga, Catalan restaurant
The Look select switches the palette, the trim under the header, the board's material and how the hero's words are marked: Terracotta (cream, terracotta, a chalkboard in a wooden frame), Candlelight (oxblood and brass, a black menu card) and Terrace (whitewash and sea blue, a note taped up). Tick an allergen in the legend and the dishes that contain it fade; the booking form opens only the slots the kitchen serves that day.
Built from Site Header (its Sheet holds the navigation on a phone), Section Header, Tabs for the services, Booking Form, Card, Media Gallery and its viewer, Testimonials with Avatar, Opening Hours, Location Map, Site Footer and three Dialogs with Input, Select, Radio Group and Textarea. The allergen legend filters the menu with :has() alone; the script only counts. The board, the circled words and the booking ticket are the page's own CSS, drawn differently in each look.
Comments, ideas or improvements? Edit this page's source on GitHub