A dark one-page website for a neighborhood sourdough bakery: score the raw dough yourself and bake it, breads that brown as they scroll in, and a crust whose cut splits open at every section.
React + HTML
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Sombre uniquementConçu pour une page sombre
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec ce template ? Envoyer un avis ›
sourdough-scoreHTML
index.htmlpageThe page and all its text, one marked block per section.
theme.cssthemeThe colors and fonts in one place.
send.jsformThe one function the form calls: plug in your form endpoint here.
sectionssectionsOne file per page section.
bakers.csssectionThe bakers: the two people behind the bread, Maud the starter in her jar, and three numbers that count up.
bakes.csssectionToday's bake: six drawn breads on the cane-brown shelf, each with its price and when it usually sells out.
footer.csssectionThe footer: the last step's score cut, the bakery's name set huge, the section links, how to reach it and the legal line.
hero.csssectionThe first screen: the giant headline, the two actions and the loaf you score and bake yourself.
hero.jssectionThe signature: score the raw dough with a drag or a pattern, then bake it and watch the cuts open.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
preorder.csssectionPre-order for pickup: the form or, once sent, the bag set aside on the shelf with the order's name on it.
preorder.jssectionThe pre-order: steppers and the running total, the field checks, sending with send.js, then the bag on the shelf.
schedule.csssectionWhen the oven opens: the day's batches in time order, with the next one out marked from the visitor's clock.
schedule.jssectionWhen the oven opens: marks the next batch out and fills the day line from the visitor's clock, each minute.
visit.csssectionVisit: the opening hours with today marked, the address and phone, and the drawn shopfront whose sign lights when it is open.
visit.jssectionVisit: marks today in the hours and lights the shop's sign when it is open now, from the visitor's clock, each minute.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About).
flour-dust.jspartFlour sifted over the hero loaf: a canvas of specks that drift down and settle on the board.
motif.jspartRuns the page motif: opens each section's score cut as the reading line reaches it.
motion.csspartThe page's drawn motion: the hero's entrance and bake, the score cuts, and each drawing's scroll-in.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.sourdoughScore.
page.csspartWhat every section shares: the reset, the page column, section titles, the buttons and pill choices, the focus ring and the reveals.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
score-cut.csspartThe page motif: the numbered bread step and the long crust at the top of each section, whose cut opens as you scroll (parts/motif.js).
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives a page-wide motif, with no look of its own.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Sourdough and artisan bakeries with daily bakes, oven times through the day, pre-orders for pickup and a shop to visit.
Fonctionnement
Drag across the dough to score it, then bake: the crust browns and the cuts open. Each section's crust splits as you scroll.
Utilisation
Ouvrez index.html, ou placez le dossier sur n’importe quel serveur statique. Les textes sont dans index.html, les couleurs et les polices dans theme.css, la fonction d’envoi du formulaire dans send.js. La partie HTML simple de README.md donne le reste.
Aucun paquet en plusReact seulement, rien d’autre
36,6 ko gzippé · 36 fichiersLe téléchargement complet