SECTION · MENU
Un meniu digital, construit pentru apetit
Category tabs across the whole menu, signature platters with RON pricing, and a reservation call-out for the table.
A Turkish grill in Bucharest wanted a dark, atmospheric site with real food photography. The build carries a floating-ember effect that costs the browser zero JavaScript per frame.
01 / THE REQUEST
Bucharest, Romania. A Turkish grill wanted the site to feel like the food: dark, mood-lit, atmospheric, with delivery links front and center for Glovo and Wolt (src/data/site.ts:16), RON pricing, and a real address, not a template with stock photography.
02 / THE PROBLEM
An ember/particle effect run in JavaScript means a per-frame loop computing position, opacity and drift for every particle, competing with everything else on the main thread. On a restaurant site loaded mostly on phones over restaurant wifi, that is exactly the wrong place to spend a frame budget.
03 / THE CHALLENGE
The ember field is a frozen 16-entry seed table (src/components/effects/EmberField.tsx:9-26) written once as inline CSS custom properties, which GPU-composited keyframe animations then consume (src/app/globals.css:97-110). There is no animation loop: the browser's compositor handles every frame after the initial paint.
Because the seed table is a fixed array evaluated the same way on server and client, there is no hydration mismatch, the thing a random-per-render particle system would hit immediately in a server-rendered React app. About 20 named keyframes drive the full effect, with a blanket prefers-reduced-motion override (globals.css:780-800) that disables the whole system for users who ask for it.
Food photography was compressed with a WebP pass that cut roughly 8 MB down to 3.4 MB, the difference between a fast-loading gallery and a stall on a restaurant's phone-heavy traffic.
04 / THE SOLUTION
A frozen seed table drives GPU-composited keyframes. Zero JavaScript per frame, no hydration mismatch.
A single blanket rule disables the entire effect system for users who ask for less motion.
WebP pass cut the gallery from roughly 8 MB to 3.4 MB.
Real Bucharest address, RON pricing, direct Glovo and Wolt links.
05 / THE RESULT
IN MOTION / SCROLL RECORDING
Recorded from the live site at hand speed. Headlines blur into focus as each block arrives, and on a phone the call and delivery buttons stay pinned to the bottom edge.
SECTION · MENU
Category tabs across the whole menu, signature platters with RON pricing, and a reservation call-out for the table.
SECTION · GALLERY, MAP
Guest reviews, a photo gallery of the grill, then the Nerva Traian address on a dark map with a call button and one-tap directions.
MOBILE · 390PX
On a phone the site keeps Menu, Call, Directions, Glovo and Wolt pinned to the bottom edge, so ordering never scrolls out of reach.
BUILT WITH
Next project
scroll-craft