What I built
Dormitorium is a magic café that I made up, with two places – in Kraków and in Katowice. I wanted to show what a café's website could look like if it had the mood of the place – antiques, portraits in golden frames and a bit of magic. Each city has its own colours and its own magic, and the texts wink at “Harry Potter” fans: there is a Room of Requirement, Amortentia and a restricted section.
I am learning React, so I built the website in Next.js – as a static site on GitHub Pages. Claude Code wrote the code, but it did not come from a single prompt. First, I spent a week designing both versions: the colours of the cities, the first screen, the lanterns, my drawings and the places where I hid them. Then there were many changes in the code – I reworked the step from the first screen into a city page five times, and I adjusted the wizard's footprints in Kraków several times for different screen widths.
Lighthouse results on a phone (measured on 25 Nov 2026): Katowice (Lighthouse in Chrome) – 92 for performance and 100 for accessibility, best practices and SEO. Kraków (PageSpeed Insights) – 99 for performance.
Katowice and Kraków – two kinds of magic
- Katowice (navy and gold): lanterns hang by the headings. As you scroll, a firefly flies in an arc to the next lantern and lights it – the idea came from the Deluminator, which Dumbledore used in “Harry Potter” to put out and light the street lamps.
- Kraków (green and silver): I hid my drawings in empty spaces by the sections – a hat, a cauldron with imps, an owl and a book with a sock. You see them only in the light of the wand, like after the Revelio spell.
- Shared: a first screen where you step into a painting, a wand cursor, a gallery in frames, banners with the offer and a map from OpenStreetMap in parchment colours, with a wax seal – no Google scripts or cookies.
Computer and phone
- On a computer, the cursor is a wand with light and sparks, and the banners, frames and buttons react on hover.
- On a phone, there is no cursor: the drawings in Kraków get brighter near the middle of the screen and under your finger, the lanterns in Katowice hang above the headings, and hover effects are off.
- With reduced motion, the animations stop and the lanterns simply shine.
- The website works from 320 px, with the menu in a separate panel.

