A dark five-page website for renting A-frame cabins in the woods: strings of bulbs that switch on as you scroll, drawn cabins on tilted cards, and a pull-chain for the porch lights.
React + HTML
5 páginas
$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 ›
cabin-filamentHTML
index.htmlpageThe home page and all its text, one marked block per section.
cabins.htmlpageThe cabins page and all its text, one marked block per section.
cabin.htmlpageThe cabin page and all its text, one marked block per section.
book.htmlpageThe book page and all its text, one marked block per section.
booked.htmlpageThe booked 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.
book.csssectionThe book page: the step bulbs, the form card with its three steps, and the stay's summary beside it.
book.jssectionThe book page: three steps under a string of bulbs (dates and guests, your details, a pretend payment), the stay's summary beside, and the booking sent by send.js (React: sections/book-flow.tsx).
booked.csssectionThe booked page: the wooden key tag that swings in with the confirmation number, the thanks, the summary and what happens next.
booked.jssectionThe booked page: shows the booking book.html kept in the browser on the key tag and in the summary, or the no-booking note (React: pages/booked.tsx).
cabin.csssectionOne cabin's page: name and views with the pull-chain, the facts and what's inside beside the date panel, other cabins, and the page for a cabin that isn't there.
cabin.jssectionOne cabin's page: fills its words from parts/cabins.js by ?cabin=, switches its three views, and runs the date panel that hands the stay to the book page (React: pages/cabin.tsx).
cabins.csssectionThe cabins page: its title, the filter bar (guests, hot tub, dogs), the cards that fit and the empty note.
cabins.jssectionThe cabins page's filters: guests, hot tub and dogs; the list redraws with the cabins that fit, or the empty note (React: sections/cabins-list.tsx).
cta.csssectionThe last call to book: a long string of bulbs over one carved line and a button.
featured.csssectionThree cabins guests ask for first, as tilted cards, and a link to all six.
grounds.csssectionThe land around the cabins: three numbers that count up, and the drawn hollow whose trail draws itself in view.
grounds.jssectionDraws the hollow (ridges, creek, the trail loop and a lit A-frame per cabin) and draws the trail on when it scrolls into view (React: parts/ridge-map.tsx).
hero.csssectionThe first screen: the giant carved headline, a string of bulbs across the top and the drawn A-frame with its pull-chain.
notes.csssectionFrom the guest book: three notes pinned along a wire.
steps.csssectionHow a stay goes: four numbered steps, each under its own bulb of one string.
partspartsWhat several sections share.
art-views.jspartThe loft and deck drawings, and the one place a picture spot becomes your photo or the drawing (React: parts/art-loft.tsx, parts/art-deck.tsx, parts/cabin-picture.tsx).
art.jspartThe drawn A-frame from its clearing at night, plus what every drawing shares: pines, the sky, smoke and the porch-light classes (React: parts/aframe.tsx, parts/art-kit.tsx).
bulbs.csspartThe bulb strings (parts/lights.js): a sagging wire, bulbs that light left to right with a flicker, and the glow the porch lights widen.
cabins.jspartEvery cabin: its words, numbers and how it is drawn, the same as React's cabins.ts. Read by the cards, the cabin page and booking.
calendar.csspartThe date picker (parts/calendar.js): a month bar, the weekdays, the days as round buttons, picked days lit like bulbs with an amber band between.
calendar.jspartThe date picker: one month to pick a check-in and a check-out, booked nights crossed out, arrow keys between days (React: parts/calendar.tsx).
card.csspartThe cabin cards (parts/card.js): cream, pinned on a tilt, straightening in view; the drawing on top, name, price and what it has.
card.jspartThe cabin cards, pinned on a tilt like photos on the wall; each straightens as it comes into view (React: parts/cabin-card.tsx).
chain.csspartThe pull-chain (parts/chain.js): a beaded cord with a wooden pull that springs back, and the line that says what it did.
chain.jspartThe signature: the beaded pull-chain that switches every porch light on the site; pull it down, click it, or press Enter (React: parts/pull-chain.tsx). Also rests your background's drift off screen.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the land on the home page).
dates.jspartStay dates as "2026-11-14" strings: US formats, nights, booked days and the price of a stay (the same as React's parts/dates.ts).
footer.csspartThe foot of every page: a last string of bulbs, the address and phone, the page links and the legal line.
header.csspartThe top bar on every page: the logo, the page links with a bulb that lights over the page you are on, and the phone menu.
header.jspartThe top bar's phone menu: opens and closes, closes on Escape (focus back on its button) and when a link is picked.
lights.jspartThe page-wide motif: draws every bulb string, then lights each one as the reading line reaches it (React: parts/bulb-string.tsx, parts/lights.tsx).
motion.jspartThe shared helpers, as the site's one global: window.cabinFilament (motion checks, the words scripts use, what the browser keeps).
page.csspartWhat every page shares: the reset, the column, titles, buttons, fields, the focus ring, the reveals and the drawings' porch-light classes.
price.csspartThe price lines (parts/price.js) and the panels that hold them: the cabin page's date panel and the booking summary.
price.jspartA stay's dates and price as lines: check-in, check-out, nights x the rate, cleaning and the total (React: parts/price-lines.tsx).
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
scroll-rail.jspartMarks each [data-rail-stop] once the reading line passes it as you scroll: what lights the bulb strings, with no look of its own.
stepper.csspartA number stepped up and down with two round buttons: how many guests (the cabins filter and booking step one).
index.html
The home page and all its text, one marked block per section.
Carregando…
Ideal para
Cabin rentals, forest getaways and small lodges that want a full front end: home, all cabins, one cabin, booking and confirmation.
Como funciona
Bulbs light as you scroll and cabin cards straighten into view; pull the chain for porch lights, filter cabins, pick dates, book.
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.