A dark one-page website for a chef-led bistro, lit by its own stove: turn the knob to fire the pan, and each section's order ticket slides along a steel pass rail.
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 ›
bistro-emberHTML
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.
book.csssectionBooking: the form or, once sent, the booking printed as a ticket on the rail, beside the other ways to reach us.
book.jssectionThe booking form: the guest counter, each required field's check, sending with send.js, then the printed ticket or the couldn't-book line.
chef.csssectionThe chef: her story, her rule in big type, her signature drawn in, three numbers and her knife roll.
footer.csssectionThe footer: the name set across the page, opening hours, address, links and the legal line.
hero.csssectionThe first screen: the headline, the two actions and the pan on the gas, with the knob that sets its heat.
hero.jssectionThe stove knob: a slider with four settings you turn by dragging, tapping or the arrow keys; it sets the hero's heat. Also rests your background's drift off screen.
kitchen.csssectionThe kitchen: the four stations a plate crosses, lit one after the other along a heat line.
menu.csssectionThe menu: three course tabs whose dishes pour in with copper leader lines, beside the wood oven and its heat.
menu.jssectionThe menu's course tabs: a click or the arrow, Home and End keys show a course, and its dishes pour in again.
nav.csssectionThe top bar: logo, section links and the booking button; a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: the button opens and closes it, Escape and a link close it.
reviews.csssectionReviews: one press line set big, the guest score counted up and two guests in their own words.
signatures.csssectionThe three signature dishes: plates drawn from above that build up part by part as they come into view.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (Chef, Menu, Reviews).
motion.csspartThe page's motion: the hero's heat and toss, the pass rail tickets, reveals and the drawn kitchen at work. Every animation and transition sits in the no-preference block.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.bistroEmber. Also draws in every [data-reveal] block.
page.csspartWhat every section shares: the reset, the page column, type, section titles, the two buttons and the focus ring.
pass-ticket.csspartThe page motif: the steel pass rail each section opens with, and the order ticket that hangs on it.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Chef-led bistros, grill houses and small restaurants with an open kitchen: the chef, the kitchen, signature dishes, menu and bookings.
Como funciona
Turn the stove knob to heat the pan until it tosses. As you scroll, order tickets slide along the rail and plates build up.
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.