# malgapodev/jdsumaoangbuilders architecture

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

- Interactive diagram: https://gitdiagram.com/malgapodev/jdsumaoangbuilders
- Repository: https://github.com/malgapodev/jdsumaoangbuilders

## Overview

This is a React website for JD Sumaoang Builders. A visitor enters through the browser app, sees the company’s home-page sections, and can navigate to the contact form or project-view route. The principal domain areas are company introduction, services, projects, and contact; navigation also uses shared scroll-selection state. The excerpts show the app’s route composition and the contact form’s EmailJS submission. Other page implementations are only partly sampled, so their internal behavior and some navigation links are not inferred.

Main entry points: [`src/App.jsx`](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/App.jsx) (Routes and shell), [`src/main.jsx`](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/main.jsx) (React entry), [`src/components/NavigationBar.jsx`](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/components/NavigationBar.jsx) (Navigation bar), [`src/pages/ContactForm.jsx`](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/ContactForm.jsx) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Website shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Routes and shell<br/>[App.jsx]"]
  node_navigation["Navigation bar<br/>[NavigationBar.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
  node_not_found["Not-found page<br/>[NotFound.jsx]"]
end

subgraph group_company["Company information"]
  node_hero["Hero section<br/>[Heropage.jsx]"]
  node_about["Company profile<br/>[About.jsx]"]
  node_services["Services catalog<br/>[Service.jsx]"]
end

subgraph group_engagement["Projects and contact"]
  node_projects["Project showcase<br/>[Projects.jsx]"]
  node_project_view["Project view<br/>[ViewProjects.jsx]"]
  node_contact_info["Contact details<br/>[Contacts.jsx]"]
  node_contact_form["Contact form<br/>[ContactForm.jsx]"]
end

subgraph group_state["Shared UI state"]
  node_scroll_state["Scroll selection<br/>[ScrollContext.jsx]"]
end

node_visitor(("Visitor"))
node_emailjs{{"EmailJS service"}}

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navigation
node_app -->|"routes to"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_services
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_contact_info
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_contact_form
node_app -->|"routes to"| node_project_view
node_app -->|"routes to"| node_not_found
node_app -->|"provides"| node_scroll_state
node_navigation -->|"sets selection"| node_scroll_state
node_contact_form -->|"submits form"| node_emailjs

click node_entry "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/main.jsx"
click node_app "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/App.jsx"
click node_navigation "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/components/NavigationBar.jsx"
click node_hero "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Heropage.jsx"
click node_about "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/About.jsx"
click node_services "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Service.jsx"
click node_projects "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Projects.jsx"
click node_project_view "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/ViewProjects.jsx"
click node_contact_info "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Contacts.jsx"
click node_contact_form "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/ContactForm.jsx"
click node_footer "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/components/Footer.jsx"
click node_not_found "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/NotFound.jsx"
click node_scroll_state "https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/utils/ScrollContext.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,node_navigation,node_footer,node_not_found toneBlue
class node_hero,node_about,node_services toneAmber
class node_projects,node_project_view,node_contact_info,node_contact_form toneMint
class node_scroll_state toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### Website shell

- [React entry](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/main.jsx): `src/main.jsx`
- [Routes and shell](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation bar](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/components/NavigationBar.jsx): `src/components/NavigationBar.jsx`
- [Footer](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Not-found page](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/NotFound.jsx): `src/pages/NotFound.jsx`

### Company information

- [Hero section](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Heropage.jsx): `src/pages/Heropage.jsx`
- [Company profile](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/About.jsx): `src/pages/About.jsx`
- [Services catalog](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Service.jsx): `src/pages/Service.jsx`

### Projects and contact

- [Project showcase](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Projects.jsx): `src/pages/Projects.jsx`
- [Project view](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/ViewProjects.jsx): `src/pages/ViewProjects.jsx`
- [Contact details](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/Contacts.jsx): `src/pages/Contacts.jsx`
- [Contact form](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/pages/ContactForm.jsx): `src/pages/ContactForm.jsx`

### Shared UI state

- [Scroll selection](https://github.com/malgapodev/jdsumaoangbuilders/blob/main/src/utils/ScrollContext.jsx): `src/utils/ScrollContext.jsx`

### Other components

- **Visitor**
- **EmailJS service**

## Connections

- Visitor → React entry: opens
- React entry → Routes and shell: renders (evidence: `src/main.jsx`)
- Routes and shell → Navigation bar: renders (evidence: `src/App.jsx`)
- Routes and shell → Hero section: routes to (evidence: `src/App.jsx`)
- Routes and shell → Company profile: renders (evidence: `src/App.jsx`)
- Routes and shell → Services catalog: renders (evidence: `src/App.jsx`)
- Routes and shell → Project showcase: renders (evidence: `src/App.jsx`)
- Routes and shell → Contact details: renders (evidence: `src/App.jsx`)
- Routes and shell → Footer: renders (evidence: `src/App.jsx`)
- Routes and shell → Contact form: routes to (evidence: `src/App.jsx`)
- Routes and shell → Project view: routes to (evidence: `src/App.jsx`)
- Routes and shell → Not-found page: routes to (evidence: `src/App.jsx`)
- Routes and shell → Scroll selection: provides (evidence: `src/App.jsx`)
- Navigation bar → Scroll selection: sets selection (evidence: `src/components/NavigationBar.jsx`)
- Contact form → EmailJS service: submits form (evidence: `src/pages/ContactForm.jsx`)
