# gagan-adiwal/university-react-site architecture

> Architecture diagram of the GitHub repository gagan-adiwal/university-react-site, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gagan-adiwal/university-react-site
- Repository: https://github.com/gagan-adiwal/university-react-site

## Overview

EduVerse is a React university information and admissions website. Visitors enter through the shared app shell, browse institutional, course, and contact information, then can proceed from the home or courses page to the admission form and open Razorpay for payment. The app shell routes between pages and supplies shared navigation and footer. The contact page embeds Google Maps; its form currently displays a local success alert rather than submitting to a backend or email service. The map and payment links are visible in sampled source; broader capabilities are described in the README.

Main entry points: [`src/App.jsx`](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/App.jsx) (App routes), [`src/pages/Admission.jsx`](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Admission.jsx) (Admission form), [`src/components/Navbar.jsx`](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Navbar.jsx) (Navigation), [`src/components/Footer.jsx`](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Footer.jsx) (Footer links)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Site shell"]
  node_app["App routes<br/>[App.jsx]"]
  node_entry["React entry<br/>[main.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_footer["Footer links<br/>[Footer.jsx]"]
end

subgraph group_discovery["University discovery"]
  node_home["Home page<br/>[Home.jsx]"]
  node_about["About page<br/>[About.jsx]"]
  node_courses["Course catalog<br/>[Courses.jsx]"]
end

subgraph group_engagement["Student engagement"]
  node_contact["Contact page<br/>[Contact.jsx]"]
  node_admission["Admission form<br/>[Admission.jsx]"]
end

node_visitor(("Visitor"))
node_maps["Google Maps"]
node_razorpay["Razorpay"]

node_visitor -.->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_contact
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_courses
node_app -->|"routes to"| node_admission
node_navbar -->|"links to"| node_home
node_navbar -->|"links to"| node_about
node_navbar -->|"links to"| node_courses
node_navbar -->|"links to"| node_admission
node_footer -->|"links to"| node_about
node_footer -->|"links to"| node_contact
node_footer -->|"links to"| node_courses
node_footer -->|"links to"| node_admission
node_home -->|"links to"| node_courses
node_home -->|"links to"| node_admission
node_courses -->|"links to"| node_admission
node_contact -->|"embeds map"| node_maps
node_admission -->|"opens payment"| node_razorpay

click node_app "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/App.jsx"
click node_entry "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/main.jsx"
click node_navbar "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Navbar.jsx"
click node_footer "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Footer.jsx"
click node_home "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Home.jsx"
click node_about "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/About.jsx"
click node_courses "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Courses.jsx"
click node_contact "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Contact.jsx"
click node_admission "https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Admission.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_app,node_entry,node_navbar,node_footer toneBlue
class node_home,node_about,node_courses toneAmber
class node_contact,node_admission toneMint
class node_visitor,node_maps,node_razorpay toneIndigo
```

## Components

### Site shell

- [App routes](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/App.jsx): `src/App.jsx`
- [React entry](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/main.jsx): `src/main.jsx`
- [Navigation](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Footer links](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/components/Footer.jsx): `src/components/Footer.jsx`

### University discovery

- [Home page](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Home.jsx): `src/pages/Home.jsx`
- [About page](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/About.jsx): `src/pages/About.jsx`
- [Course catalog](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Courses.jsx): `src/pages/Courses.jsx`

### Student engagement

- [Contact page](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Contact.jsx): `src/pages/Contact.jsx`
- [Admission form](https://github.com/gagan-adiwal/university-react-site/blob/Printeasedef/src/pages/Admission.jsx): `src/pages/Admission.jsx`

### Other components

- **Visitor**
- **Google Maps**
- **Razorpay**

## Connections

- Visitor → React entry: opens site
- React entry → App routes: renders (evidence: `src/main.jsx`)
- App routes → Navigation: renders (evidence: `src/App.jsx`)
- App routes → Footer links: renders (evidence: `src/App.jsx`)
- App routes → Home page: routes to (evidence: `src/App.jsx`)
- App routes → Contact page: routes to (evidence: `src/App.jsx`)
- App routes → About page: routes to (evidence: `src/App.jsx`)
- App routes → Course catalog: routes to (evidence: `src/App.jsx`)
- App routes → Admission form: routes to (evidence: `src/App.jsx`)
- Navigation → Home page: links to (evidence: `src/components/Navbar.jsx`)
- Navigation → About page: links to (evidence: `src/components/Navbar.jsx`)
- Navigation → Course catalog: links to (evidence: `src/components/Navbar.jsx`)
- Navigation → Admission form: links to (evidence: `src/components/Navbar.jsx`)
- Footer links → About page: links to (evidence: `src/components/Footer.jsx`)
- Footer links → Contact page: links to (evidence: `src/components/Footer.jsx`)
- Footer links → Course catalog: links to (evidence: `src/components/Footer.jsx`)
- Footer links → Admission form: links to (evidence: `src/components/Footer.jsx`)
- Home page → Course catalog: links to (evidence: `src/pages/Home.jsx`)
- Home page → Admission form: links to (evidence: `src/pages/Home.jsx`)
- Course catalog → Admission form: links to (evidence: `src/pages/Courses.jsx`)
- Contact page → Google Maps: embeds map (evidence: `src/pages/Contact.jsx`)
- Admission form → Razorpay: opens payment (evidence: `src/pages/Admission.jsx`)
