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
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Sombre uniquementConçu pour une page sombre
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec ce template ? Envoyer un avis ›
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.
Chargement…
Idéal pour
Hotels, resorts and boutique stays that want a full website: rooms and rates, a booking bar, what's in the house and guest reviews.
Fonctionnement
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.
Utilisation
Ouvrez index.html, ou placez le dossier sur n’importe quel serveur statique. Les textes sont dans index.html, les couleurs et les polices dans theme.css, la fonction d’envoi du formulaire dans send.js. La partie HTML simple de README.md donne le reste.
Aucun paquet en plusReact seulement, rien d’autre
31,0 ko gzippé · 27 fichiersLe téléchargement complet