# neerajwebapps306067/gyankunj-front architecture

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

- Interactive diagram: https://gitdiagram.com/neerajwebapps306067/gyankunj-front
- Repository: https://github.com/neerajwebapps306067/gyankunj-front

## Overview

This is a small Next.js education-site frontend for presenting the Gyankunj organization, courses, students, and contact information. Visitors browse course listings into course details, view student profiles, and use the contact page’s inquiry interface; the sampled form currently logs data locally rather than sending it to a service. The root layout supplies shared navigation and footer. Route pages and several component relationships are evidenced by excerpts or the source index; details of unsampled home/about pages are not expanded.

Main entry points: [`src/app/contact/page.tsx`](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/contact/page.tsx) (Contact page), [`src/app/layout.tsx`](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/layout.tsx) (Root layout), [`src/app/components/Header.tsx`](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Header.tsx) (Header), [`src/app/components/CourseCard.tsx`](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/CourseCard.tsx) (Course card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Shared site shell"]
  node_root_layout["Root layout<br/>[layout.tsx]"]
  node_header["Header<br/>[Header.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_catalog["Courses and students"]
  node_courses["Course listing<br/>[page.tsx]"]
  node_course_card["Course card<br/>[CourseCard.tsx]"]
  node_course_detail["Course details<br/>[page.tsx]"]
  node_students["Student listing<br/>[page.tsx]"]
  node_student_card["Student card<br/>[StudentCards.tsx]"]
end

subgraph group_contact["Contact experience"]
  node_contact["Contact page<br/>[page.tsx]"]
  node_contact_form["Inquiry form<br/>[ContactForm.tsx]"]
  node_talk_info["Contact information<br/>[LetsTalk.tsx]"]
  node_faq["FAQs<br/>[FAQ.tsx]"]
end

subgraph group_pages["Informational pages"]
  node_home["Home page<br/>[page.tsx]"]
  node_about["About page<br/>[page.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_root_layout
node_root_layout -->|"renders"| node_header
node_root_layout -->|"renders"| node_footer
node_header -->|"renders"| node_navbar
node_courses -->|"renders cards"| node_course_card
node_course_card -->|"links to"| node_course_detail
node_students -->|"renders cards"| node_student_card
node_contact -->|"renders"| node_contact_form
node_contact -->|"renders"| node_talk_info
node_contact -->|"renders"| node_faq

click node_root_layout "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/layout.tsx"
click node_header "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Header.tsx"
click node_navbar "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Navbar.tsx"
click node_footer "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Footer.tsx"
click node_home "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/page.tsx"
click node_about "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/about/page.tsx"
click node_courses "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/courses/page.tsx"
click node_course_card "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/CourseCard.tsx"
click node_course_detail "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/courses/%5Bid%5D/page.tsx"
click node_students "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/students/page.tsx"
click node_student_card "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/StudentCards.tsx"
click node_contact "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/contact/page.tsx"
click node_contact_form "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/ContactForm.tsx"
click node_talk_info "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/LetsTalk.tsx"
click node_faq "https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/FAQ.tsx"

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_root_layout,node_header,node_navbar,node_footer toneBlue
class node_courses,node_course_card,node_course_detail,node_students,node_student_card toneAmber
class node_contact,node_contact_form,node_talk_info,node_faq toneMint
class node_home,node_about toneRose
class node_visitor toneIndigo
```

## Components

### Shared site shell

- [Root layout](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Header](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Header.tsx): `src/app/components/Header.tsx`
- [Navigation](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Navbar.tsx): `src/app/components/Navbar.tsx`
- [Footer](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/Footer.tsx): `src/app/components/Footer.tsx`

### Courses and students

- [Course listing](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/courses/page.tsx): `src/app/courses/page.tsx`
- [Course card](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/CourseCard.tsx): `src/app/components/CourseCard.tsx`
- [Course details](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/courses/%5Bid%5D/page.tsx): `src/app/courses/[id]/page.tsx`
- [Student listing](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/students/page.tsx): `src/app/students/page.tsx`
- [Student card](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/StudentCards.tsx): `src/app/components/StudentCards.tsx`

### Contact experience

- [Contact page](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`
- [Inquiry form](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/ContactForm.tsx): `src/app/components/ContactForm.tsx`
- [Contact information](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/LetsTalk.tsx): `src/app/components/LetsTalk.tsx`
- [FAQs](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/components/FAQ.tsx): `src/app/components/FAQ.tsx`

### Informational pages

- [Home page](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [About page](https://github.com/neerajwebapps306067/gyankunj-front/blob/main/src/app/about/page.tsx): `src/app/about/page.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Root layout: opens site (evidence: `README.md`)
- Root layout → Header: renders (evidence: `src/app/layout.tsx`)
- Root layout → Footer: renders (evidence: `src/app/layout.tsx`)
- Header → Navigation: renders (evidence: `src/app/components/Header.tsx`)
- Course listing → Course card: renders cards (evidence: `src/app/courses/page.tsx`)
- Course card → Course details: links to (evidence: `src/app/components/CourseCard.tsx`)
- Student listing → Student card: renders cards (evidence: `src/app/students/page.tsx`)
- Contact page → Inquiry form: renders (evidence: `src/app/contact/page.tsx`)
- Contact page → Contact information: renders (evidence: `src/app/contact/page.tsx`)
- Contact page → FAQs: renders (evidence: `src/app/contact/page.tsx`)
