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
Endereço da página: /
Mais abaixo ↓
Já incluído
O que você recebe
Só escuroFeito para uma página escura
Desktop, tablet e celularAs telas para as quais foi feito
Pacotes…
Tamanho do código…
Leve para a bateria30 fps, em repouso quando parado
Pausa quando ocultoFora da tela ou em outra aba
Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este modelo? Enviar feedback ›
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.
Carregando…
Ideal para
Sourdough and artisan bakeries with daily bakes, oven times through the day, pre-orders for pickup and a shop to visit.
Como funciona
Drag across the dough to score it, then bake: the crust browns and the cuts open. Each section's crust splits as you scroll.
Como usar
Abra o index.html ou coloque a pasta em qualquer servidor estático. Os textos estão em index.html, as cores e fontes em theme.css e a função de envio do formulário em send.js. O restante está na parte Plain HTML do README.md.