A dark one-page website for a fine-dining restaurant: a seven-course tasting menu served from under a silver cloche, gold deco crests and lattice, drawn food bands and a candle-lit room.
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 ›
dining-vesperHTML
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.
band.csssectionA full-width drawn food band between the menus; its row of food slides sideways as you scroll past.
band.jssectionThe food bands: each row slides sideways as you scroll past, canapés one way and sweets the other.
bar.csssectionThe bar: cocktails and wine, each list beside a drawing set in front of an offset gold lattice.
carte.csssectionÀ la carte: three groups of dishes in two columns, each with its dotted leaders to the price.
footer.csssectionThe footer: the monogram and name, the address and hours, the section links and the legal line.
hero.csssectionThe first screen: the arched window over a candle-lit table, the script word and the giant deco headline.
nav.csssectionThe top bar: monogram, section links and the reserve button; 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.
reserve.csssectionReservations: the form or, once sent, what happens next, beside the address, phone and hours.
reserve.jssectionThe booking form: the guest stepper, each required field's check, sending with send.js, then what happens next or the couldn't-send line.
room.csssectionThe room: the drawn dining room whose lamps light one by one, three counted facts and three notes.
tasting.csssectionThe tasting menu: the serving stage with its cloche, the seven course tabs, the pairing switch and the price.
tasting.jssectionThe tasting menu: the course tabs lower the cloche and lift it on the next plate; the pairing switch pours the wine and counts the price.
partspartsWhat several sections share.
count-up.jspartNumbers that count up from zero the first time they scroll into view.
crest.csspartA section's crest: the gold fan, the script word, and the spaced capitals between two rules that reach the gold frame lines; and the smaller group heading.
gold-frame.csspartThe gold frame down the page: two faint lines just inside the column's edges, and their ink that grows as you scroll.
gold-frame.jspartThe gold frame down the page: its two lines ink themselves as you scroll and light each section's crest diamonds.
menu-list.csspartA printed-menu list: each dish in spaced capitals, a dotted leader running out to its price, the detail below.
motion.csspartThe page's motion: reveals, crests, lattice, the cloche, the pour, flames and lamps (the same CSS as parts/styles.tsx).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.diningVesper; it also reveals every [data-reveal] block.
page.csspartWhat every section shares: the reset, the page column, section titles, the script word, the two buttons and the focus ring.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Fine-dining and tasting-menu restaurants that want their menus, wine and cocktails, the room and table bookings on one page.
Como funciona
Choose a course and a cloche covers the plate, then lifts on the next dish. The pairing switch pours wine; gold lines ink down the page.
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.