[{"data":1,"prerenderedAt":189},["ShallowReactive",2],{"project-\u002Fprojects\u002F2026\u002Falahamora":3,"project-posts-\u002Fprojects\u002F2026\u002Falahamora":182,"i-lucide:x":183,"i-lucide:play":187},{"id":4,"title":5,"agency":6,"body":7,"compare":6,"cover":62,"date":68,"description":69,"draft":70,"extension":71,"facts":72,"featured":70,"gallery":85,"galleryLead":108,"highlights":109,"image":63,"links":122,"meta":125,"motion":126,"motionLead":6,"navigation":88,"note":167,"ogImage":168,"path":169,"seo":170,"stack":171,"stem":177,"tags":178,"__hash__":181},"projects_en\u002Fprojects\u002F2026\u002Falahamora\u002Findex.md","Alahamora",null,{"type":8,"value":9,"toc":56},"minimark",[10,14,17,20,25,38,42],[11,12,13],"p",{},"Alahamora is a magic café with two places – in Gliwice and in Katowice. I made this project on my own initiative: I wanted to show what their website could look like if it had the mood of the café – antiques, portraits in golden frames and a bit of magic. Each city has its own colours and its own magic.",[11,15,16],{},"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 Gliwice several times for different screen widths.",[11,18,19],{},"Lighthouse results on a phone: Katowice (Lighthouse in Chrome) – 92 for performance and 100 for accessibility, best practices and SEO. Gliwice (PageSpeed Insights) – 99 for performance.",[21,22,24],"h2",{"id":23},"katowice-and-gliwice-two-kinds-of-magic","Katowice and Gliwice – two kinds of magic",[26,27,28,32,35],"ul",{},[29,30,31],"li",{},"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.",[29,33,34],{},"Gliwice (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.",[29,36,37],{},"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.",[21,39,41],{"id":40},"computer-and-phone","Computer and phone",[26,43,44,47,50,53],{},[29,45,46],{},"On a computer, the cursor is a wand with light and sparks, and the banners, frames and buttons react on hover.",[29,48,49],{},"On a phone, there is no cursor: the drawings in Gliwice 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.",[29,51,52],{},"With reduced motion, the animations stop and the lanterns simply shine.",[29,54,55],{},"The website works from 320 px, with the menu in a separate panel.",{"title":57,"searchDepth":58,"depth":58,"links":59},"",2,[60,61],{"id":23,"depth":58,"text":24},{"id":40,"depth":58,"text":41},{"desktop":63,"phone":64,"width":65,"height":66,"alt":67},"\u002Fprojects\u002F2026\u002Falahamora\u002Ffirst-screen.webp","\u002Fprojects\u002F2026\u002Falahamora\u002Fphone-gliwice.webp",1440,900,"Alahamora Gliwice – the first screen of the website","2026-11-24","A concept website for a magic café in Gliwice and Katowice – you step into a painting, lanterns light up as you scroll, and a wand cursor reveals hidden drawings.",false,"md",[73,76,79,82],{"value":74,"text":75},"10","days from the first sketch to the finished preview (16–25 Nov 2026)",{"value":77,"text":78},"123","commits in the repository – from the first screen to image optimisation",{"value":80,"text":81},"7","of my drawings redrawn as SVG – from an owl to the castle in the footer",{"value":83,"text":84},"92–99","performance in Lighthouse on a phone, and 100 for accessibility, best practices and SEO",[86,91,95,100,104],{"src":87,"full":88,"alt":89,"caption":90},"\u002Fprojects\u002F2026\u002Falahamora\u002Fpage-gliwice.webp",true,"Alahamora Gliwice – the whole page with the drawings revealed","Gliwice – the whole page with all the drawings at once. On the website, you see them in the light of the wand",{"src":92,"full":88,"alt":93,"caption":94},"\u002Fprojects\u002F2026\u002Falahamora\u002Fpage-katowice.webp","Alahamora Katowice – the whole page with the lanterns lit","Katowice – the whole page with all the lanterns lit at once. On the website, the one the firefly has reached is lit",{"src":96,"device":97,"alt":98,"caption":99},"\u002Fprojects\u002F2026\u002Falahamora\u002Fphone-katowice.webp","phone","Alahamora Katowice on a phone","Katowice on a phone",{"src":101,"width":65,"height":66,"alt":102,"caption":103},"\u002Fprojects\u002F2026\u002Falahamora\u002Fchoose-location.webp","Choosing a café – two frames with paintings of Gliwice and Katowice","Choosing a café – a brick wall and two framed paintings",{"src":105,"width":65,"height":66,"alt":106,"caption":107},"\u002Fprojects\u002F2026\u002Falahamora\u002Fnot-found.webp","404 page – This chamber is not on the map","The 404 page (in Polish) – “This chamber is not on the map”","Screenshots of the live project – click one to see it bigger.",[110,113,116,119],{"title":111,"text":112},"Into the painting without a jump","The frame on the first screen zooms in until the photo sits pixel for pixel where it is at the top of the café's page. Only then does View Transitions swap the page, so nothing blinks.",{"title":114,"text":115},"Drawings revealed by light","The drawings are CSS masks made from SVG files, and their brightness depends on the distance from the cursor. On touch screens, the distance from the middle of the screen and the touch point count instead.",{"title":117,"text":118},"Light photos and graphics","At build time, a script makes AVIF and WebP files in a few widths from every photo. The drawings went through SVGO, and the ones off screen load only when you scroll to them.",{"title":120,"text":121},"Effects only where they make sense","Hover effects work only with a mouse, so nothing stays highlighted after a tap on a phone. There is no wand cursor on touch screens or with reduced motion.",{"live":123,"github":124},"https:\u002F\u002Flukaszdzielo.github.io\u002Falahamora\u002F","https:\u002F\u002Fgithub.com\u002Flukaszdzielo\u002Falahamora",{},[127,132,137,142,147,152,157,162],{"src":128,"poster":129,"title":130,"text":131},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-wejscie.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-wejscie-poster.webp","Stepping into the painting","After a click, the frame zooms in and the photo turns smoothly into the top of the café's page – no blink, no jump.",{"src":133,"poster":134,"title":135,"text":136},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-miasta.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-miasta-poster.webp","Two kinds of magic side by side","On the left, Katowice – a firefly lights a lantern. On the right, Gliwice – the light of the wand reveals a hat.",{"src":138,"poster":139,"title":140,"text":141},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-latarnie.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-latarnie-poster.webp","Lanterns in Katowice","As you scroll, a firefly flies to the lantern by the next section and lights it.",{"src":143,"poster":144,"title":145,"text":146},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-revelio.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-revelio-poster.webp","Drawings under the wand in Gliwice","You see the hat and the notes only in the light of the wand. On a phone, they appear when they are close to the middle of the screen.",{"src":148,"poster":149,"title":150,"text":151},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-proporce.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-proporce-poster.webp","Banners with the offer","On hover, a banner swings on its rod together with its tassel, and candles flicker above it.",{"src":153,"poster":154,"title":155,"text":156},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-galeria.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-galeria-poster.webp","A gallery in frames","Every photo has a different frame that swings on its nail. In some photos, the lamp light flickers.",{"src":158,"poster":159,"title":160,"text":161},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-lustra.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-lustra-poster.webp","Mirrors in a carousel","The photo in a mirror follows the cursor, and the arrows scroll the carousel.",{"src":163,"poster":164,"title":165,"text":166},"\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-telefony.mp4","\u002Fvideo\u002Fprojects\u002F2026\u002Falahamora\u002Falahamora-telefony-poster.webp","On a phone","Without a cursor, the lanterns light up as you scroll, and the drawings get brighter as they reach the middle of the screen.","A concept I made on my own initiative – the café did not order it. Claude Code wrote the code – I designed the whole thing, drew the drawings, decided on the animations and checked every view. The photos come from their website, and I redrew the logo as a vector from their PNG file. Booking and the other subpages wait for the café's decision.","\u002Fog\u002Fprojects\u002Falahamora-en.jpg","\u002Fprojects\u002F2026\u002Falahamora",{"title":5,"description":69},[172,173,174,175,176],"Next.js","React","CSS","View Transitions","SVG","projects\u002F2026\u002Falahamora\u002Findex",[179,180],"react","javascript","NXhxbKiLfJSHhQiVIPwsBp35l7dL7NbEAE6kGNXL4Io",[],{"left":184,"top":184,"width":185,"height":185,"rotate":184,"vFlip":70,"hFlip":70,"body":186},0,24,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"\u002F>",{"left":184,"top":184,"width":185,"height":185,"rotate":184,"vFlip":70,"hFlip":70,"body":188},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\"\u002F>",1795635433872]