# Hair salon website

A free website template for independent hair salons and barbers, built with Astro and TypeScript as a static site. It has a price list with from prices and times, stylists, a gallery, reviews, gift vouchers, policies, opening hours with Open now, and a Book now button for any booking provider.

- Framework: Astro (JavaScript)
- Category: Websites / Beauty and wellness
- Creates: a static site
- Plan: Free
- Price: Free
- Author: Light Cloud
- Page: https://templates.light-cloud.com/websites/beauty-and-wellness/hair-salon-website-template
- Updated: 2026-11-21

## Features

- Open now until 6pm or Opens tomorrow at 9:30am, worked out in the salon's time zone
- Book now links to Fresha, Treatwell, Phorest, Timely, Booksy or a salon booking app, set in one line
- Price list from one YAML file with from or fixed prices, appointment times and a patch test note on colour services
- Stylists as Markdown files with specialisms, days in the salon, a bio and Book with buttons
- Book, Call and WhatsApp bar fixed to the bottom of the screen on phones
- Gift vouchers, cancellation and patch test policies and a privacy notice as Markdown pages
- HairSalon JSON-LD with hours, holiday hours and the full price list as an OfferCatalog, plus /llms.txt
- WCAG 2.2 AA in light and dark, one 2 KB script, and no cookies or trackers

## What you need

- Free plan: it builds to a static site, which the Free plan hosts with no limit on sites
- To run it locally: Node.js 22.12 or later and npm
- Optional: PUBLIC_BOOKING_URL, your booking page link; without it Book now opens a /book/ page with call, WhatsApp and email
- Optional: SITE_URL, your public address for canonical links, the sitemap and sharing images

## About

Every detail a client reads sits in content/: salon.yaml for address, hours, closures, booking and find-us details, services.yaml for the price list, and one Markdown file per stylist. Astro checks each file against a schema at build time and writes the same HairSalon structured data into every page, so search engines see one version of your details. Start by replacing the demo salon, its stylists and photos, deleting the demo reviews and setting reviewsAreDemo to false. It builds with npm ci and npm run build into dist/, and each push to your copy redeploys.

## Questions

### How do I make a website for my hair salon?

Deploy this template, then edit the files in content/: your salon's name, address, phone, opening hours, price list, stylists and photos. Each file has comments explaining every field, and the site rebuilds from them.

### Can I connect Fresha or Treatwell to my salon website?

Yes. Paste your Fresha, Treatwell, Phorest, Timely or Booksy booking link into booking.url in content/salon.yaml, or set PUBLIC_BOOKING_URL, and every Book now button goes there.

### How do I add a service and price to the salon price list?

Add a line to content/services.yaml under the right category. Use from: false for a fixed price and patchTest: true for colour services; the build stops and names the field if a price is not a number.

### Can I use this template for a barber, nail or beauty salon?

Yes. Change the categories in content/services.yaml, the wording in content/salon.yaml and the photos, then change HairSalon in src/lib/schema.ts to BarberShop, NailSalon or BeautySalon.

### Can I host this salon website without Light Cloud?

Yes. Run npm run build and upload dist/ to any static host such as Netlify, Cloudflare Pages or nginx, and point the not-found page at dist/404.html. There is no Light Cloud code and no server adapter.
