A light one-page website for a loose-leaf tea shop painted in ink wash: misty mountains paint themselves in, an ink drop falls into every section, and a cup you steep on screen blooms with the tea's color.
React + HTML
$69
Endereço da página: /
Mais abaixo ↓
Já incluído
O que você recebe
Só claroFeito para uma página clara
Desktop, tablet e celularAs telas para as quais foi feito
Pacotes…
Tamanho do código…
Leve para a bateria30 fps, em repouso quando parado
Pausa quando ocultoFora da tela ou em outra aba
Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este modelo? Enviar feedback ›
tea-inkwashHTML
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.
brew.csssectionThe brewing guide: the cup seen from above (the right on wide screens), the row of tea types, the clock and numbers, and the Steep button.
brew.jssectionThe steeping guide: picking a type shows its numbers and empties the cup; Steep runs the clock down in six seconds while the cup fills, then shows it ready.
footer.csssectionThe footer: the last ink drop falls into a pool, then the shop's name, the section links, contact, the address and the legal line.
gifts.csssectionThe gift sets: three drawn sets in a row on wide screens (the middle one a little lower), stacked on a phone, each with what is inside and a price.
hero.csssectionThe first screen: the giant headline ending in an ink drop, the actions, three notes, and the ink painting (on the right on wide screens, under the words on narrow ones).
nav.csssectionThe top bar: sticky over the page with a frosted paper ground, the section links on wide screens, the bag with its count, and the menu on narrow ones.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
order.csssectionThe order form: the bag with its steppers, shipping and total beside collect or post, name, email and (for post) an address; then the "order placed" view.
order.jssectionThe order form: draws the bag with its steppers and total, shows the address for post, checks each field by its data-pattern, sends the order and shows the "order placed" view.
shop.csssectionThe corner shop: the title beside the drawn shop front on wide screens, then the opening hours, the address and three numbers that count up.
teas.csssectionThe teas by type: a row of six tabs, then the picked type's panel with its brewing numbers and two teas as round leaf samples.
teas.jssectionThe tea type tabs: a click or the arrow keys pick a type and show its panel (its leaf samples spin in again).
partspartsWhat several sections share.
art.csspartThe drawings' colors as small classes (ti-f-* fills, ti-s-* strokes; -70 is that color at 70%), each one a theme.css variable, and the leaf samples' plate.
bag.jspartThe bag the teas, the gift sets, the top bar and the order form share; every [data-add] button puts one in it and says so to screen readers.
count-up.jspartNumbers that count up from zero when they scroll into view: every [data-count].
leaf-sample.jspartDraws each tea's round leaf sample: every <svg data-leaf> gets its pieces by kind (flat, needle, bud, curl, pearl, twist, grain, cake, petal or shard), seeded by data-seed, in its data-tone color.
motion.csspartThe page's motion: the hero painting in, the ink drops and washes, the leaf samples, gift lids, brush lines and the steeping cup. Sections with data-reveal wait (data-armed) until they scroll into view (data-shown); motion.js sets both. Every animation and transition sits inside the no-preference block, so reduced motion gets the still, fully painted page.
motion.jspartThe helpers the other scripts share, as the page's one global: window.teaInkwash. Also plays every [data-reveal] section as it scrolls in.
page.csspartWhat every section shares: the reset, the page column, the serif and section titles with their ink-drop wash, the buttons, fields and the focus ring.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Loose-leaf tea shops, tea rooms with a counter and small online tea sellers with teas by type, gift sets and orders.
Como funciona
An ink drop falls into each section and blooms into its wash. Pick a tea and press Steep: its color spreads through the cup as the clock runs.
Como usar
Abra o index.html ou coloque a pasta em qualquer servidor estático. Os textos estão em index.html, as cores e fontes em theme.css e a função de envio do formulário em send.js. O restante está na parte Plain HTML do README.md.