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
Alamat halaman: /
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Hanya gelapDibuat untuk halaman gelap
Desktop, tablet, dan ponselLayar yang didukung
Paket…
Ukuran kode…
Hemat baterai30 fps, diam saat tidak bergerak
Berhenti saat tersembunyiDi luar layar atau tab lain
Kurangi gerakanTenang bagi yang memintanya
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan template ini? Kirim masukan ›
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.
Memuat…
Cocok untuk
Crypto token presales, ICOs and launches, and any fintech product that sells early access against a deadline.
Cara kerjanya
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.
Cara memakai
Buka index.html, atau taruh folder di server statis mana pun. Teksnya ada di index.html, warna dan font di theme.css, fungsi kirim formulir di send.js. Bagian Plain HTML di README.md berisi sisanya.