A light one-page seasonal city guide on rag paper: the city painted inside a winding brush-stroke river, a river that paints itself down the page, and a kayak you paddle past five quarters.
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 ý ›
city-riverbendHTML
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.
eat-stay.csssectionEat & stay: six places to eat as drawn plates, three places to sleep under arched windows.
footer.csssectionThe footer on an ink band: the guide's name and blurb, link groups, the tips email and the legal line.
hero.csssectionThe first screen: SPRING spaced out over a huge thin 2026, the guide's intro and the painted city in its river window.
hero.jssectionThe hero's pause button: stops and restarts the painting's loops (the ferry, the glints on the water, the paddling).
letter.csssectionThe newsletter: the pitch, the reader count and the harbor where the river ends, beside the sign-up form.
letter.jssectionThe letter sign-up: checks the email and the picked guides, sends them with sendSignup, then shows sending, sent or couldn't-send.
nav.csssectionThe top bar: the guide's name, section links and the letter button, folding into 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.
quarters.csssectionNeighborhoods: the kayak river with a bend per quarter, then the picked quarter's painting and words.
quarters.jssectionThe kayak slider: drag it down the river (it snaps to the nearest bend), tap a bend or use the arrow keys; each bend shows its quarter.
season.csssectionWhat's on: the blossom branch over this spring's picks, three months side by side on wide screens.
walks.csssectionWalks: the walk picker, the picked walk's distance and stops, and the street map its route brushes onto.
walks.jssectionThe walk picker: shows the picked walk's stops and its route on the map (brushed on again) and counts up its distance.
partspartsWhat several sections share.
art.csspartThe drawn art's colors (paintings, maps, plates, icons): each fill, stroke and gradient stop reads a theme.css color.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the walk's distance, the reader count).
motion.csspartThe page's motion: the hero's brush-open and loops, the section reveals, the gold rules, blossoms, routes and plates.
motion.jspartThe motion helpers the other scripts share, as the page's one global (window.cityRiverbend), and the section reveals.
page.csspartWhat every section shares: the reset, the page column, section titles and their gold rule, the two buttons and the focus ring.
river.csspartThe page-wide river: the brush stroke behind the sections, the two layers that reveal it and the paper boat on its wet tip.
river.jspartThe page-wide river: lays the brush stroke side to side between the sections and paints it in down to where you are reading.
index.html
The page and all its text, one marked block per section.
Đang tải…
Phù hợp cho
City guides, tourism boards and local magazines that publish by season: neighborhoods, events, walks, food, stays and a newsletter.
Cách hoạt động
The river window brushes open on load and paints down the page as you scroll. Drag the kayak to a bend to open that quarter.
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.