A dark one-page website for a day spa on a navy-to-olive ground: italic headlines with faded echoes, drawn scenes in blob windows, palm fronds, and a lotus you hold to breathe with.
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 ›
spa-lotusHTML
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 form or, once sent, what happens next, beside the address and hours.
book.jssectionThe booking form: checks each required field, sends with send.js, then shows what happens next or the couldn't-send line.
footer.csssectionThe footer: lotus logo, address and hours, link columns and the legal line.
hero.csssectionThe first screen: the giant italic headline over its echo, a candlelit scene in a blob window and the breathing lotus.
hero.jssectionThe hero's lotus: press and hold to breathe in, let go to breathe out; three breaths light the Book button.
house.csssectionThe house: the story beside the garden pool in a blob window, and three numbers that count up.
nav.csssectionThe top bar: links split either side of the centered lotus logo, pause and Book; a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, Escape and a link close it.
reviews.csssectionWhat guests say: one quote set large in italic, two more beside it.
treatments.csssectionThe treatments: four round line-art icons as tabs; the picked one shows what it involves, lengths and prices.
treatments.jssectionThe treatment tabs: click or arrow keys pick one; its details fade up below.
visit.csssectionHow a visit runs: four steps, each in its own blob scene, joined by a drawn stream.
partspartsWhat several sections share.
backdrop.csspartThe hero's ground from a background of yours (data-follow-background).
backdrop.jspartRests your background's drift while the hero's ground is off screen.
breath.csspartThe page's one breath (10s: 4s in, 6s out), scroll reveals, line drawings drawing in, the palm fronds, and pause.
breath.jspartThe page's motion: the pause switch, scroll reveals and the echo words sliding as their sections pass.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (The house).
heading.csspartSection titles: the italic headline over a faded upright echo word, and a small lotus with ripples.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.spaLotus.
page.csspartWhat every section shares: the reset, the page column, section spacing, the blob shapes, the buttons and the focus ring.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Day spas, massage studios and wellness centers that want a calm full website: treatments with prices, the visit, reviews and booking.
Fonctionnement
The page breathes on one slow beat. Hold the hero lotus to breathe in, let go to breathe out; after three breaths the Book button lights.
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
31,0 ko gzippé · 26 fichiersLe téléchargement complet