A dark one-page website for a Nordic tour company under a live aurora: the lights mirror in a mountain lake, follow you down the page and shift color, and tours come as fanned card decks.
React + HTML
$69
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 ›
nordic-auroraHTML
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.csssectionWho runs the tours: the story on the left, six facts in a grid beside it.
footer.csssectionThe footer: the forecast sign-up, then the brand and contact, three link groups and the legal line, on a night that deepens to the bottom.
footer.jssectionThe forecast sign-up: checks the address, shows "Signing up…" while it sends with send.js, then says where the next email goes, or that it didn't go through.
hero.csssectionThe first screen: the mountain lake under the live sky, the giant headline rising in word by word, and the tour finder on the water.
hero.jssectionThe hero: draws the mountains on the lake and its reflection, and sends the tour finder's search to the deck.
journal.csssectionThe blog: the three latest stories, side by side from tablet up and a row to swipe on phones.
nav.csssectionThe top bar: see-through over the hero's sky, frosted once the page scrolls; folds its links into a menu on narrow screens.
nav.jssectionThe top bar: frosts once the page scrolls, opens and closes the menu on narrow screens, and pauses or plays the sky.
quotes.csssectionWhat travellers said, one story at a time on a frosted panel, with the place they went drawn beside it.
quotes.jssectionThe stories panel: the arrows show the previous or next story and its drawn place, and say which one is showing.
routes.csssectionWhere the tours go: the travellers count and three numbers beside the map, whose routes draw in when it scrolls into view.
routes.jssectionThe map: draws the coasts, the routes and the pins from parts/map-shape.js, and holds the routes undrawn until the map scrolls into view.
tours.csssectionThe tours: tabs for each way to travel, and that way's tours as a fanned deck of cards with Previous and Next under it.
tours.jssectionThe tour deck: fans open on view; Next, Previous, a click on a side card or a swipe deals the cards; a tab or a finder search gathers and re-deals them.
trip.csssectionHow a trip runs: a numbered timeline whose line fills as you scroll, each step with its place drawn in a round window, on alternating sides from tablet up.
trip.jssectionThe timeline: the line fills as you scroll and lights each step's number as it passes; with reduced motion it is drawn in full, every step lit.
partspartsWhat several sections share.
art.jspartThe drawing kit: seeded ridges, snow, pines, stars and houses as SVG path data, and the sky, lights, glow and water every landscape is made of.
aurora-gl.jspartThe WebGL2 side of the sky: builds the shader program, sizes the canvas and reads the theme colors into it.
aurora-shader.jspartThe sky's GLSL, the same string as parts/aurora-shader.ts in the React version (bundled from aurora.glsl); keep the two in sync.
aurora.csspartThe sky behind the whole page: a canvas stuck to the top of the screen, over a soft CSS glow that shows without WebGL2.
aurora.jspartThe live northern lights behind the whole page: curtains over the hero's lake, mirrored in the water, then a band at the top of the screen in each section's color.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the map's numbers).
map-shape.jspartThe Nordic coastlines, simplified, as longitude and latitude, and the routes on them, turned into map paths (620 by 380 units).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.nordicAurora.
page.csspartWhat every section shares: the reset, the page column, titles, the buttons, the frosted panel, the focus ring and how blocks rise in.
reveal.jspartHolds back every [data-reveal] block below the first screen (data-hidden) until it scrolls into view; its CSS says how it arrives.
scenes-more.jspartSix of the drawn landscapes: glass cabins, Abisko, the Lapland road, Saimaa, the ice hotel and the valley.
scenes.jspartThe other six drawn landscapes (Lofoten, the fjord, Nordkapp, the islands, the glacier, Tromsø), then draws every <svg data-scene> on the page.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Tour operators and travel agencies selling small-group trips by ship, plane or coach, with a map, tours, steps, reviews and a blog.
Como funciona
The aurora moves over the lake and tints each section. The map draws its routes; the tour deck fans open and deals its cards.
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.