Ana Sayfa / Temalar / Tavola - Restaurant Website Template

Tavola - Restaurant Website Template

Üç dilli, veri odaklı menü ve rezervasyon formu içeren sekiz sayfalık bir HTML restoran şablonu.

  • Yayın tarihi8 Kasım 2026
  • Paket içeriği.css, .html, .md, JavaScript .js
  • Son güncelleme8 Kasım 2026
  • Canlı demoVar
Tavola - Restaurant Website Template

Overview

Tavola is a finished website for a restaurant, cafe or wine bar - eight pages, three languages and twenty-one photographs already in place. Open index.html and it runs: from a hard drive, from a USB stick, from any hosting that can serve files.

Three languages, switched in the header. English, Polish and Ukrainian. Each one is written as its own menu rather than translated line by line, and lives in its own block in the file - so adding a fourth language, or handing one to a translator, is one block of text. The choice is remembered; a first-time visitor gets their browser's language. Plurals follow each language's own rule, and prices format themselves per language from a single plain number: write 42, and it shows as 42 zl in Polish and PLN 42 in English.

The menu is data, not markup. Twenty-six dishes live in one array. Filters by course and by diet - vegetarian, vegan, gluten-free, spicy - count live as you click. Not one dish is written into the HTML, so editing the menu never means editing a page.

The booking form knows your opening hours. Time slots are built from your schedule: a closed day is refused with a message, today's past times disappear, there is a notice buffer before the next bookable slot, and a party larger than your limit is pointed at the events page instead.

Zero external requests - not even a font. No Google Fonts, no analytics, no icon CDN.

The booking, events and contact forms validate properly and show a confirmation, but they send nothing: the template has no back end. The README shows how to connect a form service, your own endpoint, or an existing booking system, in a few lines, and what to add before going live.

Features

Eight pages

Home, Menu, Reservations, About, Gallery with lightbox, Events and catering, Contact, 404.

Three languages in one file

English, Polish and Ukrainian, switched in the header and remembered. A first-time visitor gets their browser's language. Each language is a separate block, so a translator can be handed one block and nothing else. Plurals follow each language's own rule; prices and dates are formatted per language by the browser's own Intl formatter from a single plain number.

Menu built from data

26 dishes in one array, with course, price, diet tags and an optional photo. Live filters by course and by diet - vegetarian, vegan, gluten-free, spicy - with a running count. No dish is written into the markup, and the menu page prints as a clean menu.

Booking form that knows the schedule

Slots are generated from your opening hours: closed days are refused, today's past times disappear, there is a minimum-notice buffer, the date picker stops at your booking horizon, and oversized parties are sent to the events page.

21 photographs included

Every slot on every page is filled, with credits in img/CREDITS.txt. Swapping a picture is one attribute; a missing file falls back to a CSS gradient, so the layout never breaks while you work.

Light and dark theme

Light by default, dark on request, remembered per visitor, and a visitor who never touched the switch gets their system setting. The dark theme is a separate palette, not an inversion.

Zero dependencies and zero external requests

No npm, no bundler, no CDN, no Google Fonts, no analytics. System font stack and inline SVG icons. The site makes no request to any third-party server.

Accessible and responsive

Keyboard reachable throughout, the closed mobile drawer is not tabbable, the lightbox closes on Esc and moves with the arrow keys, form errors are tied to their field in words and not only in colour, WCAG AA contrast in both themes, and prefers-reduced-motion is respected. Laid out from 360px phones to wide monitors with no horizontal scrolling.

One config file

Name, phone, e-mail, address, social links, currency, opening hours, event prices and booking rules all live in js/config.js. Change them once and all eight pages follow.

Commented code and a README that explains every file.

Requirements

None. The template is static HTML, CSS and JavaScript - no server, no database, no build step, no package manager.

A text editor and a modern browser are enough. Tested in the latest Chrome, Edge, Firefox and Safari, on desktop and mobile. The layout uses CSS grid and aspect-ratio, and prices use the browser's own Intl formatter, so Internet Explorer is not supported.