A dark one-page website for a massage studio on aubergine ink: tap the knots on a drawn back to release them, and one long stroke down the page loosens each section as you scroll.
React + HTML
$69
Địa chỉ trang: /
Xem thêm bên dưới ↓
Tích hợp sẵn
Bạn nhận được
Chỉ tốiLàm cho trang nền tối
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 ý ›
massage-rippleHTML
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.csssectionThe about bento: the founder's story beside drawn tiles and short facts.
booking.csssectionThe booking section: the form or, once sent, what happens next, beside where to find us.
booking.jssectionThe booking form: checks name and mobile, sends with send.js, then shows what happens next or the couldn't-send line.
footer.csssectionThe footer: logo and tagline, two link columns, the legal line and back to top.
hero.csssectionThe first screen: the giant sand headline beside the body map, its knots and its card.
hero.jssectionThe body map: tap a knot on the drawn back, it lets go, and the card names the treatment for that spot with a Book link.
nav.csssectionThe top bar: logo, section links, the pause switch and Book; 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.
program.csssectionYour first hour: four numbered steps, each a round drawing on one line that draws itself in.
reviews.csssectionThe reviews: one quote set large, two beside it, under the overall rating.
stats.csssectionFour numbers in a row under the hero, each counted up when it scrolls in.
therapists.csssectionThe therapists: four drawn portraits with each one's specialty and pressure.
treatments.csssectionThe treatments: six massages in rows, with the zones they work, their pressure and both prices.
treatments.jssectionEach treatment's Book link picks that treatment in the booking form.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the stats row).
motion.jspartThe helpers the other scripts share, as the page's one global (window.massageRipple), plus the pause switch, scroll reveals and on-screen loops.
page.csspartWhat every section shares: the reset, the page column, titles, buttons, the focus ring, the honey light, reveals and loops.
stroke.csspartThe long stroke down the left gutter, the light on its tip, and the knot beside each section's title.
stroke.jspartThe long stroke down the page: draws itself as you scroll, a light rides its tip, and each section's knot lets go when it arrives.
index.html
The page and all its text, one marked block per section.
Đang tải…
Phù hợp cho
Massage studios and bodywork clinics that want treatments, a first-visit guide, therapists, reviews and booking on one page.
Cách hoạt động
Tap a knot on the drawn back and it lets go and names a treatment. A stroke draws down the page as you scroll, freeing each section's knot.
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.