# aakash12-art/eela-landing architecture

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

- Interactive diagram: https://gitdiagram.com/aakash12-art/eela-landing
- Repository: https://github.com/aakash12-art/eela-landing

## Overview

EELA Group’s Next.js site presents its digital-growth services, company information, and contact form. A prospective client visits the site, explores the landing page or service/about pages, and can submit a contact inquiry; the contact page POSTs the form data to an API route, which connects to MongoDB and creates a Contact record. The graph preserves the main page sections and shared navigation/footer components. Evidence is limited to the README and sampled files; unsampled application wiring is not inferred.

Main entry points: [`app/page.tsx`](https://github.com/aakash12-art/eela-landing/blob/main/app/page.tsx) (Landing page), [`app/contact/page.tsx`](https://github.com/aakash12-art/eela-landing/blob/main/app/contact/page.tsx) (Contact form), [`app/components/Footer.tsx`](https://github.com/aakash12-art/eela-landing/blob/main/app/components/Footer.tsx) (Site footer), [`app/api/contact/route.ts`](https://github.com/aakash12-art/eela-landing/blob/main/app/api/contact/route.ts) (Contact API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Public website"]
  node_home["Landing page<br/>[page.tsx]"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_navbar["Main navigation<br/>[Navbar.tsx]"]
  node_page_sections["Content sections<br/>[Section.tsx]"]
  node_services["Services page<br/>[page.tsx]"]
  node_about["About page<br/>[page.tsx]"]
  node_glass_nav["Glass navigation<br/>[GlassNavbar.tsx]"]
  node_footer["Site footer<br/>[Footer.tsx]"]
end

subgraph group_contact["Contact handling"]
  node_contact_form["Contact form<br/>[page.tsx]"]
  node_contact_api["Contact API<br/>[route.ts]"]
end

subgraph group_data["Persistence"]
  node_db_helper["DB connection<br/>[db.ts]"]
  node_contact_model["Contact model<br/>[Contact.ts]"]
end

node_visitor(("Prospective client"))
node_mongodb[("MongoDB")]

node_visitor -.->|"visits"| node_home
node_visitor -.->|"opens"| node_contact_form
node_home -->|"renders"| node_hero
node_hero -->|"renders"| node_navbar
node_home -->|"renders"| node_page_sections
node_home -->|"renders"| node_footer
node_services -->|"renders"| node_glass_nav
node_services -->|"renders"| node_footer
node_about -->|"renders"| node_glass_nav
node_about -->|"renders"| node_footer
node_contact_form -->|"renders"| node_glass_nav
node_contact_form -->|"renders"| node_footer
node_contact_form -->|"POSTs form data"| node_contact_api
node_contact_api -->|"connects via"| node_db_helper
node_contact_api -->|"creates record"| node_contact_model
node_db_helper -->|"connects to"| node_mongodb

click node_home "https://github.com/aakash12-art/eela-landing/blob/main/app/page.tsx"
click node_hero "https://github.com/aakash12-art/eela-landing/blob/main/app/components/Hero.tsx"
click node_navbar "https://github.com/aakash12-art/eela-landing/blob/main/app/components/Navbar.tsx"
click node_page_sections "https://github.com/aakash12-art/eela-landing/blob/main/app/components/Section.tsx"
click node_services "https://github.com/aakash12-art/eela-landing/blob/main/app/services/page.tsx"
click node_about "https://github.com/aakash12-art/eela-landing/blob/main/app/about/page.tsx"
click node_glass_nav "https://github.com/aakash12-art/eela-landing/blob/main/app/components/GlassNavbar.tsx"
click node_footer "https://github.com/aakash12-art/eela-landing/blob/main/app/components/Footer.tsx"
click node_contact_form "https://github.com/aakash12-art/eela-landing/blob/main/app/contact/page.tsx"
click node_contact_api "https://github.com/aakash12-art/eela-landing/blob/main/app/api/contact/route.ts"
click node_db_helper "https://github.com/aakash12-art/eela-landing/blob/main/lib/db.ts"
click node_contact_model "https://github.com/aakash12-art/eela-landing/blob/main/models/Contact.ts"

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_home,node_hero,node_navbar,node_page_sections,node_services,node_about,node_glass_nav,node_footer,node_visitor toneBlue
class node_contact_form,node_contact_api,node_mongodb toneAmber
class node_db_helper,node_contact_model toneMint
```

## Components

### Public website

- [Landing page](https://github.com/aakash12-art/eela-landing/blob/main/app/page.tsx): `app/page.tsx`
- [Hero section](https://github.com/aakash12-art/eela-landing/blob/main/app/components/Hero.tsx): `app/components/Hero.tsx`
- [Main navigation](https://github.com/aakash12-art/eela-landing/blob/main/app/components/Navbar.tsx): `app/components/Navbar.tsx`
- [Content sections](https://github.com/aakash12-art/eela-landing/blob/main/app/components/Section.tsx): `app/components/Section.tsx`
- [Services page](https://github.com/aakash12-art/eela-landing/blob/main/app/services/page.tsx): `app/services/page.tsx`
- [About page](https://github.com/aakash12-art/eela-landing/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [Glass navigation](https://github.com/aakash12-art/eela-landing/blob/main/app/components/GlassNavbar.tsx): `app/components/GlassNavbar.tsx`
- [Site footer](https://github.com/aakash12-art/eela-landing/blob/main/app/components/Footer.tsx): `app/components/Footer.tsx`

### Contact handling

- [Contact form](https://github.com/aakash12-art/eela-landing/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [Contact API](https://github.com/aakash12-art/eela-landing/blob/main/app/api/contact/route.ts): `app/api/contact/route.ts`

### Persistence

- [DB connection](https://github.com/aakash12-art/eela-landing/blob/main/lib/db.ts): `lib/db.ts`
- [Contact model](https://github.com/aakash12-art/eela-landing/blob/main/models/Contact.ts): `models/Contact.ts`

### Other components

- **Prospective client**
- **MongoDB**

## Connections

- Prospective client → Landing page: visits
- Prospective client → Contact form: opens
- Landing page → Hero section: renders (evidence: `app/page.tsx`)
- Hero section → Main navigation: renders (evidence: `app/components/Hero.tsx`)
- Landing page → Content sections: renders (evidence: `app/page.tsx`)
- Landing page → Site footer: renders (evidence: `app/page.tsx`)
- Services page → Glass navigation: renders (evidence: `app/services/page.tsx`)
- Services page → Site footer: renders (evidence: `app/services/page.tsx`)
- About page → Glass navigation: renders (evidence: `app/about/page.tsx`)
- About page → Site footer: renders (evidence: `app/about/page.tsx`)
- Contact form → Glass navigation: renders (evidence: `app/contact/page.tsx`)
- Contact form → Site footer: renders (evidence: `app/contact/page.tsx`)
- Contact form → Contact API: POSTs form data (evidence: `app/contact/page.tsx`)
- Contact API → DB connection: connects via (evidence: `app/api/contact/route.ts`)
- Contact API → Contact model: creates record (evidence: `app/api/contact/route.ts`)
- DB connection → MongoDB: connects to (evidence: `lib/db.ts`)
