A dark one-page website for a forest glamping site: one hand-drawn peach thread winds through the page, and a season dial recolors every drawn cabin and tree.
React + HTML
$69
पेज का पता: /
नीचे और ↓
पहले से मौजूद
आपको क्या मिलता है
सिर्फ़ डार्कडार्क पेज के लिए बना
डेस्कटॉप, टैबलेट, और फ़ोनजिन स्क्रीन के लिए यह बना है
पैकेज…
कोड साइज़…
बैटरी पर हल्का30 fps, स्थिर होने पर निष्क्रिय
छिपने पर रुक जाता हैस्क्रीन से बाहर या दूसरा टैब
कम मोशनमाँगने वालों के लिए शांत
हर बदलाव पर जाँचा गया
टाइप जाँचTypeScript स्ट्रिक्ट
लिंट और फ़ॉर्मैटESLint · Prettier
टेस्ट और बिल्डलाइट और डार्क स्क्रीनशॉट
सिक्योरिटी ऑडिटकोई हाई या क्रिटिकल एडवाइज़री नहीं
पैकेज की उम्रहर वर्शन 7+ दिन से पब्लिक
आइडल CPUरुके रहने पर आधे कोर से कम, ≤ 30 fps
कोड
इस टेम्पलेट में कुछ गड़बड़ है? फ़ीडबैक भेजें ›
glamping-threadHTML
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.csssectionAsk for dates: the booking form or, once sent, what happens next, beside the campfire where the thread ends.
booking.jssectionThe booking form: checks each required field, sends with send.js, then shows what happens next or the couldn't-send line.
cabins.csssectionChoose your hideaway: three cabin cards, each drawing's windows warming up as the thread arrives.
facts.csssectionThe place in one sentence: its numbers count up in turn as the thread underlines it.
footer.csssectionThe footer: the brand, two columns of links and the legal line.
forest.csssectionDays in the forest: four things to do, strung on the thread like beads.
guestbook.csssectionNotes from the guestbook: three guests' words, the thread waving above them.
hero.csssectionThe first screen: the drawn night forest with its lit cabin, the weather, the giant headline and the season dial.
hero.jssectionThe hero: depth as you scroll, the season dial that recolors every drawing, and the pause switch.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
stay.csssectionThe stay: a title the thread loops around, then three drawings and their words in alternating rows.
partspartsWhat several sections share.
art.csspartThe drawings' shared parts: tree colors by season, snow, lit windows, flames, and how they change.
backdrop.csspartThe hero's ground from a background of yours (data-follow-background).
backdrop.jspartRests your background's drift while the hero's ground is off screen.
count-up.jspartNumbers that count up from zero when they scroll into view, each after its data-delay.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.glampingThread.
page.csspartWhat every section shares: the reset, the page column, titles, the two buttons, the focus ring, the reveals and the pause.
thread.csspartThe thread's layer over the sections it runs through: the peach line and the ember at its tip.
thread.jspartThe peach thread down the page: one line through every section's anchors, drawn as you scroll, waking each part it reaches.
index.html
The page and all its text, one marked block per section.
लोड हो रहा है…
इनके लिए अच्छा
Glamping sites, cabin rentals and small forest retreats that want a full website: the stay, cabins, activities, reviews and a booking ask.
यह कैसे काम करता है
A thread draws itself down the page as you scroll and wakes each part it reaches. The hero's dial turns the season for every drawing.
कैसे इस्तेमाल करें
index.html खोलें, या फ़ोल्डर को किसी भी स्टैटिक सर्वर पर रखें। शब्द index.html में हैं, रंग और फ़ॉन्ट theme.css में, फ़ॉर्म का send फ़ंक्शन send.js में। बाकी README.md के Plain HTML हिस्से में है।