A calm one-page yoga studio homepage built with Bootstrap 5 for a fictional neighbourhood studio called Juniper House Yoga. This yoga website template has a weekly class schedule that opens on today, memberships, an intro offer, teachers, live opening hours and a class booking form for yoga and pilates studios.
How it works
.jhy-page defines the sand and sage palette. Below 992px the sticky .jhy-nav links move into the offcanvas #jhy-menu, which closes when a link is tapped.
Hero. Text and .jhy-facts sit beside an arched photo in .jhy-hero__media. The .jhy-next card shows the next class from the timetable.
Classes and schedule. Four .jhy-class cards describe the class types. The timetable is stored in the SCHEDULE object in script.js. The day buttons ([data-jhy-day]) work as tabs with arrow-key support; the script selects today's button, marks it with is-today and renders .jhy-slot rows for the chosen day.
Story, plans and offer. A sage "why us" band, three .jhy-plan cards (.jhy-plan--feature for the unlimited plan) and the .jhy-offer banner follow the founder's story. The offer end date in [data-jhy-offer-end] is computed from today, so it never goes stale.
Teachers, gallery, reviews and FAQ. Round .jhy-teacher portraits, a .jhy-gallery grid, star-rated reviews and a Bootstrap accordion.
Hours, map and booking. Today's row in .jhy-hours is highlighted and every [data-jhy-status] badge shows "Open now" or "Closed" from the row's data-jhy-open and data-jhy-close times. .jhy-map is a static SVG map with a "Get directions" link. The [data-jhy-form] form lists the next seven days, validates every field and shows a simulated confirmation in [data-jhy-success].
Customization
--jhy-sand,--jhy-sageand--jhy-inkon.jhy-page: change the background, accent and heading colours.--jhy-radius: the corner radius of cards, photos and the map.SCHEDULEinscript.js: edit start time, class, teacher, length and level for each weekday (0 is Sunday).data-jhy-openanddata-jhy-closeon each hours row: your real front desk hours..jhy-plan--feature: highlight a different membership.- The
window.setTimeoutcall ininitForm: replace it with afetch()call to your booking system.
Use cases
- Neighbourhood yoga studios: show today's classes, memberships and an intro offer on the homepage.
- Pilates and barre studios: rename the class types and reuse the timetable.
- Independent yoga teachers: keep the schedule, teacher story and booking form.
- Meditation and wellness centres: list sessions, workshops and opening hours.
Accessibility
The day buttons use role="tab", aria-selected and arrow keys, and the schedule panel is a polite live region. Today's hours row gets aria-current="date", the experience choice is a fieldset with a legend, and the booking result is announced with role="status". Tap targets are at least 44px, focus outlines are visible and transitions are disabled for prefers-reduced-motion.
Usage notes
The photos come from Unsplash; replace them with photos of your own studio and teachers. Names, address, phone number and email are fictional. The footer credit links to WebDevSnippets and can be kept or removed.