A light one-page website for a beauty and day spa in warm cream and espresso: an arched hero slideshow, a leaf line that grows down the page, and a booking form with a live summary.
React + HTML
$39
Địa chỉ trang: /
Xem thêm bên dưới ↓
Tích hợp sẵn
Bạn nhận được
Chỉ sángLàm cho trang nền sáng
Máy tính, máy tính bảng và điện thoạiCác màn hình mục này được thiết kế cho
Package…
Dung lượng mã…
Tiết kiệm pin30 fps, nghỉ khi đứng yên
Tạm dừng khi bị ẩnNgoài màn hình hoặc tab khác
Giảm chuyển độngÊm dịu cho người có yêu cầu
Được kiểm tra ở mỗi thay đổi
Kiểm tra kiểuTypeScript strict
Lint và định dạngESLint · Prettier
Test và buildẢnh chụp sáng và tối
Kiểm tra bảo mậtKhông có cảnh báo mức cao hoặc nghiêm trọng
Tuổi của packageMọi phiên bản công khai từ 7 ngày trở lên
CPU khi nghỉDưới nửa nhân khi đứng yên, ≤ 30 fps
Mã nguồn
Template này có gì không ổn? Gửi góp ý ›
spa-solaceHTML
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.
about.csssectionWho is behind it: the treatment room, a short story and four numbers that count up.
book.csssectionBook your visit: the booking form (chips for day and time) beside a summary card that follows every pick, then the booked view.
book.jssectionThe booking form: Book links pick an item, the next two weeks of days, taken times, the checks, sending, the summary card and the booked view.
footer.csssectionThe footer: brand and socials, three link groups, how to visit, and the bottom line.
hero.csssectionThe first screen: the giant serif headline and two actions, and the arch slideshow with its leaf line and skin-safe card.
hero.jssectionThe hero's arch slideshow: crossfades every few seconds, the thumbnails and arrow keys pick a picture, and the button pauses it.
natural.csssectionNatural care: a wide picture beside a sand card with the promise and three badges.
nav.csssectionThe top: a dark announce bar, then the sticky bar with logo, links, icons and Book now; 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.
offer.csssectionThe first-visit offer: a dark picture banner with the discount, its code and a button.
packages.csssectionThe spa packages: three picture cards with a badge, the price, what's in it, and Book now.
reviews.csssectionWhat guests say: three quote cards with a portrait, a name and five stars.
self-care.csssectionThe self-care banner: a dark still life on the left, the line and Book now on the right.
services.csssectionThe four kinds of care, each a picture card with a round arrow that books it; the card grid treatments share.
story.csssectionThe story banner: a calm picture with its words, a play button and three words that light in turn.
story.jssectionThe story banner's play toggle: drifts the picture and lights the words in turn until paused; "Watch our story" starts it too.
tips.csssectionThe journal: three article cards with a picture, a title and the date; the whole card is the link.
treatments.csssectionThe most loved treatments: picture cards with a heart to save one, the price, and an arrow that books it.
treatments.jssectionThe treatment hearts: each saves its treatment, and the top bar's heart counts the saved ones.
trust.csssectionA sand band of four promises, each with its icon, right under the hero.
why.csssectionWhy guests choose the spa: the title on the left, four icon tiles on the right.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.spaSolace.
page.csspartWhat every section shares: the reset, the page column, headings and their sprig, buttons, cards, pictures, 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.
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives a page-wide motif, with no look of its own.
vine.csspartThe leaf line down the page's left edge (parts/vine.js draws it).
vine.jspartThe page motif: a thin leaf line down the left that grows as you scroll.
photosphotosThe photos the page shows.
about.jpgphotoA photo the page shows.
banner-calm.jpgphotoA photo the page shows.
banner-selfcare.jpgphotoA photo the page shows.
hero-1.jpgphotoA photo the page shows.
hero-2.jpgphotoA photo the page shows.
hero-3.jpgphotoA photo the page shows.
natural-care.jpgphotoA photo the page shows.
offer.jpgphotoA photo the page shows.
package-essentials.jpgphotoA photo the page shows.
package-luxury.jpgphotoA photo the page shows.
package-renew.jpgphotoA photo the page shows.
review-1.jpgphotoA photo the page shows.
review-2.jpgphotoA photo the page shows.
review-3.jpgphotoA photo the page shows.
service-body.jpgphotoA photo the page shows.
service-facial.jpgphotoA photo the page shows.
service-massage.jpgphotoA photo the page shows.
service-nails.jpgphotoA photo the page shows.
tip-aroma.jpgphotoA photo the page shows.
tip-nails.jpgphotoA photo the page shows.
tip-skincare.jpgphotoA photo the page shows.
treat-aroma.jpgphotoA photo the page shows.
treat-gold.jpgphotoA photo the page shows.
treat-hydra.jpgphotoA photo the page shows.
treat-manicure.jpgphotoA photo the page shows.
index.html
The page and all its text, one marked block per section.
Đang tải…
Phù hợp cho
Day spas, beauty salons, massage and facial studios that want a calm, premium site with real photos and online booking.
Cách hoạt động
The hero arch changes pictures slowly, a leaf line grows as you scroll, numbers count up, and Book links fill the booking form.
Cách dùng
Mở index.html, hoặc đặt thư mục lên bất kỳ máy chủ tĩnh nào. Nội dung chữ nằm trong index.html, màu và font trong theme.css, hàm gửi của biểu mẫu trong send.js. Phần Plain HTML của README.md có phần còn lại.