How 0eteration1/greenacres works
This is a Next.js site for a landscaping and lawn-care business. Visitors browse service and location pages, then request a quote or submit a contact, service, or job application; the sampled submission handlers store lead and application records, while lawn-mowing checkout is handled through Stripe. The tree also shows gallery, firewood, and informational content. Some page implementations and integrations were not sampled, so their internal wiring is not represented.
Main entry points: quotePage/page.tsx Quote form · submit-application/route.ts Application handler · submit-form/route.ts Lead handler · contact/page.tsx Contact
Components 21
Business website
- Home
app/page.tsx - Services
app/services/page.tsx - Local pages
components/CityLawnMowingPage.tsx - Rockville page
app/rockville-lawn-mowing/page.tsx - North Potomac page
app/north-potomac-lawn-mowing/page.tsx - Firewood
app/firewood/page.tsx - Gallery
app/gallery/page.tsx - About
app/about/page.tsx - Submission success
app/submission-success/page.tsx - Checkout return
app/return/page.tsx
Lead intake
- Contact
app/contact/page.tsx - Quote form
app/quotePage/page.tsx - Careers form
app/careers/page.tsx - Lead handler
app/api/submit-form/route.ts - Application handler
app/api/submit-application/route.ts
Service platform
- Firestore
- Firebase Storage
lib/firebase.ts - Checkout handler
app/api/create-checkout-session/route.ts - Stripe Checkout
- Zapier webhook
Other components
- Visitor
Connections 21
- Visitor → Home: opens
- Visitor → Services: browses
- Visitor → Rockville page: visits
- Visitor → North Potomac page: visits
- Visitor → Firewood: browses
- Visitor → Gallery: browses
- Visitor → About: reads
- Visitor → Contact: contacts
- Visitor → Quote form: requests quote
- Visitor → Careers form: applies
- Quote form → Firebase Storage: uploads videos
- Quote form → Lead handler: submits lead
- Contact → Lead handler: submits lead
- Lead handler → Firestore: writes lead
- Careers form → Application handler: submits application
- Application handler → Firestore: writes application
- Application handler → Zapier webhook: notifies
- Visitor → Checkout handler: starts checkout
- Checkout handler → Stripe Checkout: creates session
- Visitor → Submission success: views
- Visitor → Checkout return: returns