# National Truck Tyres – Three Country Websites

**Truck Tyres England** · **Truck Tyres Scotland** · **Truck Tyres Wales**

Modern, SEO-optimised, multi-language static websites for nationwide mobile HGV & truck tyre fitting.

## Quick Start

Each folder (`england/`, `scotland/`, `wales/`) is a complete static website ready to deploy to any host (Netlify, Vercel, Cloudflare Pages, traditional Apache/Nginx, etc.).

Point domains e.g.:
- trucktyresengland.co.uk → `england/`
- trucktyresscotland.co.uk → `scotland/`
- trucktyreswales.co.uk → `wales/`

Shared assets live in `shared/` (CSS, JS, config). Relative paths are used so the structure works as-is.

## Features

- **Hundreds of location pages** – towns, cities + motorways + major A-roads for each country
- **Modern dark professional design** – fast, mobile-first, easy navigation
- **Online booking portal** (customer form + staff login/dashboard)
- **20 languages** with auto-detection from browser + manual switcher in header
- **Extensive SEO** – unique titles, meta, Schema.org LocalBusiness, Open Graph, canonicals
- **Sitemap.xml + robots.txt** per site for Google & other search engines
- **Images** of trucks/tyres (Unsplash CDN in hero; replace with own assets easily)
- **Easy content management** – change phone numbers, company name, services, emergency footer text once in JSON and regenerate

## Phone Numbers (centralised)

- National: **0800 999 1216**
- International: **+44 151 374 1034**

Edit in `shared/config/site-config.json` then re-run the generator.

## Managing Content

1. Edit any of:
   - `shared/config/site-config.json` (company details, phones, services, languages)
   - `shared/config/locations-england.json` (or scotland/wales) – add/remove towns, motorways, A-roads
2. Re-run the generator:
   ```bash
   python3 /path/to/generate.py
   ```
3. Redeploy the three folders.

All location pages, footers, headers and meta tags pull from these configs – no need to edit hundreds of HTML files by hand.

## Staff Portal

- URL: `/staff/login.html`
- Demo login: `admin` / `trucktyres2026`
- Bookings submitted via the public form appear in the dashboard (stored in browser localStorage for this static demo). For production, connect the form to your backend/CRM/email.

## Languages

English (default), Welsh, Scottish Gaelic, French, German, Spanish, Polish, Romanian + many more. The language switcher is in the top-right. Preferred language is remembered.

## Expanding Locations

The generator currently limits pages for practicality while still delivering hundreds overall. To generate more:

- Increase the `limits` dict in `generate.py`
- Or add more entries to the locations JSON files and re-run

Footer on every page already lists the major UK cities and states coverage for **ALL** towns, cities, counties and motorways.

## Better Than Existing Sites

Compared with typical mobile tyre sites this package offers:
- Proper multi-country architecture
- Data-driven location pages at scale
- Real multi-language support
- Staff + customer booking flows
- Centralised config for maintenance
- Clean modern UI instead of outdated templates
- Full technical SEO foundation

## File Structure

```
truck-tyres-sites/
├── shared/
│   ├── config/          # Edit these to manage content
│   ├── css/styles.css
│   └── js/main.js
├── england/             # Deploy this folder
│   ├── index.html
│   ├── services.html
│   ├── booking.html
│   ├── contact.html
│   ├── locations/       # Hundreds of town pages
│   ├── roads/           # Motorway & A-road pages
│   ├── staff/
│   ├── sitemap.xml
│   └── robots.txt
├── scotland/
└── wales/
```

© National Truck Tyres – ready for production use after connecting a real backend for bookings if required.
