Credits: Images from Unsplash; see the included documentation for photo credits.
Description
YogaFun is a website template for yoga studios, meditation classes and wellness teachers, built on Bootstrap 5.3.9 with an olive palette and Montserrat and Oxygen type. It has seven pages: home, about, classes, class details, blog, blog article and contact. The home page has a full-screen hero with a video button, four feature cards around a portrait, story bands, a six-tile class grid, a testimonial slider and a blog row; the inner pages add class times, teacher profiles, a searchable blog and an article with comments.
Rebuilt from the original design: the full-screen hero, feature cards, class grid, testimonials, teachers and blog are back, with new yoga copy and photography on every page.
Bootstrap 5.3.9 compiled from Sass with the original proportions, plain JavaScript with no jQuery, a Swiper 14 testimonial slider and small built-in modules for scroll reveals, the video dialog and forms. Lucide icons replace three icon fonts.
Lighter pages: all seven pages together went from 9.2 MB and 191 requests to 5.6 MB and 161 requests. Every photo has an AVIF version with a JPEG fallback and real dimensions.
No third-party requests: Montserrat and Oxygen are self-hosted, the studio video loads from YouTube’s privacy-enhanced player only after a click, and a Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the contact, comment and newsletter forms send through the included PHP handlers with validation, a spam trap and an in-page message. Set the recipient address before you publish.
Accessibility: a skip link and main landmark on every page, one h1 per page, labelled fields, WCAG AA text contrast and visible keyboard focus. The header search filters the blog without a backend.