# web-team-iiti-gymkhana/tpc-landing-page architecture

> Architecture diagram of the GitHub repository web-team-iiti-gymkhana/tpc-landing-page, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/web-team-iiti-gymkhana/tpc-landing-page
- Repository: https://github.com/web-team-iiti-gymkhana/tpc-landing-page

## Overview

This is a Next.js placement-office website for IIT Indore’s CAMC. Visitors enter through the landing page or navigation and reach institutional information, contacts, student resources, and recruiter resources; recruiters can also view placement demographics and process information. The homepage combines a hero carousel, portal form, messages, and recruiter content. The graph preserves the major page areas and sampled shared UI. Some page implementations were not sampled, so their internal behavior and connections are omitted; edges shown are supported by excerpts or the SOURCE INDEX.

Main entry points: [`src/app/page.tsx`](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/page.tsx) (Home page), [`src/app/contactus/staff&team/page.tsx`](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/page.tsx) (Staff and placement team), [`src/app/aboutus/aboutiitindore/page.tsx`](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/page.tsx) (About IIT Indore), [`src/app/externalopportunities/page.tsx`](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/externalopportunities/page.tsx) (External opportunities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Site shell"]
  node_nav["Navigation<br/>[navbar.tsx]"]
  node_dropdown["Menu dropdown<br/>[dropdown.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_home["Landing page"]
  node_home["Home page<br/>[page.tsx]"]
  node_hero["Hero carousel<br/>[carousel.tsx]"]
  node_portal["Portal form<br/>[portalform.tsx]"]
  node_messages["Institute messages<br/>[messages.tsx]"]
  node_modal["Message modal<br/>[modal.tsx]"]
  node_recruiters["Recruiter showcase<br/>[recruiters.tsx]"]
  node_cards["Moving cards"]
end

subgraph group_about["About IIT Indore"]
  node_iit["About IIT Indore<br/>[page.tsx]"]
  node_iitcarousel["About carousel<br/>[carousel.tsx]"]
  node_recruitwhy["Why recruit here<br/>[recruit.tsx]"]
  node_academics["Academic programs<br/>[page.tsx]"]
  node_achievements["Achievements<br/>[list.tsx]"]
  node_activities["Student activities"]
  node_activitycard["Activity cards<br/>[card.tsx]"]
  node_gymkhana["Clubs and gymkhana<br/>[gymkhana.tsx]"]
end

subgraph group_recruit["Recruiter resources"]
  node_demographics["Student demographics<br/>[page.tsx]"]
  node_chart["Demographics chart<br/>[chart.tsx]"]
  node_process["Placement process<br/>[page.tsx]"]
  node_timeline["Process timeline<br/>[timeline.tsx]"]
  node_recruitfaq["Recruiter FAQs<br/>[faq.jsx]"]
end

subgraph group_student["Student resources"]
  node_studentfaq["Student FAQs<br/>[faq.tsx]"]
end

subgraph group_contact["Contacts and opportunities"]
  node_staff["Staff and placement team<br/>[page.tsx]"]
  node_contactcard["CAMC contact card<br/>[ContactCard.tsx]"]
  node_faculty["Faculty profiles<br/>[FacultyProfile.tsx]"]
  node_pgteam["Postgraduate team<br/>[pgteam.tsx]"]
  node_facultycontacts["Faculty contacts<br/>[page.tsx]"]
  node_directions["How to reach IIT Indore<br/>[page.tsx]"]
  node_opportunities["External opportunities<br/>[page.tsx]"]
  node_opptable["Opportunities table<br/>[table.tsx]"]
end

node_visitor(("Site visitor"))
node_oppapi{{"Opportunities API"}}

node_visitor -->|"opens pages"| node_nav
node_visitor -->|"visits"| node_home
node_nav -->|"renders"| node_dropdown
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_portal
node_home -->|"renders"| node_messages
node_home -->|"renders"| node_recruiters
node_messages -->|"opens"| node_modal
node_recruiters -->|"renders"| node_cards
node_iit -->|"renders"| node_iitcarousel
node_iit -->|"renders"| node_recruitwhy
node_activities -->|"renders"| node_activitycard
node_gymkhana -->|"renders"| node_activitycard
node_demographics -->|"renders"| node_chart
node_process -->|"renders"| node_timeline
node_staff -->|"renders"| node_contactcard
node_staff -->|"renders"| node_faculty
node_staff -->|"renders"| node_pgteam
node_opportunities -->|"fetches"| node_oppapi
node_opportunities -->|"renders rows"| node_opptable

click node_nav "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/navbar/navbar.tsx"
click node_dropdown "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/navbar/components/dropdown/dropdown.tsx"
click node_footer "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/footer/footer.tsx"
click node_home "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/page.tsx"
click node_hero "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/carousel/carousel.tsx"
click node_portal "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/portalform/portalform.tsx"
click node_messages "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/messages/messages.tsx"
click node_modal "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/modal/modal.tsx"
click node_recruiters "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/recruiters/recruiters.tsx"
click node_cards "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/ui/infinite-moving-cards.tsx"
click node_iit "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/page.tsx"
click node_iitcarousel "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/components/carousel/carousel.tsx"
click node_recruitwhy "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/whyrecruit/recruit.tsx"
click node_academics "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/academicprograms/page.tsx"
click node_achievements "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/achievements/components/list/list.tsx"
click node_activities "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/studentactivities.tsx"
click node_activitycard "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/components/card/card.tsx"
click node_gymkhana "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/gymkhana.tsx"
click node_demographics "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/demographics/page.tsx"
click node_chart "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/demographics/chart.tsx"
click node_process "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/process/page.tsx"
click node_timeline "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/ui/timeline.tsx"
click node_recruitfaq "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/recruiterfaqs/faqUI/faq.jsx"
click node_studentfaq "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/studentscorner/faqs/faqUI/faq.tsx"
click node_staff "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/page.tsx"
click node_contactcard "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/ContactCard.tsx"
click node_faculty "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/FacultyProfile.tsx"
click node_pgteam "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/pgteam.tsx"
click node_facultycontacts "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/faculty/page.tsx"
click node_directions "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/howtoreachiiti/page.tsx"
click node_opportunities "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/externalopportunities/page.tsx"
click node_opptable "https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/externalopportunities/components/table.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_nav,node_dropdown,node_footer toneBlue
class node_home,node_hero,node_portal,node_messages,node_modal,node_recruiters,node_cards toneAmber
class node_iit,node_iitcarousel,node_recruitwhy,node_academics,node_achievements,node_activities,node_activitycard,node_gymkhana,node_oppapi toneMint
class node_demographics,node_chart,node_process,node_timeline,node_recruitfaq toneRose
class node_studentfaq,node_visitor toneIndigo
class node_staff,node_contactcard,node_faculty,node_pgteam,node_facultycontacts,node_directions,node_opportunities,node_opptable toneTeal
```

## Components

### Site shell

- [Navigation](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/navbar/navbar.tsx): `src/components/navbar/navbar.tsx`
- [Menu dropdown](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/navbar/components/dropdown/dropdown.tsx): `src/components/navbar/components/dropdown/dropdown.tsx`
- [Footer](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/footer/footer.tsx): `src/components/footer/footer.tsx`

### Landing page

- [Home page](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Hero carousel](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/carousel/carousel.tsx): `src/components/home/carousel/carousel.tsx`
- [Portal form](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/portalform/portalform.tsx): `src/components/home/portalform/portalform.tsx`
- [Institute messages](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/messages/messages.tsx): `src/components/home/messages/messages.tsx`
- [Message modal](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/modal/modal.tsx): `src/components/home/modal/modal.tsx`
- [Recruiter showcase](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/home/recruiters/recruiters.tsx): `src/components/home/recruiters/recruiters.tsx`
- [Moving cards](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/ui/infinite-moving-cards.tsx): `src/components/ui/infinite-moving-cards.tsx`

### About IIT Indore

- [About IIT Indore](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/page.tsx): `src/app/aboutus/aboutiitindore/page.tsx`
- [About carousel](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/components/carousel/carousel.tsx): `src/app/aboutus/aboutiitindore/components/carousel/carousel.tsx`
- [Why recruit here](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/aboutiitindore/whyrecruit/recruit.tsx): `src/app/aboutus/aboutiitindore/whyrecruit/recruit.tsx`
- [Academic programs](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/academicprograms/page.tsx): `src/app/aboutus/academicprograms/page.tsx`
- [Achievements](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/achievements/components/list/list.tsx): `src/app/aboutus/achievements/components/list/list.tsx`
- [Student activities](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/studentactivities.tsx): `src/app/aboutus/studentactivities/studentactivities.tsx`
- [Activity cards](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/components/card/card.tsx): `src/app/aboutus/studentactivities/components/card/card.tsx`
- [Clubs and gymkhana](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/aboutus/studentactivities/gymkhana.tsx): `src/app/aboutus/studentactivities/gymkhana.tsx`

### Recruiter resources

- [Student demographics](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/demographics/page.tsx): `src/app/recruiterscorner/demographics/page.tsx`
- [Demographics chart](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/demographics/chart.tsx): `src/app/recruiterscorner/demographics/chart.tsx`
- [Placement process](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/process/page.tsx): `src/app/recruiterscorner/process/page.tsx`
- [Process timeline](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/components/ui/timeline.tsx): `src/components/ui/timeline.tsx`
- [Recruiter FAQs](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/recruiterscorner/recruiterfaqs/faqUI/faq.jsx): `src/app/recruiterscorner/recruiterfaqs/faqUI/faq.jsx`

### Student resources

- [Student FAQs](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/studentscorner/faqs/faqUI/faq.tsx): `src/app/studentscorner/faqs/faqUI/faq.tsx`

### Contacts and opportunities

- [Staff and placement team](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/page.tsx): `src/app/contactus/staff&team/page.tsx`
- [CAMC contact card](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/ContactCard.tsx): `src/app/contactus/staff&team/ContactCard.tsx`
- [Faculty profiles](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/FacultyProfile.tsx): `src/app/contactus/staff&team/FacultyProfile.tsx`
- [Postgraduate team](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/staff%26team/pgteam.tsx): `src/app/contactus/staff&team/pgteam.tsx`
- [Faculty contacts](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/faculty/page.tsx): `src/app/contactus/faculty/page.tsx`
- [How to reach IIT Indore](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/contactus/howtoreachiiti/page.tsx): `src/app/contactus/howtoreachiiti/page.tsx`
- [External opportunities](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/externalopportunities/page.tsx): `src/app/externalopportunities/page.tsx`
- [Opportunities table](https://github.com/web-team-iiti-gymkhana/tpc-landing-page/blob/main/src/app/externalopportunities/components/table.tsx): `src/app/externalopportunities/components/table.tsx`

### Other components

- **Site visitor**
- **Opportunities API**

## Connections

- Site visitor → Navigation: opens pages (evidence: `src/components/navbar/navbar.tsx`)
- Site visitor → Home page: visits (evidence: `src/app/page.tsx`)
- Navigation → Menu dropdown: renders (evidence: `src/components/navbar/navbar.tsx`)
- Home page → Hero carousel: renders (evidence: `src/app/page.tsx`)
- Home page → Portal form: renders (evidence: `src/app/page.tsx`)
- Home page → Institute messages: renders (evidence: `src/app/page.tsx`)
- Home page → Recruiter showcase: renders (evidence: `src/app/page.tsx`)
- Institute messages → Message modal: opens (evidence: `src/components/home/messages/messages.tsx`)
- Recruiter showcase → Moving cards: renders (evidence: `src/components/home/recruiters/recruiters.tsx`)
- About IIT Indore → About carousel: renders (evidence: `src/app/aboutus/aboutiitindore/page.tsx`)
- About IIT Indore → Why recruit here: renders (evidence: `src/app/aboutus/aboutiitindore/page.tsx`)
- Student activities → Activity cards: renders
- Clubs and gymkhana → Activity cards: renders (evidence: `src/app/aboutus/studentactivities/gymkhana.tsx`)
- Student demographics → Demographics chart: renders (evidence: `src/app/recruiterscorner/demographics/page.tsx`)
- Placement process → Process timeline: renders (evidence: `src/app/recruiterscorner/process/page.tsx`)
- Staff and placement team → CAMC contact card: renders (evidence: `src/app/contactus/staff&team/page.tsx`)
- Staff and placement team → Faculty profiles: renders (evidence: `src/app/contactus/staff&team/page.tsx`)
- Staff and placement team → Postgraduate team: renders (evidence: `src/app/contactus/staff&team/page.tsx`)
- External opportunities → Opportunities API: fetches (evidence: `src/app/externalopportunities/page.tsx`)
- External opportunities → Opportunities table: renders rows (evidence: `src/app/externalopportunities/page.tsx`)
