Eldvik Bad
Thermal baths website template ยท Health and body
The whole page is seen through the steamed-up window of a fjord bathhouse at dusk: you wipe the fog off the glass, and frosted panes on it carry the UI.
The page is the window of a bathhouse on a Norwegian fjord, and the fjord at dusk is drawn behind it: layered mountains, a village with lit windows and long reflections, a hot tub steaming on the pier. The first pane is fogged. Drag a pointer or swipe a finger across it and the glass clears where you wiped; a few seconds later it steams up again, and now and then a drop runs down and leaves a clear trail. Keyboard users get a button that wipes the whole pane, and with reduced motion the glass shows a still, hand-wiped patch instead.
Everything else sits on frosted panes on that glass: seven rooms on one shared temperature scale with readings that drift like real sensors and follow the clock (the sauna jumps when a ladle goes on the stones every half hour, the smoke sauna is cold outside Friday to Sunday, the fjord follows the month), a hot-cold-rest ritual timer with three paces, how full it is right now from the visitor's clock with a day picker, and a booking form with a 14-day strip, two-hour sessions with places left, a guest stepper, add-ons and a receipt that adds up.
Below are the water facts with a drawn cross-section of the fjord, a drawn map with three ways to get there, the questions people ask before their first visit, and a cedar-panelled footer. There are no photographs and no libraries; the scene, the map and the icons are SVG, the fog is two small canvases.
The brand is fictional: Eldvik Bad, a wood-fired bathhouse and sauna in an old boat shed on the Hornefjord, Norway. Names, people and figures on the page are invented.
What works
- Fogged hero pane: drag or swipe to wipe the glass; it steams up again over about four seconds; drops run down leaving trails
- Wipe the glass button: an animated sweep (motion allowed) or a static wide clear pane that can be steamed up again (reduced motion)
- Live temperatures for seven rooms on a shared 0 to 90 degree scale, with the next ladle time
- Ritual timer: three paces, start, pause, carry on, skip, reset, a proportional track per round, phase announcements
- How busy: the sentence and the bars follow the visitor's clock; a day picker with arrow-key support
- Booking: day and session radiogroups with arrow keys, places left, full and started sessions, guest stepper, add-ons, running total
- Inline validation with specific messages, loading, a booking-line error that keeps your choices, and a confirmation with a reference
- Mobile menu with Escape to close; copy address with a notice; questions accordion
States you can link to
script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.
| Parameter | What it does |
|---|---|
?state=success | fills a demo booking and shows the confirmation. Open ?state=success |
?state=error | fills a demo booking and shows the booking-line error in the receipt. Open ?state=error |
?state=loading | fills a demo booking and stays on the loading button. Open ?state=loading |
?state=invalid | submits with no session and a broken email to show the inline errors. Open ?state=invalid |
?state=ritual | the ritual timer running in round 2, cold, with 38 seconds left. Open ?state=ritual |
?ritual=fast | the ritual timer runs a minute every second, to watch the phases change. Open ?ritual=fast |
?state=wiped | the hero glass wiped almost clear, held for a minute. Open ?state=wiped |
?state=fogged | the hero glass fully fogged, without the hand-wiped patch. Open ?state=fogged |
?time=19:30 | sets the clock (any HH:MM): temperatures, how busy, open line and sessions follow. Open ?time=19:30 |
?day=sat | sets the day of the week (sun to sat), for example a full Saturday or the cold smoke sauna midweek. Open ?day=sat |
?menu=open | opens the mobile menu. Open ?menu=open |
Use it
Copy templates/thermae/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.
The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.
Inspection
Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.
- 1440 px
- Pass
- 1024 px
- Pass
- 768 px
- Pass
- 390 px
- Pass
- Reduced motion
- Pass
- Page weight
- 207 KB, 9 requests
Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.