Documentation
Ember — Restaurant Website Template
Version 1.0.0 · Vanilla HTML · 15 files · 136 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 15 files:
- LICENSE.txt1.4 KB
- README.md2.6 KB
- assets/css/style.css19 KB
- assets/fonts/abril-fatface-LICENSE.txt4.4 KB
- assets/fonts/abril-fatface-latin-400-normal.woff213 KB
- assets/fonts/lato-LICENSE.txt5.9 KB
- assets/fonts/lato-latin-400-italic.woff224 KB
- assets/fonts/lato-latin-400-normal.woff223 KB
- assets/fonts/lato-latin-700-normal.woff223 KB
- assets/fonts/lato-latin-900-normal.woff222 KB
- assets/images/favicon.svg327 B
- assets/js/main.js9.9 KB
- documentation/index.html11 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html38 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--color-char#14110f--color-char-2#1d1815--color-char-3#2a231f--color-ember#e85d04--color-ember-hot#ff7a1f--color-gold#ffb703--color-cream#f4e9d8--color-cream-dim#c9bba5--color-line#3b322c--color-error#b3261e
Interactive features
Menu tabs
Each tab button in index.html controls the panel named by aria-controls. Add a section by copying a tab and a tabpanel with matching ids. Dishes are list items with a name, description, price and optional dietary marks.
Reservation form
The HOURS object at the top of assets/js/main.js drives available days and time slots; keep it in step with the visible hours table and the JSON-LD. SLOT_MINUTES and LAST_SEATING_BEFORE_CLOSE adjust the slots. Replace the success branch of initReserve() with a request to your booking system.
Gallery lightbox
Each gallery button holds an SVG and an aria-label starting with 'Enlarge: '. Replace the SVG with an img tag to use real photographs; the lightbox copies the first svg, so for img elements adjust initGallery().
Open-now message
Computed from the HOURS object using the visitor's local time.
Customisation notes
Update the structured data
The Restaurant JSON-LD block in the head holds the name, address, phone, geo coordinates, price range and opening hours. Edit it alongside the visible content so search engines see the same details.
Adjust the dietary key
Marks use the classes mark--v, mark--vg and mark--gf for colour. Add another by creating a class, adding it to the legend and using it on dishes.
Tune the fire
The flame layers are three SVG paths animated with the flicker keyframes in assets/css/style.css. Change the durations to calm or intensify it; the animation is switched off for visitors who prefer reduced motion.
Swap the illustrations
The hero fire, story hearth, map and six gallery scenes are inline SVG and can be replaced with photographs; keep the aspect ratios so the grid holds.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- The reservation form validates and shows a confirmation, but nothing is sent, stored or booked.
- The restaurant, menu, prices, address and phone number are fictional.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Abril Fatface typeface — OFL-1.1 (
assets/fonts/abril-fatface-LICENSE.txt) - Lato typeface — OFL-1.1 (
assets/fonts/lato-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.