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
Endereço da página: /
Mais abaixo ↓
Já incluído
O que você recebe
Só escuroFeito para uma página escura
Desktop, tablet e celularAs telas para as quais foi feito
Pacotes…
Tamanho do código…
Leve para a bateria30 fps, em repouso quando parado
Pausa quando ocultoFora da tela ou em outra aba
Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este modelo? Enviar feedback ›
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.
Carregando…
Ideal para
Novelists, poets and other writers who want a personal site: biography, books, press, readings and a way to write in.
Como funciona
Ink soaks into the name on load, a ribbon unrolls down the page waking each chapter, and tapping a cover opens the book.
Como usar
Abra o index.html ou coloque a pasta em qualquer servidor estático. Os textos estão em index.html, as cores e fontes em theme.css e a função de envio do formulário em send.js. O restante está na parte Plain HTML do README.md.