A white one-page website for a guided hiking and climbing company: drawn forests, peaks and sea cliffs in soft mist, joined by one dotted trail that a walker follows down the page.
React + HTML
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Clair uniquementConçu pour une page claire
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 ›
trek-waymarkHTML
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.csssectionThe booking section: the title and the office's details beside the form that holds places on a route, its checks and its sent state.
book.jssectionThe booking form: route, start date and walkers with a live total, the name and email checks, then sending through send.js and the sent or failed state.
climb.csssectionThe climb, day by day: Kestrel Peak drawn as its own mountain, with the walker you drag up its height profile and the day's camp beside it.
climb.jssectionThe climb: drag the walker along Kestrel Peak's profile, tap the chart or a day, or use the arrow keys; the day's camp, height and night follow.
footer.csssectionThe black footer under a wavy edge: brand, link columns, contact and the legal line.
hero.csssectionThe first screen: the drawn river valley under a wavy edge, the giant headline, and the route finder below.
hero.jssectionThe route finder: Find sends the three choices to the routes section (which mists the routes that don't fit) and scrolls there.
nav.csssectionThe top bar: stays at the top while you scroll, see-through over the hero's sky, and folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: the button opens and closes it, a link or Escape closes it.
register.csssectionReviews set as the trail book left in a summit hut: one ruled row per entry, columns on wide screens, stacked on narrow ones.
routes.csssectionThe routes: three stops on the trail, each a drawn scene in mist beside its days, dates, distance and difficulty, alternating sides.
routes.jssectionThe routes: the finder's choice mists the routes that don't fit and says how many do; "Book this route" picks the route in the booking form.
trip.csssectionHow a trip runs: four steps in order on a row of dotted trail, and three numbers that count up.
partspartsWhat several sections share.
count-up.jspartNumbers that count up from zero when they scroll into view: every [data-count] on the page.
drift.jspartScroll drift: every drawn layer slides at its own speed and the mist bands slide sideways, so each scene has depth.
motion.jspartThe helpers the other scripts share, as the page's one global: window.trekWaymark (reduced motion, run-once-in-view and the two page signals).
page.csspartWhat every section shares: the reset, the page root, the two page columns, section titles, the two buttons, the focus ring and the form fields.
scene.csspartThe drawn scenes in soft misty blobs: the three blob masks, the drifting layers, the mist bands and the fog that lifts when the walker arrives.
trail.csspartThe dotted trail and its walker, the waypoint dots it stamps red, and the words that rise as the walker reaches their section.
trail.jspartThe dotted trail down the page: it winds through every waypoint, draws itself as you scroll and stamps each stop red as the walker reaches it.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Adventure and walking tour companies: guided hikes, climbs and coast trips with dates, difficulty and online booking.
Fonctionnement
A dotted trail draws down the page and stamps each route red as you reach it. Drag the walker up the climb, filter routes and book places.
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
35,3 ko gzippé · 31 fichiersLe téléchargement complet