Credits: Photos from Unsplash and the original stock set
Description
EatWell is a one-page restaurant website template, built on Bootstrap 5. The whole site sits on a single page, and the menu scrolls to each section and highlights the one in view. The layout is responsive and mobile-ready. A short thank-you page with setup and support links is included too.
The page opens with a full-screen photo hero and a Reservation button that opens a table booking form in a dialog, with first and last name, email, party size, phone, date, time and a message. Below it you will find the restaurant’s story, a carousel of seasonal offers with prices, a menu split into breakfast, lunch and dinner tabs, three news cards, a photo gallery that opens in a lightbox, a contact form with the address, phone and email, and a map that loads on click. EatWell suits a restaurant, café or healthy-food kitchen that wants everything on one page.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used a Bootstrap 4.0 beta and jQuery), compiled from Sass together with the theme and the Bootstrap 4 proportions the design was drawn with, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the offers carousel, PhotoSwipe replaces Magnific Popup on the gallery, a small built-in module replaces Waypoints and animate.css, the browser’s own date and time pickers replace the jQuery pickers, and the one-page scrolling uses CSS smooth scroll with Bootstrap’s scrollspy. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter page: 1.97 MB and 46 requests before, 1.15 MB and 37 requests now. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the first screen, the hero has a portrait crop for phones, and the full-page preloader is gone.
No third-party requests: Playfair Display and Raleway are self-hosted, the IcoMoon and Open Iconic icon fonts are replaced by Lucide SVG icons and a 1 KB social-logo subset, and the map is an OpenStreetMap map (no API key needed) that loads only when a visitor clicks “Show map”. A Google Analytics 4 snippet stays commented out until you add your own ID. Before, the page loaded its fonts from Google Fonts and the Google Maps script with a sample key.
Working forms: the contact form and the reservation dialog send through php/send-email.php, with validation, a spam trap and an in-page message. Before, the fields had no names and the forms had nowhere to send to.
Accessibility: a skip link and a main landmark, one h1 with headings in order, visible form labels, names on the social links, visible focus rings and WCAG AA contrast, with a darker amber for text, prices and buttons on white, darker body greys and brighter menu links on a soft shade at the top of the hero.
Fixed: the hero button had a red debug border on phones and also opened another site in a new tab, the dish names in the menu did not match their photos, every footer link went nowhere (they now jump to the matching section), and the page scrolled sideways on phones. The hero and about photos are new Unsplash photos, the contact details are fictional, and a social image and structured data for search engines are included.