Template documentation
Make ityours
Start
Open index.html in a browser, or run any static server in the folder (npx serve .). There is no build step to deploy: every page is plain HTML, CSS and JavaScript.
Content
All text, artists, ticket tiers, questions and photos live at the top of src/build.mjs. Edit them and run node src/build.mjs to regenerate every page. Prefer editing HTML by hand? Change the pages directly and ignore the generator.
const site = { name: 'Afterhours', eventISO: '2026-12-12T23:00:00-05:00', accent: '#ff4fa3', ... }
const artists = [{ name: 'Kairo', img: 'art-1', time: '23:00', room: 'Pier', ... }]
Brand
| What | Where |
|---|---|
| Accent colour | site.accent in src/build.mjs, or --accent in assets/css/style.css. The live chrome background follows it. |
| Fonts | Big Shoulders Display, Instrument Serif, Geist and Geist Mono, bundled under the SIL Open Font License (licences in assets/fonts/licenses). Swap the @font-face rules at the top of the stylesheet. |
| Images | Replace the files in assets/img. Artist cards are 4:5; gallery images any ratio. |
| Social image | assets/img/og.jpg, 1200 × 630. |
Motion
Smooth scrolling (Lenis), scroll animation (GSAP ScrollTrigger and SplitText) and the WebGL chrome surface (assets/js/chrome.js, no dependencies). Everything switches off for visitors who ask for reduced motion, the hero has a Motion on/off button, and the ticker has a pause control, as WCAG 2.2.2 asks. Page-to-page transitions use the browser's native View Transitions where supported.
Forms
The guestlist form shows a success message without sending anything. To collect emails, set data-endpoint on the <form> to your provider's URL (Formspree, Buttondown, Mailchimp or your own API). The script posts { email } as JSON.
Deploy
Drag the folder into Netlify, Vercel or Cloudflare Pages, or upload it to any static host. Set 404.html as the not-found page.
Files
index.html · lineup.html · tickets.html · gallery.html · info.html · 404.html · docs.html
assets/css/style.css assets/js/main.js assets/js/chrome.js
assets/vendor/ GSAP 3.15, ScrollTrigger, SplitText, Lenis 1.3
assets/fonts/ woff2 files + SIL OFL licences
src/build.mjs content + page generator
Licence
Your purchase covers one commercial end product (a site for you or one client). See LICENSE.md. Third-party notices are in THIRD-PARTY-NOTICES.md.