A dark slate website for a neighborhood sushi counter where vermilion brush strokes paint in as you scroll: a menu of drawn plates, an ingredients platter, an omakase board you click through and a booking form.
React + HTML
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Sombre uniquementConçu pour une page sombre
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec ce template ? Envoyer un avis ›
sushi-strokeHTML
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.
counter.csssectionThe chef's counter: the omakase board with the chef's hand, the piece's card beside it and three numbers that count up.
counter.jssectionThe omakase board: each Next sets the next nigiri down with the chef's hand while its name brushes in; Previous, arrow keys and swipes too.
footer.csssectionThe footer: the seal and name, address and hours, phone and email, the legal line.
hero.csssectionThe first screen: the giant brush 鮨 over its sweep, the drawn nigiri on wet slate, the headline and the two actions.
ingredients.csssectionWhat goes into one piece: the platter in the middle, three labels on each side whose lines draw to what they name.
menu.csssectionThe menu by type: four tabs with line drawings and a grid of hinoki plates, one dish on each.
menu.jssectionThe menu tabs: a click or the arrow keys show that type's plates, which are set down one after another.
nav.csssectionThe top bar: the seal and name, links and the reserve button; stays at the top while you scroll and 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.
reserve.csssectionReserve: the booking form (date, sitting, guests, name, mobile, a note) or, once sent, the vermilion 予約済 seal and what happens next.
reserve.jssectionThe booking form: checks each required field, sends with send.js, then stamps the 予約済 seal beside what happens next, or shows the couldn't-send line.
signatures.csssectionThree pieces set large, each beside its name in tall brush katakana on a downward sweep; the rows alternate sides.
visit.csssectionHours and location: the sittings, the address and phone, and the drawn map with its route from the station.
partspartsWhat several sections share.
art.jspartThe drawn sushi: the shared SVG pieces (rice grain, nori, gloss, shading), nigiri and gunkan by kind, and the hero's still life.
brush.jspartThe dry-brush strokes: bristle lanes that merge into a solid body and split into streaks toward the tail, drawn into every [data-stroke].
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About).
dish.jspartThe other drawings: menu dishes on hinoki plates (sashimi, rolls, donburi), the ingredients platter with its label lines, the omakase board and the chef's hand.
motif.jspartThe page motif: every brush sweep in the sections below the hero paints itself in as the reading line reaches it.
motion.csspartThe page's motion: the brush sweeps painting in with the scroll or on load, the hero's arrival, the omakase board and the seal.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.sushiStroke.
page.csspartWhat every section shares: the reset, the page column, the type, the two buttons, the focus ring, the reveals and the section headings.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives the page motif, with no look of its own.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Sushi bars, omakase counters and small Japanese restaurants that want a full site: menu by type, ingredients, hours, map and bookings.
Fonctionnement
Brush strokes paint under each Japanese title as you scroll; Next piece sets each omakase nigiri on the board by the chef's hand.
Utilisation
Ouvrez index.html, ou placez le dossier sur n’importe quel serveur statique. Les textes sont dans index.html, les couleurs et les polices dans theme.css, la fonction d’envoi du formulaire dans send.js. La partie HTML simple de README.md donne le reste.
Aucun paquet en plusReact seulement, rien d’autre
37,1 ko gzippé · 35 fichiersLe téléchargement complet