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
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 ›
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.
Chargement…
Idéal pour
Crypto token presales, ICOs and launches, and any fintech product that sells early access against a deadline.
Fonctionnement
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.
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
238,2 ko gzippé · 36 fichiersLe téléchargement complet