Skip to content

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

US-1 Pools (Modern Reimagining)

A complete rebuild of the US-1 Pools website with modern web standards, improved SEO, and enhanced user experience.

🚀 Features

Core Pages

  • Home - Hero, services overview, testimonials, team intro
  • About - Company history, founders, certifications
  • Pools & Spas - Overview with dropdown navigation:
    • Above-ground pools
    • In-ground pools (vinyl & fiberglass)
    • Hot tubs & spas
  • Gallery - Filterable project photos with lightbox viewer
  • Services - Detailed service offerings
  • Contact - Working contact form with map embed
  • FAQ - Common questions with structured data

New Features (2024)

1. Interactive Pool Cost Calculator (calculator.html)

  • Multi-step quiz for cost estimation
  • Instant price ranges based on:
    • Pool type (above-ground, in-ground, spa)
    • Size selection
    • Feature packages (basic, mid-level, premium)
    • Timeline preferences
  • CTA to request detailed quote

2. Service Area Pages (/areas/)

  • Local SEO landing pages for nearby cities
  • Raleigh, NC coverage (additional areas can be added)
  • Neighborhood-specific details and drive times
  • Structured data for local search

3. Content Hub (/guides/)

  • Pool care & maintenance guide
  • Weekly checklists
  • Water chemistry basics
  • Winterization & spring opening instructions
  • Troubleshooting common problems

4. Customer Testimonials

  • Featured reviews on homepage
  • Review schema markup for SEO
  • 5-star ratings display

5. Working Contact Form

  • Serverless API endpoint (/api/contact.js)
  • Email delivery via Resend API
  • Honeypot spam protection
  • Client-side validation
  • Success/error messaging

6. Gallery Lightbox

  • Click-to-expand images
  • Keyboard navigation (arrow keys, escape)
  • Next/previous buttons
  • Image captions overlay

7. Seasonal Messaging System

  • Auto-updates hours based on current date
  • Winter mode (Nov-Feb): "Closed for winter — call for appointments"
  • Active season (Mar-Oct): Normal business hours
  • Uses data-seasonal attribute for easy updates

8. Analytics & SEO

  • Plausible Analytics (privacy-friendly, no cookies)
  • Comprehensive structured data:
    • LocalBusiness schema
    • Review/Rating schema
    • FAQ schema
  • Meta tags for social sharing (Open Graph, Twitter Cards)
  • Canonical URLs
  • XML sitemap with all pages

Technical Improvements

Performance

  • Lazy loading on gallery images
  • Preconnect to Google Fonts
  • Async/defer script loading
  • Optimized image sizes
  • Minimal CSS/JS footprint

Accessibility

  • ARIA labels on interactive elements
  • Keyboard-accessible dropdowns
  • Focus management in lightbox
  • Skip-to-content link
  • Semantic HTML5

Design System

  • Aquatic color palette (ocean, lagoon, seafoam, coral)
  • Responsive grid layouts
  • Smooth animations (floating orbs, button glow)
  • Wave dividers between sections
  • Mobile-first responsive design

📂 Project Structure

us1pools/
├── index.html              # Homepage
├── about.html              # Company info
├── pools.html              # Pools overview
├── above-ground.html       # Above-ground pools
├── in-ground.html          # In-ground pools
├── hot-tubs.html           # Hot tubs & spas
├── gallery.html            # Project gallery
├── services.html           # Service offerings
├── contact.html            # Contact form + map
├── faq.html                # Frequently asked questions
├── calculator.html         # ✨ Pool cost calculator
├── 404.html                # Custom error page
├── styles.css              # Main stylesheet
├── script.js               # Interactive features
├── robots.txt              # Crawler directives
├── sitemap.xml             # SEO sitemap
├── api/
│   └── contact.js          # ✨ Serverless contact form handler
├── areas/
│   └── raleigh.html        # ✨ Service area page (Raleigh)
├── guides/
│   └── pool-care.html      # ✨ Pool maintenance guide
├── assets/
│   └── images/
│       ├── logo.png
│       ├── hero.webp
│       ├── team.webp
│       ├── pool-01.jpg through pool-12.jpg  # ✨ Real project photos
│       └── ...
└── legacy/                 # Original Squarespace export (gitignored)

🛠️ Development

Local Preview

cd /Volumes/Ext-code/GitHub\ Repos/us1pools
python3 -m http.server 5173
# Visit http://localhost:5173

Contact Form Setup

The contact form requires a Resend API key for email delivery:

  1. Sign up at resend.com (free tier: 100 emails/day)
  2. Add your API key to Vercel environment variables:
    RESEND_API_KEY=re_xxxxxxxxxxxx
    
  3. The form will fall back to console logging if no API key is set (for local dev)

Deployment

Deployed on Vercel with automatic GitHub integration:

  • Production URL: https://us1pools.vercel.app
  • Custom Domain: us1pools.com (DNS configuration required)
  • Auto-deploy on push to main branch
# Manual deploy
vercel --prod

# Preview deploy
vercel

📊 Analytics

Plausible Analytics is configured for:

  • Privacy-friendly tracking (no cookies, GDPR compliant)
  • Page views, referrers, device types
  • No personal data collection
  • Dashboard: https://plausible.io/us1pools.com

🎨 Design Notes

Color Palette

  • Deep Ocean (#052026) - Dark backgrounds
  • Ocean (#0a5c6b) - Primary brand color
  • Lagoon (#0f7d8a) - Interactive elements
  • Aqua (#1fb9c6) - Accents
  • Aqua Bright (#40d3dd) - Highlights
  • Seafoam (#d7f6f4) - Light backgrounds
  • Sand (#f2efe7) - Neutral backgrounds
  • Sun (#f6b35d) - Warm accents
  • Coral (#ef6b5b) - CTAs

Typography

  • Headings: Fraunces (serif, 600/700 weight)
  • Body: Space Grotesk (sans-serif, 400/500/600 weight)

📝 Content Sources

All business information sourced from official us1pools.com:

  • Address: 3453 US Hwy 1 South, Franklinton, NC 27525
  • Primary Phone: (919) 441-0033
  • Secondary Phone: (919) 864-0277
  • Email: us1pools@gmail.com
  • Seasonal Hours: Closed for winter (call for appointments)

Brand partnerships and product lines verified from live site.

🔐 Environment Variables

For full functionality, set these in Vercel:

RESEND_API_KEY=your_resend_api_key_here

📄 License

© 2024 US-1 Pools. All rights reserved.


Built with: Vanilla HTML/CSS/JS, Vercel Serverless Functions, Plausible Analytics Last Updated: December 2024

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages