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
ページのアドレス: /
下にさらに表示 ↓
組み込み済み
付属するもの
ダークのみダークなページ向け
デスクトップ、タブレット、スマホ対応している画面
パッケージ…
コードサイズ…
バッテリーに優しい30 fps、静止時はアイドル
非表示時は停止画面外や別タブのとき
モーションの軽減設定している人には穏やかに
変更のたびに検証
型チェックTypeScript の strict モード
Lint とフォーマットESLint · Prettier
テストとビルドライトとダークのスクリーンショット
セキュリティ監査重大・高リスクの脆弱性なし
パッケージの公開期間すべてのバージョンが7日以上前に公開
アイドル時の CPU静止時は半コア未満、30 fps 以下
コード
このテンプレートに気になる点がありますか? フィードバックを送る ›
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.
読み込み中…
こんな用途に
Chef-led bistros, grill houses and small restaurants with an open kitchen: the chef, the kitchen, signature dishes, menu and bookings.
仕組み
Turn the stove knob to heat the pan until it tosses. As you scroll, order tickets slide along the rail and plates build up.