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
Đị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 ý ›
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.
Đang tải…
Phù hợp cho
Adventure and walking tour companies: guided hikes, climbs and coast trips with dates, difficulty and online booking.
Cách hoạt động
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.
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.