A dark one-page website for a harbour-side seafood restaurant on bottle-green: catches etched in bone-white lines, a catch wheel that lays the next one on the slate, and giant watermark words that engrave as you scroll.
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 ›
harbour-etchHTML
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.csssectionBook a table: the form on the deep panel or, once booked, when the table is held.
book.jssectionThe booking form: checks each required field, books with send.js, then shows when the table is held or the couldn't-book line.
catch.csssectionThe catch: this week's plates on stoneware, then the three promises behind them with their etched creatures.
chef.csssectionChef's words: the etched board, her quote, and a signature that writes itself in.
footer.csssectionThe footer: where to find us, the gull and the line, and the opening hours.
guests.csssectionGuest stories: three notes from the guest book, each under a big lemon quote mark.
hero.csssectionThe first screen: the headline over the catch's giant outlined name, the slate with today's catch, and the catch wheel.
hero.jssectionThe catch wheel: click, drag or arrow it round to lay the next catch on the slate, swap the giant word and tell screen readers.
journal.csssectionThe journal: three posts from the quay, each with an etched cover.
menu.csssectionToday's offers and the menu on the deep band: a swaying etched octopus beside the price list.
menu.jssectionThe menu's tabs: today's offers and the standing lists; switching draws the price leaders across again.
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.
numbers.csssectionThe quay in numbers: four counts that tick up between hairlines.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the numbers row).
engraver.jspartThe page motif: follows the reading line down the page and hands each section how far its watermark word is engraved.
etch.csspartThe etchings and the page motion: etching layers, engraving in, the watermark words, the catch wheel and the price leaders. The same CSS as parts/styles.tsx in the React version.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.harbourEtch.
page.csspartWhat every section shares: the reset, the page column, type, the two buttons, the focus ring and the reveals.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Seafood restaurants, oyster bars and fish kitchens that want the catch, the menu, guest stories, a journal and table bookings on one page.
Fonctionnement
Turn the catch wheel and the next catch engraves itself on the slate. Each section's giant word cuts in as you scroll; price leaders draw.
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,9 ko gzippé · 35 fichiersLe téléchargement complet