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 严格模式
代码检查与格式化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.
使用方法
打开 index.html,或把文件夹放到任意静态服务器上。文字在 index.html,颜色和字体在 theme.css,表单的发送函数在 send.js。其余内容见 README.md 的纯 HTML 部分。