# gowthamnagarajvb/school-website architecture

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

- Interactive diagram: https://gitdiagram.com/gowthamnagarajvb/school-website
- Repository: https://github.com/gowthamnagarajvb/school-website

## Overview

This is a static school website with home, academics, admissions, and campus pages. Its main interactive workflow collects an admission enquiry and opens a prefilled email in the visitor’s default mail client. The sampled JavaScript also controls a delayed popup enquiry and campus-tour video playback. The HTML pages and asset directories are visible in the tree, but their contents were not sampled, so links between those pages and the runtime interactions remain unverified.

Main entry points: [`script.js`](https://github.com/gowthamnagarajvb/school-website/blob/main/script.js) (Page interactions), [`admissions.html`](https://github.com/gowthamnagarajvb/school-website/blob/main/admissions.html) (Admissions page), [`campus.html`](https://github.com/gowthamnagarajvb/school-website/blob/main/campus.html) (Campus page), [`home.html`](https://github.com/gowthamnagarajvb/school-website/blob/main/home.html) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["School Website"]
  node_home["Home page<br/>[home.html]"]
  node_academics["Academics page<br/>[academics.html]"]
  node_admissions["Admissions page<br/>[admissions.html]"]
  node_campus["Campus page<br/>[campus.html]"]
  node_styles["Shared styling<br/>[style.css]"]
  node_innerstyles["Inner-page styling<br/>[inner-pages.css]"]
end

subgraph group_runtime["Page Interactions"]
  node_interactions["Page interactions<br/>[script.js]"]
end

subgraph group_media["Site Media"]
  node_tourvideo["School tour video<br/>[School_Tour.mp4]"]
  node_schoolimages["School images"]
end

node_visitor(("Site visitor"))
node_emailclient["Default email client"]

node_visitor -.->|"visits"| node_home
node_admissions -.->|"uses enquiry handler"| node_interactions
node_campus -.->|"uses tour controls"| node_interactions
node_interactions -->|"opens mailto"| node_emailclient

click node_home "https://github.com/gowthamnagarajvb/school-website/blob/main/home.html"
click node_academics "https://github.com/gowthamnagarajvb/school-website/blob/main/academics.html"
click node_admissions "https://github.com/gowthamnagarajvb/school-website/blob/main/admissions.html"
click node_campus "https://github.com/gowthamnagarajvb/school-website/blob/main/campus.html"
click node_styles "https://github.com/gowthamnagarajvb/school-website/blob/main/style.css"
click node_innerstyles "https://github.com/gowthamnagarajvb/school-website/blob/main/inner-pages.css"
click node_interactions "https://github.com/gowthamnagarajvb/school-website/blob/main/script.js"
click node_tourvideo "https://github.com/gowthamnagarajvb/school-website/blob/main/Vedios/School_Tour.mp4"
click node_schoolimages "https://github.com/gowthamnagarajvb/school-website/tree/main/School_images"

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_academics,node_admissions,node_campus,node_styles,node_innerstyles,node_emailclient toneBlue
class node_interactions toneAmber
class node_tourvideo,node_schoolimages toneMint
class node_visitor toneIndigo
```

## Components

### School Website

- [Home page](https://github.com/gowthamnagarajvb/school-website/blob/main/home.html): `home.html`
- [Academics page](https://github.com/gowthamnagarajvb/school-website/blob/main/academics.html): `academics.html`
- [Admissions page](https://github.com/gowthamnagarajvb/school-website/blob/main/admissions.html): `admissions.html`
- [Campus page](https://github.com/gowthamnagarajvb/school-website/blob/main/campus.html): `campus.html`
- [Shared styling](https://github.com/gowthamnagarajvb/school-website/blob/main/style.css): `style.css`
- [Inner-page styling](https://github.com/gowthamnagarajvb/school-website/blob/main/inner-pages.css): `inner-pages.css`

### Page Interactions

- [Page interactions](https://github.com/gowthamnagarajvb/school-website/blob/main/script.js): `script.js`

### Site Media

- [School tour video](https://github.com/gowthamnagarajvb/school-website/blob/main/Vedios/School_Tour.mp4): `Vedios/School_Tour.mp4`
- [School images](https://github.com/gowthamnagarajvb/school-website/tree/main/School_images): `School_images`

### Other components

- **Site visitor**
- **Default email client**

## Connections

- Site visitor → Home page: visits
- Admissions page → Page interactions: uses enquiry handler
- Campus page → Page interactions: uses tour controls
- Page interactions → Default email client: opens mailto (evidence: `script.js`)
