# mohammeddayan/fatih-college architecture

> Architecture diagram of the GitHub repository mohammeddayan/fatih-college, 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/mohammeddayan/fatih-college
- Repository: https://github.com/mohammeddayan/fatih-college

## Overview

Fatih College is a school information and recruitment website built with Next.js. Visitors browse the home page and dedicated pages for the school, staff, news, events, and campus gallery; prospective families can view admissions information and use the application form, while other visitors can submit a contact message. The shared layout frames route content with navigation and a footer. The sampled forms show local state and confirmation behavior, not delivery to a backend. Several page implementations were only partially sampled, so the graph preserves their visible routes without assuming hidden integrations.

Main entry points: [`src/app/page.tsx`](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/page.tsx) (Home), [`src/app/contact/page.tsx`](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/contact/page.tsx) (Contact), [`src/app/layout.tsx`](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/layout.tsx) (Root Layout), [`src/app/events/page.tsx`](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/events/page.tsx) (Events)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Shared Site Shell"]
  node_layout["Root Layout<br/>[layout.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_discovery["School Information"]
  node_home["Home<br/>[page.tsx]"]
  node_about["About College<br/>[page.tsx]"]
  node_teachers["Teachers<br/>[page.tsx]"]
  node_events["Events<br/>[page.tsx]"]
  node_news["News<br/>[page.tsx]"]
  node_gallery["Photo Gallery<br/>[page.tsx]"]
end

subgraph group_engagement["Visitor Engagement"]
  node_admissions["Admissions<br/>[page.tsx]"]
  node_apply["Apply Route<br/>[page.tsx]"]
  node_contact["Contact<br/>[page.tsx]"]
end

node_visitor(("Website Visitor"))

node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_footer
node_visitor -.->|"opens"| node_home
node_visitor -.->|"opens"| node_about
node_visitor -.->|"opens"| node_teachers
node_visitor -.->|"opens"| node_admissions
node_visitor -.->|"opens"| node_apply
node_visitor -.->|"opens"| node_contact
node_visitor -.->|"opens"| node_events
node_visitor -.->|"opens"| node_news
node_visitor -.->|"opens"| node_gallery
node_home -->|"links to"| node_apply
node_home -->|"links to"| node_about
node_events -->|"links to"| node_contact
node_news -->|"links to"| node_contact

click node_layout "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/layout.tsx"
click node_navbar "https://github.com/mohammeddayan/fatih-college/blob/main/src/components/Navbar.tsx"
click node_footer "https://github.com/mohammeddayan/fatih-college/blob/main/src/components/Footer.tsx"
click node_home "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/page.tsx"
click node_about "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/about/page.tsx"
click node_teachers "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/teachers/page.tsx"
click node_admissions "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/admissions/page.tsx"
click node_apply "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/apply/page.tsx"
click node_contact "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/contact/page.tsx"
click node_events "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/events/page.tsx"
click node_news "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/news/page.tsx"
click node_gallery "https://github.com/mohammeddayan/fatih-college/blob/main/src/app/gallery/page.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_layout,node_navbar,node_footer toneBlue
class node_home,node_about,node_teachers,node_events,node_news,node_gallery toneAmber
class node_admissions,node_apply,node_contact toneMint
class node_visitor toneIndigo
```

## Components

### Shared Site Shell

- [Root Layout](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Navigation](https://github.com/mohammeddayan/fatih-college/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Footer](https://github.com/mohammeddayan/fatih-college/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### School Information

- [Home](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [About College](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/about/page.tsx): `src/app/about/page.tsx`
- [Teachers](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/teachers/page.tsx): `src/app/teachers/page.tsx`
- [Events](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/events/page.tsx): `src/app/events/page.tsx`
- [News](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/news/page.tsx): `src/app/news/page.tsx`
- [Photo Gallery](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/gallery/page.tsx): `src/app/gallery/page.tsx`

### Visitor Engagement

- [Admissions](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/admissions/page.tsx): `src/app/admissions/page.tsx`
- [Apply Route](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/apply/page.tsx): `src/app/apply/page.tsx`
- [Contact](https://github.com/mohammeddayan/fatih-college/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`

### Other components

- **Website Visitor**

## Connections

- Root Layout → Navigation: renders (evidence: `src/app/layout.tsx`)
- Root Layout → Footer: renders (evidence: `src/app/layout.tsx`)
- Website Visitor → Home: opens
- Website Visitor → About College: opens
- Website Visitor → Teachers: opens
- Website Visitor → Admissions: opens
- Website Visitor → Apply Route: opens
- Website Visitor → Contact: opens
- Website Visitor → Events: opens
- Website Visitor → News: opens
- Website Visitor → Photo Gallery: opens
- Home → Apply Route: links to (evidence: `src/app/page.tsx`)
- Home → About College: links to (evidence: `src/app/page.tsx`)
- Events → Contact: links to (evidence: `src/app/events/page.tsx`)
- News → Contact: links to (evidence: `src/app/news/page.tsx`)
