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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Day spas, massage studios and wellness centers that want a calm full website: treatments with prices, the visit, reviews and booking.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.