XGym is a fitness website template in a yellow-and-black palette, with a full-width weightlifting hero, yellow highlight bars behind the section titles and round trainer portraits. It has six pages: Home, About, Classes, News, Contact and Elements.
The home page covers a membership offer, milestone counters, four trainers and a BMI calculator. Classes lists six disciplines with four monthly plans, and News has expandable posts with search, category and tag filters.
What’s new in 4.0
Rebuilt from the original design with new copy, fresh photography for two news posts, the pricing band and a trainer portrait, and no placeholder text.
Bootstrap 5.3.9, vanilla JavaScript, Lucide icons and a self-hosted PT Sans; no jQuery and no icon fonts.
Page weight falls from 5.4 MB to 2.7 MB across the six pages, with zero third-party requests.
Corrected BMI calculator, animated counters and SVG progress rings, all without libraries.
Keyboard-friendly menu, accordion and tabs, visible focus, a skip link and readable contrast on every band.
Contact, application and newsletter forms with labelled fields and clear success and error messages; email delivery needs a PHP host and your address in php/send-email.php.
AVIF images with JPEG fallbacks and a click-to-load map.