# sarathkumargit/lehman-plant-care-co architecture

> Architecture diagram of the GitHub repository sarathkumargit/lehman-plant-care-co, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sarathkumargit/lehman-plant-care-co
- Repository: https://github.com/sarathkumargit/lehman-plant-care-co

## Overview

This is a React website for a tree-care business. Visitors navigate a shared site shell to learn about the company and its services, browse projects, contact the business, and read legal policies. Service pages draw from shared service content; the contact page includes an opt-in form and location map. The supplied excerpts establish the app entry, route table, and selected service-page dependencies; several other page implementations were not sampled, so their internal connections are omitted.

Main entry points: [`frontend/src/routes/index.jsx`](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/routes/index.jsx) (Route Table), [`frontend/src/components/ui/SEOHead.jsx`](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/ui/SEOHead.jsx) (SEO Metadata), [`frontend/src/pages/Services.jsx`](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Services.jsx) (Services Page), [`frontend/src/pages/Contact.jsx`](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Contact.jsx) (Contact Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and Routing"]
  node_entry["React Entry<br/>[main.jsx]"]
  node_app_component["App<br/>[App.jsx]"]
  node_routes["Route Table<br/>[index.jsx]"]
end

subgraph group_shell["Site Navigation"]
  node_layout["Root Layout<br/>[RootLayout.jsx]"]
  node_navigation["Navigation<br/>[Navbar.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_content["Business Content"]
  node_home["Home Page<br/>[Home.jsx]"]
  node_about["About Page<br/>[About.jsx]"]
  node_services_page["Services Page<br/>[Services.jsx]"]
  node_projects["Projects Page<br/>[Projects.jsx]"]
  node_contact["Contact Page<br/>[Contact.jsx]"]
  node_privacy["Privacy Policy<br/>[PrivacyPolicy.jsx]"]
  node_terms["Terms Conditions"]
  node_not_found["Not Found<br/>[NotFound.jsx]"]
  node_service_data["Service Catalog<br/>[services.js]"]
end

subgraph group_shared["Shared UI"]
  node_service_card["Service Card<br/>[ServiceCard.jsx]"]
  node_seo["SEO Metadata<br/>[SEOHead.jsx]"]
  node_contact_form["Opt-in Form<br/>[GHLOptInForm.jsx]"]
  node_location_map["Location Map<br/>[LocationMap.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app_component
node_app_component -->|"renders routes"| node_routes
node_routes -->|"wraps pages"| node_layout
node_routes -->|"routes to"| node_home
node_routes -->|"routes to"| node_about
node_routes -->|"routes to"| node_services_page
node_routes -->|"routes to"| node_projects
node_routes -->|"routes to"| node_contact
node_routes -->|"routes to"| node_privacy
node_routes -->|"routes to"| node_terms
node_routes -->|"routes to"| node_not_found
node_services_page -->|"reads catalog"| node_service_data
node_services_page -->|"renders cards"| node_service_card
node_services_page -->|"sets metadata"| node_seo
node_contact -->|"renders form"| node_contact_form
node_contact -->|"renders map"| node_location_map
node_contact -->|"sets metadata"| node_seo
node_projects -->|"sets metadata"| node_seo
node_privacy -->|"sets metadata"| node_seo
node_terms -->|"sets metadata"| node_seo

click node_entry "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/main.jsx"
click node_app_component "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/App.jsx"
click node_routes "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/routes/index.jsx"
click node_layout "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/RootLayout.jsx"
click node_navigation "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/Navbar.jsx"
click node_footer "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/Footer.jsx"
click node_home "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Home.jsx"
click node_about "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/About.jsx"
click node_services_page "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Services.jsx"
click node_projects "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Projects.jsx"
click node_contact "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Contact.jsx"
click node_privacy "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/PrivacyPolicy.jsx"
click node_terms "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/TermsConditions.jsx"
click node_not_found "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/NotFound.jsx"
click node_service_data "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/data/services.js"
click node_service_card "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/cards/ServiceCard.jsx"
click node_seo "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/ui/SEOHead.jsx"
click node_contact_form "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/forms/GHLOptInForm.jsx"
click node_location_map "https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/forms/LocationMap.jsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_app_component,node_routes toneBlue
class node_layout,node_navigation,node_footer toneAmber
class node_home,node_about,node_services_page,node_projects,node_contact,node_privacy,node_terms,node_not_found,node_service_data toneMint
class node_service_card,node_seo,node_contact_form,node_location_map toneRose
class node_visitor toneIndigo
```

## Components

### App and Routing

- [React Entry](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [App](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Route Table](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/routes/index.jsx): `frontend/src/routes/index.jsx`

### Site Navigation

- [Root Layout](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/RootLayout.jsx): `frontend/src/components/layout/RootLayout.jsx`
- [Navigation](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/Navbar.jsx): `frontend/src/components/layout/Navbar.jsx`
- [Footer](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/layout/Footer.jsx): `frontend/src/components/layout/Footer.jsx`

### Business Content

- [Home Page](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Home.jsx): `frontend/src/pages/Home.jsx`
- [About Page](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/About.jsx): `frontend/src/pages/About.jsx`
- [Services Page](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Services.jsx): `frontend/src/pages/Services.jsx`
- [Projects Page](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Projects.jsx): `frontend/src/pages/Projects.jsx`
- [Contact Page](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/Contact.jsx): `frontend/src/pages/Contact.jsx`
- [Privacy Policy](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/PrivacyPolicy.jsx): `frontend/src/pages/PrivacyPolicy.jsx`
- [Terms Conditions](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/TermsConditions.jsx): `frontend/src/pages/TermsConditions.jsx`
- [Not Found](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/pages/NotFound.jsx): `frontend/src/pages/NotFound.jsx`
- [Service Catalog](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/data/services.js): `frontend/src/data/services.js`

### Shared UI

- [Service Card](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/cards/ServiceCard.jsx): `frontend/src/components/cards/ServiceCard.jsx`
- [SEO Metadata](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/ui/SEOHead.jsx): `frontend/src/components/ui/SEOHead.jsx`
- [Opt-in Form](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/forms/GHLOptInForm.jsx): `frontend/src/components/forms/GHLOptInForm.jsx`
- [Location Map](https://github.com/sarathkumargit/lehman-plant-care-co/blob/main/frontend/src/components/forms/LocationMap.jsx): `frontend/src/components/forms/LocationMap.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React Entry: opens site (evidence: `frontend/src/main.jsx`)
- React Entry → App: renders (evidence: `frontend/src/main.jsx`)
- App → Route Table: renders routes (evidence: `frontend/src/App.jsx`)
- Route Table → Root Layout: wraps pages (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Home Page: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → About Page: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Services Page: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Projects Page: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Contact Page: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Privacy Policy: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Terms Conditions: routes to (evidence: `frontend/src/routes/index.jsx`)
- Route Table → Not Found: routes to (evidence: `frontend/src/routes/index.jsx`)
- Services Page → Service Catalog: reads catalog (evidence: `frontend/src/pages/Services.jsx`)
- Services Page → Service Card: renders cards (evidence: `frontend/src/pages/Services.jsx`)
- Services Page → SEO Metadata: sets metadata (evidence: `frontend/src/pages/Services.jsx`)
- Contact Page → Opt-in Form: renders form (evidence: `frontend/src/pages/Contact.jsx`)
- Contact Page → Location Map: renders map (evidence: `frontend/src/pages/Contact.jsx`)
- Contact Page → SEO Metadata: sets metadata (evidence: `frontend/src/pages/Contact.jsx`)
- Projects Page → SEO Metadata: sets metadata (evidence: `frontend/src/pages/Projects.jsx`)
- Privacy Policy → SEO Metadata: sets metadata (evidence: `frontend/src/pages/PrivacyPolicy.jsx`)
- Terms Conditions → SEO Metadata: sets metadata (evidence: `frontend/src/pages/TermsConditions.jsx`)
