A dark one-page website for an investing and market research platform: a night city whose towers are the index chart, a gold price line down the page, and live sample prices.
React + HTML
$69
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
market-skylineHTML
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.
analysts.csssectionThe analysts: who writes the research, three numbers that count up, and the head of research engraved in a rosette.
footer.csssectionThe footer: the far city's silhouette, the logo, the section links, the risk note and the legal line.
hero.csssectionThe first screen: the gold headline, the index readout and range tabs, and the night city whose towers are the chart.
hero.jssectionThe range tabs: each one rebuilds the skyline as that range's prices, retraces the roof line and counts the move to its new value. Also rests your background's drift off screen.
markets.csssectionMarket watch: the sample price table, its sparklines and analyst views, and the flash when a price ticks.
markets.jssectionThe market table's live prices: one row ticks at a time, its price flashes up or down; stops while paused and never runs with reduced motion.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into a menu on narrow screens, and carries the price tape.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
plans.csssectionPlans: the monthly or yearly switch, the arrows and the plan cards in a swipeable row.
plans.jssectionThe plans: the monthly or yearly switch swaps every price, and the arrows page the row one card at a time.
signup.csssectionSign-up: the free account pitch on the left, the form (or the thank-you) in a gold-edged panel on the right.
signup.jssectionThe sign-up form: checks name and email, sends with send.js, then shows the thank-you or the couldn't-open line.
tools.csssectionThe four tools, each with its drawing, in columns ruled by hairlines.
why.csssectionWhy us: six reasons on one gold line, each ticked as the line reaches it.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the analysts' numbers).
guilloche.jspartDraws the banknote rosette once (the shared <symbol> every rosette on the page shows), from waves.
motion.jspartThe helpers the other scripts share, as the page's one global (window.marketSkyline), the scroll reveals and the pause button.
page.csspartWhat every section shares: the reset, the page column, section titles, the two buttons, the focus ring and the scroll reveals.
price-rail.csspartThe gold price line down the left of the page, and each section's tick on it.
price-rail.jspartThe gold price line down the page: traces itself as you scroll, a light rides its tip, and each section's tick lights when it arrives.
index.html
The page and all its text, one marked block per section.
Загрузка…
Подходит для
Investing apps, market research and portfolio tools that want a full landing page: tools, analysts, markets, plans and sign-up.
Как это работает
Range tabs rebuild the skyline as the index chart, a gold line traces down the page, prices tick, and sign-up checks name and email.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.