A deep-space one-page website for a payment token's presale: a sun rising behind a planet, a live countdown and raise bar, stepped bonus stages and a comet that runs down the page.
React + HTML
$39
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 ›
token-perihelionHTML
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.
about.csssectionWhat Perihel does: the comet beside a paragraph, two links and three numbers that count up.
alerts.csssectionThe sign-up band: the email form or, once sent, the confirmation, beside the tap-to-pay picture.
alerts.jssectionThe sign-up form: checks the email, sends it with sendAlert (send.js), then shows the confirmation; the heading takes the focus.
features.csssectionThe features: three of them set on a planet's glowing violet horizon, a wide band under the title that fades into the page.
footer.csssectionThe footer: logo, the documents, the email, the risk note and the legal line.
hero.csssectionThe first screen: the eclipse behind the words (a band above them on a phone), the countdown, the actions and the raise.
hero.jssectionThe hero's two live parts: the countdown whose digits roll each second, and the raise bar that fills on arrival and keeps ticking.
nav.csssectionThe top bar: sticky and frosted over the space, the links folding 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.
partners.csssectionThe partners: six drawn marks with their names, quiet until you point at one.
roadmap.csssectionThe roadmap: four quarters on an orbit arc that draws itself in on wide screens, a line with a dot per quarter on narrow ones.
stages.csssectionThe presale stages: a stepped bar of shrinking bonuses that grows in, the open stage marked, and the calculator.
stages.jssectionThe calculator: drag how much you pay, see the tokens and the bonus at the open stage.
partspartsWhat several sections share.
art.csspartThe about and sign-up pictures: the photo, or under it a drawn comet and a drawn tap-to-pay.
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.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.tokenPerihelion.
orbit.csspartThe page motif: a dotted orbit near the left edge, a comet that follows you down it (parts/orbit.js), and each section's stop that lights as it passes.
orbit.jspartThe page motif: moves the comet down the orbit to the reading line as you scroll; scrollRail lights each section's stop.
page.csspartWhat every section shares: the reset, the page column, section titles, the two buttons, the focus ring and the reveals.
pause.jspartThe pause button: stops the page's endless motion (the sky, the drifting photos, the drawings, the live raise) by setting data-paused on the page root.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives a page-wide motif, with no look of its own.
sky.csspartA space scene behind a section: the photo with a slow light over it, or the live shader (parts/sky.js).
sky.jspartThe live space shader for every .tp-sky without a photo: the eclipse in the hero, the horizon under the features.
photosphotosThe photos the page shows.
comet-streak.jpgphotoA photo the page shows.
hero-eclipse.jpgphotoA photo the page shows.
tap-to-pay.jpgphotoA photo the page shows.
violet-horizon.jpgphotoA photo the page shows.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Crypto token presales, ICOs and launches, and any fintech product that sells early access against a deadline.
Como funciona
The countdown rolls each second, the raise bar fills and keeps ticking, the sun and the horizon glow drift, and a comet follows you down.
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.
Nenhum pacote extraSó React, nada mais
238,2 kB com gzip · 36 arquivosO download completo