A dark one-page website for a novelist: the name set huge with a night coast inside the letters, chapters laid down like manuscript pages along a bookmark ribbon, and books that open to their first line.
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 ›
author-folioHTML
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.
biography.csssectionChapter one: the story in two paragraphs, and a chronology whose line draws itself.
books.csssectionChapter two: the shelf of drawn covers; each cover swings open on its hinge to the title page.
books.jssectionThe shelf: a cover opens its book on a hinge; one book is open at a time.
footer.csssectionThe footer: a closing line, the chapter links, back to the top and the legal line.
hero.csssectionThe first screen: the writer's giant name with an ink-wash coast inside the letters, beside the intro and actions.
hero.jssectionThe hero: the ink soaks into the name on load, and the coast inside it drifts as you scroll away.
letters.csssectionChapter five: the letter form or, once sent, the thank-you, beside the agent and press contacts.
letters.jssectionThe letter form: checks each field, sends with sendLetter, then shows the thank-you or the couldn't-send line.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links 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.
press.csssectionChapter three: one critic's line at a time with the arrows to turn them, and the prizes.
press.jssectionThe press quotes: the arrows turn them, and each slides in from the side it was turned toward.
readings.csssectionChapter four: the readings and signings coming up, one row per evening, arriving one after another.
partspartsWhat several sections share.
art.csspartThe fills and strokes of the drawn art (the coast, numeral textures, covers), read from theme.css.
backdrop.csspartThe hero's ground from a background of yours (data-follow-background).
backdrop.jspartRests your background's drift while the hero's ground is off screen.
chapter.csspartThe chapters: dark manuscript panels laid on the page, overlapping, each with its giant numeral; plus the layouts they share.
ink.csspartGiant serif type with a drawing inside the letters, which soaks in like ink when its chapter wakes.
motion.jspartThe helpers the other scripts share, as the page's one global: window.authorFolio.
page.csspartWhat every section shares: the reset, the page column, the serif, titles, the two buttons and the focus ring.
ribbon.csspartThe teal bookmark ribbon down the left of the page, with its forked tail.
ribbon.jspartThe bookmark ribbon: unrolls as you scroll, lays each chapter down as it comes into view and wakes it when the ribbon reaches its numeral.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Novelists, poets and other writers who want a personal site: biography, books, press, readings and a way to write in.
Fonctionnement
Ink soaks into the name on load, a ribbon unrolls down the page waking each chapter, and tapping a cover opens the book.
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
25,2 ko gzippé · 26 fichiersLe téléchargement complet