Credits: Photos from Unsplash and the original template photographs; Poppins, Lucide and Font Awesome Brands are open source
Description
Restaurant is a website template for restaurants, cafes and bistros, built on Bootstrap 5, with a red-and-white design and wavy section edges. The layout is responsive and mobile-ready and works in all popular web browsers. It comes with three pages: home, generic and elements.
The home page has a wavy hero, a grid of top-rated dishes, a play-button video band, four meal icons, a featured-menu slider, the chefs, a blog teaser and a click-to-load map beside a booking form. The generic page adds a kitchen story with photos and a menu at a glance, and the elements page collects buttons, typography, a table with bars, a photo gallery with a lightbox, lists and form fields. Restaurant gives you a ready-made site to present your menu, your team and your tables.
What’s new in 4.0
Rebuilt from the original design: the wavy hero and video bands, the red palette, Poppins type and every home-page section are back in their original order, and the Generic and Elements pages are rewritten with restaurant content.
Bootstrap 5.3.8 compiled from Sass with the original proportions, and plain JavaScript with no jQuery. Swiper 14 drives the featured-menu slider, PhotoSwipe the gallery, a native dialog the video, and an accessible panel replaces the old phone menu. npm run build compiles one minified stylesheet and one script.
Lighter pages: all three pages together went from 6.38 MB and 158 requests to 1.85 MB and 88 requests, and the download from 5.5 MB to 3.1 MB. Photos have AVIF versions with JPEG fallbacks, and Poppins, Lucide icons and a small Font Awesome Brands subset are self-hosted.
No third-party requests: no Google Fonts, no Maps key and no tracking. The map loads only when a visitor clicks Show map.
Accessibility: skip link, landmarks, one h1 per page, labelled form fields, visible keyboard focus, a keyboard-friendly dropdown and phone menu, and text and button colours that pass WCAG AA contrast.
Working forms: booking, contact and newsletter forms post to a hardened PHP handler with a placeholder recipient and a spam trap; set your address in php/send-email.php.
New restaurant copy with fictional names, and photographs of chefs at work.