Buy me a coffee (opens new window) DE · DeutschDA · Dansk

Counterglow theme · version 1.0.0

Hearth

Hearth answers the three questions a guest has on a phone, before anything else: is it open right now, what is on the menu, and how do I get there. Warm paper, oxblood and brass, menus set in serif type with dot leaders — a printed card that works on a phone.

Version
1.0.0
Use
Food & drink
Light and dark
follows the system
Starter kit
restaurant
Hearth front page in light mode with the example bistro Saltrum: status line “Open now · until 22:00”, call and route buttons, and a hero picture of the dining room at dusk.

What makes it different

  • “Open now · until 22:00”, worked out on the server from the weekly hours, the special days and the site’s time zone, and kept current in the browser — also in a cached page and in the static export.
  • A call button and a route button that opens the visitor’s own map app (geo: on Android, Maps on iOS, OpenStreetMap otherwise). No map is embedded, nothing is loaded from anyone else.
  • Menus as lines Name | Description | Price | Marks | Allergens: groups, several prices, marks for vegetarian, vegan, gluten-free, lactose-free, spicy and the chef’s pick, and the 14 EU allergens (Regulation 1169/2011) as letters or numbers with a key.
  • A lunch board whose groups are weekdays shows today by itself, and filters for vegetarian, vegan or without one allergen work as plain anchors without JavaScript; empty groups disappear with them.
  • A print layout turns a card into a two-column menu to hand out, a table request says plainly that it is a request, and schema.org Restaurant carries opening hours, special days, cuisine and the whole menu.

Screenshots

Colour presets

5 presets ship with Hearth. Every colour can still be changed by hand, for light and dark, with the contrast guard watching.

  • Oxblood

    Warm paper, oxblood and brass — Hearth's own: a bistro at dusk.

    LightDark
  • Bakery

    Flour white, rye brown and a butter-yellow mark — for bakeries and cafés in the morning.

    LightDark
  • Bistro

    Navy and white like a French café awning, a touch of brass.

    LightDark
  • Bar always dark

    Dark by default: near-black, amber and a copper rim — for bars and late kitchens.

    LightDark
  • Orchard

    Moss green and straw for farm shops, garden cafés and country kitchens.

    LightDark

Starter kit: restaurant

An invented harbour bistro: evening menu with allergens, a lunch board for every weekday, drinks, five events, a table request and a house page.

php system/cli.php starter restaurant --yes

Installs the example pages of this theme, also from Panel → Design → Theme → “Start with this content”. The current content is moved to site/backups/ first.

Try it without switching

On your own installation, ?preview=hearth shows the theme with its own example content, in that browser tab only; &content=mine shows it with your pages. Nothing is written.

Read the code, keep the folder.

Questions, ideas or bug reports? Write to me. hello@gerber.media