Sami Bentaleb
All work

Cafe The Lucky Boots

A Japanese and English site for a café that rents rooms, drawn as the building in cross-section. Tap a room for photos, prices and booking.

Stack
Astro, TypeScript, Cloudflare Workers

Client: Cafe The Lucky Boots

The home page drawn as the café building in cross-section, with each upstairs room as wide as its floor area and each part a link.
The building as the navigation.

The problem

Cafe The Lucky Boots is a reservation-only American-style café in Kushiro, Hokkaido, that also rents rooms. A guest arriving in Japanese or in English has to see what a room costs and how to book it. Booking is by phone or email, so the site has to put the right number in front of them quickly.

A room's panel: photograph, area, price and capacity.

My part

Design and build: the Japanese and English pages, the cross-section drawing and the booking panels. The café's owner agreed that I build a new site and show it to him.

The Japanese version.

Architecture

A static Astro site on Cloudflare Workers, prerendered in Japanese at /ja and English at /en. Rooms, prices, hours and contact details live in one facts module, and the two languages share one typed copy interface, so a missing English line fails the type check.

The home page is the building drawn in cross-section. Upstairs rooms are as wide as their floor areas, and every part is a plain link to a panel with photos, prices and a way to book. Motion is CSS plus one small inline script written so that it cannot leave content hidden. Booking is phone first, with a tap-to-call panel plus email and map links and no web form.

The English home page, above the building.

Hard parts

Rooms at true scale on a phone. The first build gave each cell a minimum width, so at 390 px a 6 square metre room was stretched from about 26 px to about 42 px and looked bigger than it is. Each cell now has no minimum and is its own size container, so its letter and padding shrink with it. Japanese area labels turn vertical so the narrowest cell still holds one.

Panels that never slid in. The first motion pass animated a panel only when it was the link target, so one reached by scrolling never appeared. An IntersectionObserver now reveals panels as they scroll into view, and nothing starts hidden for a visitor without JavaScript or with reduced motion on.

Accessible names. Lighthouse flagged links whose labels differed from their visible text, and low contrast on the large faded kanji. Links are now named from their visible text, and the kanji is drawn with CSS from a data attribute.

  • 390 pxthe phone width where the first build went wrong
  • 26 pxa room's width as it should be
  • 42 pxits width as it was drawn

Outcome

The site is live at a showing address of mine, in Japanese and English, with home, rooms, dinner and privacy pages. It is not yet the café's own site, and the owner has not decided whether to adopt it. A local Lighthouse run scored 100 for accessibility. I have not recorded performance numbers.

The dinner page.