A dark one-page website for a Japanese tea house: a matcha bowl you whisk yourself, a framed menu of drawn cups, three tea farms and an ink rail that brushes each section in.
React + HTML
$69
Địa chỉ trang: /
Xem thêm bên dưới ↓
Tích hợp sẵn
Bạn nhận được
Chỉ tốiLàm cho trang nền tối
Máy tính, máy tính bảng và điện thoạiCác màn hình mục này được thiết kế cho
Package…
Dung lượng mã…
Tiết kiệm pin30 fps, nghỉ khi đứng yên
Tạm dừng khi bị ẩnNgoài màn hình hoặc tab khác
Giảm chuyển độngÊm dịu cho người có yêu cầu
Được kiểm tra ở mỗi thay đổi
Kiểm tra kiểuTypeScript strict
Lint và định dạngESLint · Prettier
Test và buildẢnh chụp sáng và tối
Kiểm tra bảo mậtKhông có cảnh báo mức cao hoặc nghiêm trọng
Tuổi của packageMọi phiên bản công khai từ 7 ngày trở lên
CPU khi nghỉDưới nửa nhân khi đứng yên, ≤ 30 fps
Mã nguồn
Template này có gì không ổn? Gửi góp ý ›
matcha-steamHTML
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.
fields.csssectionThe farms: three drawn tea fields with their place names, and the numbers that count up below.
footer.csssectionThe footer: the name in vertical characters with its seal, what it means, the links and the legal line.
hero.csssectionThe first screen: the giant headline, the vertical words and the warm-lit bowl you whisk.
hero.jssectionThe hero's signature: hold the button and the whisk froths the bowl, then the seal stamps it ready.
menu.csssectionThe menu: category tabs and the origin card on the left, three drawn cards per category on the right.
menu.jssectionThe menu's tabs: a click or the arrow keys pick a category, and its origin and cards pour in.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into 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.
ritual.csssectionHow a bowl is made: four numbered steps joined by one brush line, each with its drawing and measure.
visit.csssectionVisit: the shop curtain, opening hours and address beside the reservation form, or once sent, the confirmation.
visit.jssectionThe reservation form: checks each field, sends with sendReservation, then shows the confirmation or the didn't-go-through line.
partspartsWhat several sections share.
art.csspartThe drawings' colors: one class per fill or stroke, each reading a theme.css variable.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (Fields, Ritual).
ink-rail.csspartThe ink rail down the right edge: a hanging-scroll line that fills as you scroll, with each section's word and the seal.
ink-rail.jspartThe ink rail: fills as you scroll, brushes in each section's word when you reach it and stamps the seal at the end.
motion.csspartThe page's motion: reveals, the ink rail, steam, ice, the seal stamps and the menu's pour (the same CSS as the React styles.tsx).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.matchaSteam. Also draws in every [data-reveal] section.
page.csspartWhat every section shares: the reset, the page columns, type, the buttons, chips and the focus ring.
index.html
The page and all its text, one marked block per section.
Đang tải…
Phù hợp cho
Tea houses, matcha bars, cafés and small Japanese restaurants that want a menu, their sources, a ritual and seat bookings.
Cách hoạt động
Hold the button to whisk the bowl until it froths and is stamped. An ink rail fills as you scroll; menu tabs pour in drawn cups.
Cách dùng
Mở index.html, hoặc đặt thư mục lên bất kỳ máy chủ tĩnh nào. Nội dung chữ nằm trong index.html, màu và font trong theme.css, hàm gửi của biểu mẫu trong send.js. Phần Plain HTML của README.md có phần còn lại.