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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Fine-dining and tasting-menu restaurants that want their menus, wine and cocktails, the room and table bookings on one page.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.