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
Адрес страницы: /
Ещё ниже ↓
Уже внутри
Что вы получаете
Только тёмнаяСделано для тёмной страницы
ПК, планшет и телефонЭкраны, для которых сделано
Пакеты…
Размер кода…
Бережёт батарею30 кадров/с, в покое простаивает
Пауза в фонеВне экрана или в другой вкладке
Меньше анимацииСпокойно для тех, кто просит
Проверяется при каждом изменении
Проверка типовСтрогий TypeScript
Линтер и форматESLint · Prettier
Тесты и сборкаСкриншоты в светлой и тёмной теме
Аудит безопасностиНет уязвимостей высокого и критического уровня
Возраст пакетовКаждая версия опубликована 7+ дней назад
Загрузка в покоеМеньше половины ядра в покое, ≤ 30 кадров/с
Код
Что-то не так с этим шаблоном? Отправить отзыв ›
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.
Загрузка…
Подходит для
Hotels, resorts and boutique stays that want a full website: rooms and rates, a booking bar, what's in the house and guest reviews.
Как это работает
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.
Как использовать
Откройте index.html или положите папку на любой статический сервер. Тексты лежат в index.html, цвета и шрифты в theme.css, функция отправки формы в send.js. Остальное смотрите в части Plain HTML файла README.md.