A dark one-page website for a grand hotel and resort in brass and art deco: lift doors part onto a night sea, a floor dial follows you down the page, and every room is a door you open to look inside.
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 ›
hotel-decoHTML
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.
booking.csssectionThe booking bar that overlaps the foot of the hero: check in, check out, guests and email.
booking.jssectionThe booking bar: the live nights count, checks each field, sends with send.js, then shows the held view or the couldn't-reach line.
footer.csssectionThe footer: a closing line under a brass sunburst, how to reach the hotel, the page links and the legal line.
hero.csssectionThe first screen: lift doors part onto the night sea, five stars, the headline and two actions.
hero.jssectionThe hero: ends the lift-door opening the moment the visitor scrolls, taps or types, and sinks the moon and stars slower than the page. Also rests your background's drift off screen.
house.csssectionThe house from the roof down: bar, dining room, spa and pool on a lift shaft, each drawn in brass line.
nav.csssectionThe top bar: the mark, the floor dial in the middle, section links and the book button; a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, Escape and a link close it.
reviews.csssectionGuest reviews: three quotes on a brass hairline grid, their stars filling in as they arrive.
rooms.csssectionRooms and suites: four doors to open, each with its size, bed, rating and nightly rate.
rooms.jssectionThe room doors: pressing one swings it open or shut; with reduced motion every door starts open.
story.csssectionOur story: the lit deco front of the hotel beside its history and three big numbers.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (Our story).
floors.jspartRuns the scroll reveals and the floor dial: the needle swings to the floor being read and each section's plaque lights.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.hotelDeco.
page.csspartWhat every section shares: the reset, the page column, the buttons, the focus ring, section titles with their floor plaque, stars and the scroll reveals.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Hotels, resorts and boutique stays that want a full website: rooms and rates, a booking bar, what's in the house and guest reviews.
Como funciona
Lift doors open onto the sea, a floor dial tracks each section, and room doors swing open to show the room. Booking checks dates and email.
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.