Demo holiday park website showing the Tillor online booking widget
  • TypeScript 94.8%
  • CSS 3.5%
  • Dockerfile 0.9%
  • HTML 0.8%
Find a file
Niels Warrens 09923d36fa
All checks were successful
🐳 Build demo image / 🐳 Build demo image (push) Successful in 25s
Merge branch 'main' of https://git.tillor.dev/tillor-bv/tillor-demo into claude/elated-mccarthy-9d94d0
2026-10-15 15:48:02 +02:00
.claude ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
.forgejo/workflows 👷 ci: create a TLS docker context for buildx on the Forgejo runner 2026-10-15 14:34:29 +02:00
src Merge branch 'main' of https://git.tillor.dev/tillor-bv/tillor-demo into claude/elated-mccarthy-9d94d0 2026-10-15 15:48:02 +02:00
.dockerignore ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
.env.example ✨ feat: SDK example with live availability and quote next to the widget 2026-10-15 15:46:51 +02:00
.gitignore ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
bun.lock ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
components.json ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
Dockerfile ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
index.html 💄 ui: restyle the demo park in the camping-vlasaard.be form 2026-10-15 15:34:18 +02:00
nginx.conf ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
package.json ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
README.md ✨ feat: SDK example with live availability and quote next to the widget 2026-10-15 15:46:51 +02:00
tsconfig.app.json ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
tsconfig.json ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
tsconfig.node.json ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00
vite.config.ts ✨ feat: demo park site with Tillor booking widget and callouts 2026-10-15 14:25:10 +02:00

Tillor demo park

A fictional holiday park website, Vakantiepark De Zilverberk, that shows what the Tillor online booking widget does: every widget feature is pointed out on the page with dotted callouts, the way wijdwater.nl demos its booking flow, and the callouts light up on the track events the widget posts to the page.

Built with React, Vite, Tailwind and shadcn/ui. Published as a Docker image (nginx) from the Forgejo pipeline in .forgejo/workflows/build.yml.

The last section, Voor ontwikkelaars, uses the booking SDK (booking-sdk.js, served next to the loader) instead of the iframe: the accommodation tiles, date range, party, extras and the live quote are drawn by this page from getConfig(), getAvailability() and quote(), and the tillor_booking_* events come in through booking.on("*").

Run it

bun install
bun run dev

The widget and the SDK load from the Tillor app named in VITE_TILLOR_APP_URL (default http://localhost:3000, see .env.example). The org id and widget key default to the seeded Vlasaard park. VITE_TILLOR_SDK_URL loads booking-sdk.js from somewhere else, for local work against an app that does not serve it yet.

Image

docker build -t tillor/demo --build-arg VITE_TILLOR_APP_URL=https://app.tillor.eu .
docker run -p 8080:80 tillor/demo

The CI build reads TILLOR_APP_URL, TILLOR_ORG_ID and TILLOR_WIDGET_KEY from the repository's Actions variables when set.