A modern, dark-themed sales funnel website built with Astro, React, Tailwind CSS, and Framer Motion. Designed for Southwest Michigan businesses to generate leads and showcase web development and SEO services.
- Modern Sales Funnel Flow: Hero → Lead Magnet (Free Audit) → Services → Social Proof → Contact
- Dark Theme Design: Professional, sleek appearance with custom gradients
- Mobile-First Responsive: Optimized for all devices
- Performance Optimized: Built with Astro for lightning-fast loading
- Local SEO Ready: Schema markup and local business optimization
- Interactive Forms: Website audit and contact forms with validation
- Smooth Animations: Framer Motion animations throughout
- Cloudflare Pages Ready: Configured for easy deployment
- Framework: Astro 5.12.8 with React integration
- Styling: Tailwind CSS with custom dark theme
- Animations: Framer Motion for smooth interactions
- Icons: Lucide React for modern iconography
- Forms: React Hook Form with Zod validation
- Deployment: Cloudflare Pages with SSR support
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ ├── ui/ # Reusable UI components
│ │ └── sections/ # Page sections
│ ├── layouts/
│ │ └── BaseLayout.astro
│ └── pages/
│ └── index.astro
├── wrangler.toml # Cloudflare Pages config
└── tailwind.config.mjs # Tailwind configuration
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run deploy |
Deploy to Cloudflare Pages |
npm run cf:dev |
Run Cloudflare Pages dev server |
This project is configured for Cloudflare Pages deployment:
- Connect Repository: Link your GitHub repository to Cloudflare Pages
- Build Settings:
- Build command:
npm run build - Build output directory:
dist - Root directory:
/
- Build command:
- Environment Variables: Set any required environment variables in Cloudflare Pages dashboard
# Build the project
npm run build
# Deploy using Wrangler CLI
npm run deployThe color scheme can be customized in tailwind.config.mjs:
- Primary colors (blue theme)
- Gray scale for dark theme
- Custom animations and transitions
Update business information in:
src/layouts/BaseLayout.astro- Schema markup and meta tagssrc/components/sections/- All section components- Contact information throughout components
Forms are configured with:
- React Hook Form for form handling
- Zod for validation schemas
- Custom styling with Tailwind
- Hero Section: Compelling headline with strong CTA
- Free Website Audit: Lead magnet form with email capture
- Services Showcase: Three-tier service presentation
- Social Proof: Local testimonials with results
- Contact Form: Detailed project inquiry form
- Footer: Contact info and service areas
Optimized for Southwest Michigan market:
- Battle Creek, Kalamazoo, Grand Rapids area targeting
- Local schema markup implementation
- Regional testimonials and case studies
- Local phone number and address prominence
- Mobile-first design approach
- Touch-friendly interactions
- Optimized form layouts
- Fast loading on mobile networks
- Create component in
src/components/sections/ - Import and add to
src/pages/index.astro - Use
client:loaddirective for React components
- Use Tailwind utility classes
- Follow dark theme color palette
- Maintain consistent spacing and typography
- Use Framer Motion for animations
- Server-side rendering with Astro
- Component-level hydration
- Optimized asset loading
- Core Web Vitals optimized
Built with ❤️ for Southwest Michigan businesses.