# Rapid Water Recovery — Page Generator

Generates a complete SEO-optimized website with 64 pages:
- 1 home page
- 6 static pages (About, Contact, Services, Service Areas, Privacy, Terms)
- 8 state landing pages
- 48 city landing pages
- sitemap.xml

## Project Structure

```
project/
├── template.html         ← Master template for home / state / city pages
├── generate-static.js    ← Renderer for static pages (shares CSS with main template)
├── pages.js              ← Body content for the 6 static pages
├── data.js               ← States, cities, FAQs, brand info
├── generate.js           ← Main generator (reads everything, writes output/)
├── README.md             ← You are here
├── logo.png              ← Header logo (compact vertical)
├── logo-dark.png         ← Footer logo (horizontal, for dark backgrounds)
├── logo-full.png         ← Brand showcase logo (full lockup with tagline + Fire & Smoke)
├── hero.jpg              ← Hero background image
└── output/               ← Generated pages
```

## Quick Start

```bash
node generate.js
```

This creates:
- `output/index.html` — Home page (with brand showcase)
- `output/about/index.html` — About Us
- `output/contact/index.html` — Contact Us
- `output/services/index.html` — Services
- `output/service-areas/index.html` — Service Areas
- `output/privacy/index.html` — Privacy Policy
- `output/terms/index.html` — Terms of Service
- `output/<state>/index.html` × 8 — State landing pages
- `output/<state>/<city>/index.html` × 48 — City landing pages
- `output/sitemap.xml` — XML sitemap

## Brand

- **Name:** Rapid Water Recovery
- **Domain:** rapidwaterrecovery.com
- **Phone:** (833) 983-6007
- **Email:** info@rapidwaterrecovery.com

## Important: Privacy & Terms Pages

The Privacy Policy and Terms of Service pages are **starting-point templates**. Both pages display a prominent yellow warning at the top noting they need legal review.

**Before publishing these pages, have them reviewed by an attorney experienced in:**
- Lead-generation marketing law
- Consumer privacy law (CCPA, CPRA, state-specific laws)
- Restoration referral service regulations in every state where you operate
- TCPA compliance for phone communications

The legal-review warning is part of the visible page content — **remove it manually after your attorney has signed off on the final language.**

## Adding/Editing Static Pages

Edit `pages.js` — each page is an object with `slug`, `title`, `subtitle`, `metaTitle`, `metaDescription`, and `bodyHtml`. To add a new static page (e.g., FAQ, Reviews), add another object to the returned array.

## Adding States or Cities

Edit `data.js`. Re-run `node generate.js`. Done.

## Deployment

1. Upload the contents of `output/` to your web root, preserving the directory structure
2. Upload `logo.png`, `logo-dark.png`, `logo-full.png`, and `hero.jpg` to the web root
3. Submit `sitemap.xml` to Google Search Console
