Modern, professional pest control website built with Next.js 15, TypeScript, and Tailwind CSS.
- Next.js 15 with App Router
- TypeScript for type safety
- Tailwind CSS with custom green/amber theme
- Framer Motion for smooth animations
- Responsive design for all devices
- Nix Flakes for reproducible development environment
- Contact form integration ready (Formspree)
- Next.js 15 (App Router)
- TypeScript
- Tailwind CSS 3
- Framer Motion
- Nix Flakes (Node 22)
- Enter the development environment:
nix develop- Install dependencies (first time only):
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
Requirements:
- Node.js 22+
- npm 10+
npm install
npm run dev├── public/
│ └── images/ # Site images
├── src/
│ ├── app/ # Next.js App Router pages
│ │ ├── about/
│ │ ├── contact/
│ │ ├── policy-warranty/
│ │ ├── services/
│ │ ├── layout.tsx
│ │ ├── page.tsx
│ │ └── globals.css
│ ├── components/ # React components
│ │ ├── layout/
│ │ ├── ui/
│ │ └── ...
│ └── lib/
│ ├── constants.ts # Company data, services
│ └── utils.ts # Utility functions
├── flake.nix # Nix development environment
└── tailwind.config.ts # Tailwind configuration
- Home (
/) - Hero, services overview, about snippet, contact form - Services (
/services) - Detailed service descriptions - About (
/about) - Company history, certifications - Contact (
/contact) - Contact form and information - Policy & Warranty (
/policy-warranty) - Service policies
npm run buildnpm run lintnpm run build
npm startEdit tailwind.config.ts to customize the color scheme:
- Primary (Red):
#EF4444 - Accent (Red):
#EF4444
Edit src/lib/constants.ts to update:
- Company name, phone, email
- Service areas
- Services offered
- Social media links
- Certifications
The contact form uses Formspree. To activate:
- Sign up at formspree.io
- Create a new form
- Update the form endpoint in
src/components/ContactForm.tsx:
const response = await fetch("https://formspree.io/f/YOUR_FORM_ID", {This project is configured for deployment on Hostinger using Dokploy.
- Push your code to a Git repository (GitHub, GitLab, etc.)
- In Dokploy on Hostinger:
- Create a new application
- Connect your Git repository
- Set build command:
npm run build - Set start command:
npm start - Configure environment variables if needed
- Deploy!
The application uses:
- Node.js 22 (via Nix)
- Next.js 15 with App Router
- Standard Next.js build output
No environment variables are required for basic deployment. Optional:
NEXT_PUBLIC_FORMSPREE_ID- For contact form integration
Copyright © 2026 Phaseone Exterminating. All rights reserved.