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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Tea houses, matcha bars, cafés and small Japanese restaurants that want a menu, their sources, a ritual and seat bookings.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.