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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Crypto token presales, ICOs and launches, and any fintech product that sells early access against a deadline.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.