A light one-page website for a photo-essay journal in volumes: a wet window cut into the page with rain running down live glass you wipe clear, each volume in its own weather, and a drop that runs down the page.
React + HTML
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Clair uniquementConçu pour une page claire
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 ›
journal-paneHTML
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.
essay.csssectionThe current volume's essay: a drop cap, two plates that develop as you read, a pull quote and a line that fills as you read.
essay.jssectionFills the "Read so far" line as the reading line moves down the essay.
footer.csssectionThe footer: the journal's name set large, the section links, the email and the legal line.
hero.csssectionThe first screen: the headline with its huge last word, the quote, and the wet window cut into the page that you wipe clear.
hero.jssectionPuts the wet window in the hero, and wires its two buttons: Wipe the glass, and Pause the rain.
letters.csssectionThe newsletter signup: one letter per volume; once subscribed, what comes next.
letters.jssectionThe signup form: checks each field, subscribes with send.js, then shows what comes next or the couldn't-subscribe line.
nav.csssectionThe top bar: the journal's name, the section links, the current volume and Subscribe; 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.
notes.csssectionThe field notes: three numbers that count up, and a dated index of short notes you can filter by weather.
notes.jssectionThe field notes' weather filter: shows the notes in the picked weather, and they rise in again.
prints.csssectionThe prints for sale: three plates in white mats that develop one after another, with edition, size, price and a way to reserve.
volumes.csssectionThe earlier volumes: pick one and the big window changes shape and weather to show it.
volumes.jssectionPuts the big window in Earlier volumes, and turns it to a volume's shape and weather when the volume is picked.
partspartsWhat several sections share.
blob.jspartThe window's soft outline: a smooth closed curve around a wobbling circle, in 0-1 box units for an SVG clip path.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About).
fog.jspartThe fog on the hero's glass: it mists over slowly, a drag or the Wipe button rubs a clear streak.
glass.jspartThe water on the glass: still drops that hold the scene upside down, drops that run and clear a track, snow behind it.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.journalPane.
page.csspartWhat every section shares: the reset, the page column, titles and labels, the buttons, the focus ring, the windows and the reveals.
paint.jspartSmall canvas helpers the scenes and the glass share: seeded randomness, soft glows, color with alpha.
pane-engine.jspartRuns one wet window on a canvas: the scene, the drops, the fog you wipe, the frame loop that pauses off screen.
pane.jspartA wet window cut into the page: the canvas scene inside a soft breathing outline that opens on load and changes shape with its weather.
rail.csspartThe page motif: one drop of water runs down a thin rule at the left edge as you scroll, leaving a wet trail and a bead at each section.
rail.jspartRuns the drop down the rule as you scroll: the trail follows it, and it stretches while it runs and rounds out when you stop.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
scenes.jspartThe scene behind each window, one painter per weather, drawn soft as if out of focus behind wet glass.
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives a page-wide motif, with no look of its own.
street.jspartThe two city-street scenes, rain at night and drizzle by day, and the ground, trees and lamps the other scenes share.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Photographers, writers and small magazines that publish in issues or volumes: an essay, an archive, notes, prints and a newsletter.
Fonctionnement
Rain runs down the window and the glass fogs; drag to wipe it. Pick a volume and the window turns to its weather. A drop runs down the page.
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
34,6 ko gzippé · 31 fichiersLe téléchargement complet