A dark one-page website for a small design studio, set in a live meadow at dusk: a stem grows down the page, case studies and posts are drawn scenes, and a dandelion waits to be blown.
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 ý ›
agency-meadowHTML
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.
clients.csssectionWhat clients say: the title at the left, one quote at a time beside it, switched by dots with a crossfade.
clients.jssectionThe quote dots: each shows its quote and hides the others (inert, so only the shown one is read and focused).
contact.csssectionThe closing invitation: a band at the water's edge, fireflies over the reeds, and the one action of the page.
footer.csssectionThe footer: the studio in a line, three link groups, the newsletter sign-up and the legal line.
footer.jssectionThe newsletter sign-up: checks the address before sending, keeps what was typed when sending fails, and swaps to a thank-you line once it's in.
hero.csssectionThe first screen: the live meadow fills it, the headline stands in the dark sky at the left, and the dandelion waits in the grass at the right.
hero.jssectionThe dandelion: press it (click, tap, Enter or Space) and a gust carries its seeds off across the page; a moment later it grows them back. Reduced motion: the seeds fade out and back in place. Also rests your background's drift off screen.
journal.csssectionThe studio's journal: three recent posts, each with a drawn thumbnail that comes alive when you point at it.
nav.csssectionThe top bar: stays at the top while you scroll, holds the page's pause switch, folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape (focus back on its button) and when a link in it is picked.
services.csssectionWhat the studio does: six disciplines set as a ruled field guide, each with its little sprig, which leans in the breeze when you point at it.
stats.csssectionThe studio in numbers, each on a sage stalk, counted up the first time they come into view.
work.csssectionCase studies: a title, then a sideways row of tall drawn-scene cards that runs to the edge of the column.
work.jssectionThe case-study row's prev and next buttons: each moves one card, and goes quiet at its end of the row.
partspartsWhat several sections share.
art.csspartThe drawn art's colors: each fill and stroke reads a theme.css variable at a set strength (am-fill-grass-30 is the grass color at 30%).
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (Stats).
meadow-gl.jspartThe meadow's WebGL2 plumbing: builds the shader program, sizes the canvas, reads the colors from theme.css.
meadow-shader.jspartThe meadow scene's fragment shader: the same code as parts/meadow-shader.ts in the React version (bundled from meadow.glsl); change both together.
meadow.jspartThe live meadow behind the hero: runs the shader, holds still off screen, in a hidden tab, while paused or with reduced motion.
motion.jspartThe shared helpers, as the page's one global: window.agencyMeadow (reduced motion, in-view, the pause switch's state).
page.csspartWhat every section shares: the reset, the page column, section titles, the buttons, the focus ring and the pause rule.
pause.jspartThe page's pause switch: marks the root data-paused so CSS animations stop, and tells the meadow to hold still.
scenes.csspartThe drawn case-study and journal scenes: each keeps a slow loop going and does one more thing when its card is pointed at or focused.
stem.csspartThe stem that grows down the page, its leaves, and the parts of each section that rise into place when its tip arrives.
stem.jspartGrows the stem down the page as you scroll: a leaf unfurls at each section and the section rises into place when the tip gets there.
index.html
The page and all its text, one marked block per section.
Đang tải…
Phù hợp cho
Design, brand and web studios, or any small agency with a calm, nature-led voice that wants a full one-page site.
Cách hoạt động
The meadow sways and its flowers open on load. A stem grows as you scroll, raising each section. Press the dandelion to blow its seeds.
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.