🏗️
En ligne

BCE Costruzioni

Corporate website for a construction company in Lombardy. Navigation is instant: Turbo swaps the page body without a reload, with animated transitions where the header and footer stay put while only the content crossfades. Three React islands mounted by Vite handle what plain HTML cannot — a contact form that validates as you type and filters inappropriate language, a smooth carousel, and a drag-and-drop upload zone in the admin panel. The heart of the project is the media library. An image is uploaded once, then placed wherever it is needed: in a project, in the carousel, next to a field of work. A single mechanism governs ordering, visibility and cover photo across all three contexts. Uploads are converted to WebP on the fly — about a quarter lighter at equal quality — and split into batches so they never exceed the server limits. The admin panel is hand-written, with no generator: the owner publishes a site, reorders its photos and answers enquiries without a developer stepping in. On compliance, the consent banner blocks all measurement before the visitor chooses, and the technical logs truncate IP addresses.