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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Design, brand and web studios, or any small agency with a calm, nature-led voice that wants a full one-page site.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.