StealThis .dev
Сторінки Середня

Salon — Classic Barbershop Landing

A heritage barbershop marketing landing for the fictional Iron and Oak Barber Co., cut from an oxblood, walnut, and cream palette with a strong Roboto Slab display over an Inter UI. It pairs a sticky nav with an animated CSS barber-pole, a bold slab-serif hero, count-up stats, a filterable services board with a live ticket builder and running total, tappable barber cards that pre-fill the booking form, a dark heritage band, a validating appointment request with an open-or-closed indicator, and tasteful toast confirmations.

Відкрити в Lab
html css vanilla-js
Цілі: JS HTML

Код

Classic Barbershop Landing

A full marketing landing for the fictional Iron and Oak Barber Co., built around a vintage, masculine palette of oxblood, walnut, and cream with a heavy Roboto Slab display set over a clean Inter UI. A translucent sticky nav carries a hand-built CSS barber-pole that endlessly spins, gains a hairline and shadow on scroll, and highlights the active section as you move down the page. The slab-serif hero shouts “Sharp since 1962” over a softly grained, oxblood-washed backdrop, with Book and Call calls-to-action and a row of stats that count up the first time they enter view.

Below the fold, a filterable services board lists cuts, fades, hot-towel shaves, and beard work with prices; chips switch between categories, and any service can be added to a live ticket that tracks line items and a running estimated total. A strip of dark walnut barber cards is fully interactive — tapping any barber marks them as picked and pre-selects them in the booking form. A dark heritage band tells the three-generation story with a founder’s pull-quote and angled barber-pole rules throughout.

Every section reveals on scroll via IntersectionObserver, the mobile nav collapses into an accessible toggle, and a live open-or-closed indicator reads the real clock against shop hours. The appointment request validates name, phone, and date inline, folds in your ticket and chosen barber, and confirms with a tasteful toast. It is pure vanilla HTML, CSS, and JavaScript — no frameworks, no build step, responsive down to 360px.