Documentation
Ironworks — Gym Website Template
Version 1.0.0 · Vanilla HTML · 12 files · 80 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 12 files:
- LICENSE.txt1.8 KB
- README.md2.5 KB
- assets/css/style.css23 KB
- assets/fonts/archivo-LICENSE.txt4.4 KB
- assets/fonts/archivo-latin-wght-normal.woff234 KB
- assets/fonts/bebas-neue-LICENSE.txt4.3 KB
- assets/fonts/bebas-neue-latin-400-normal.woff213 KB
- assets/images/favicon.svg231 B
- assets/js/main.js16 KB
- documentation/index.html11 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html32 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--color-black#0b0b0c--color-coal#151517--color-iron#222226--color-steel#8a949e--color-steel-light#c3cad1--color-steel-bg#d9dee3--color-white#f6f7f8--color-volt#e4ff1a--color-error#c0172b
Interactive features
Class timetable
Edit the TYPES and CLASSES arrays in assets/js/main.js. Each class is [time, name, type, coach, level, spots left]; days run Monday to Sunday. A class with 0 spots shows as full.
Membership toggle
Each .plan in index.html has data-monthly and data-annual attributes (the per-month price when paid annually). The annual total is the annual figure times twelve.
BMI calculator
The calculation and category thresholds are in initBmi() in assets/js/main.js. Validation limits are in the LIMITS object.
Free-trial form
Validation lives in initTrial(). Replace the success branch with a request to your CRM or email service.
Customisation notes
Cut-corner buttons and hard edges
Buttons use clip-path for the cut corner and all other corners are square. Remove the clip-path in .btn in assets/css/style.css for plain rectangles.
Change the volt accent
The yellow is --color-volt in :root. Text on it is always black, so pick another bright colour with similar lightness to keep contrast.
Trainer portraits
Portraits are inline SVG with simple hair, skin and background colours. Replace each svg.trainer__art with an img tag of the same proportions for photographs.
Timetable week
The timetable preselects today's weekday from the visitor's clock. The classes themselves repeat every week.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- The free-trial form validates and shows a confirmation, but nothing is sent or stored.
- The BMI calculator runs fully in the browser and is a screening tool only.
- Gym, prices, classes, trainers, address and phone number are fictional.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Archivo typeface — OFL-1.1 (
assets/fonts/archivo-LICENSE.txt) - Bebas Neue typeface — OFL-1.1 (
assets/fonts/bebas-neue-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.