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
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Sombre uniquementConçu pour une page sombre
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec ce template ? Envoyer un avis ›
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.
Chargement…
Idéal pour
Design, brand and web studios, or any small agency with a calm, nature-led voice that wants a full one-page site.
Fonctionnement
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.
Utilisation
Ouvrez index.html, ou placez le dossier sur n’importe quel serveur statique. Les textes sont dans index.html, les couleurs et les polices dans theme.css, la fonction d’envoi du formulaire dans send.js. La partie HTML simple de README.md donne le reste.
Aucun paquet en plusReact seulement, rien d’autre
39,1 ko gzippé · 31 fichiersLe téléchargement complet