# skywainternationalschool-bkp/skywa architecture

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

- Interactive diagram: https://gitdiagram.com/skywainternationalschool-bkp/skywa
- Repository: https://github.com/skywainternationalschool-bkp/skywa

## Overview

This is a static school website for visitors to browse school information, notices and gallery content. Its principal runtime workflow loads shared header/footer fragments, then adds interactive navigation, visitor metrics, date/time, gallery browsing and a page-load popup. The tree also documents informational pages and downloadable notices; their internal markup was not sampled, so the graph treats them as site content without guessing their runtime wiring.

Main entry points: [`script.js`](https://github.com/skywainternationalschool-bkp/skywa/blob/main/script.js) (Page interactions), [`index.html`](https://github.com/skywainternationalschool-bkp/skywa/blob/main/index.html) (Home page), [`notices.html`](https://github.com/skywainternationalschool-bkp/skywa/blob/main/notices.html) (Notices), [`gallery.html`](https://github.com/skywainternationalschool-bkp/skywa/blob/main/gallery.html) (Gallery pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["School content"]
  node_home["Home page<br/>[index.html]"]
  node_about["About school<br/>[aboutus.html]"]
  node_fees["Fee information<br/>[fee-structure.html]"]
  node_guidelines["Guidelines<br/>[GuidelinePS.html]"]
  node_notices["Notices<br/>[notices.html]"]
  node_noticefiles["Notice files"]
  node_gallery["Gallery pages<br/>[gallery.html]"]
  node_media["Gallery media"]
  node_header["Shared header<br/>[header.html]"]
  node_footer["Shared footer<br/>[footer.html]"]
end

subgraph group_runtime["Browser interactions"]
  node_runtime["Page interactions<br/>[script.js]"]
end

subgraph group_external["External services"]
  node_counter["Visitor counter API"]
  node_browser["Browser storage and clock"]
end

node_visitor(("Website visitor"))

node_visitor -->|"opens site"| node_home
node_visitor -->|"browses"| node_about
node_visitor -->|"browses"| node_fees
node_visitor -->|"browses"| node_guidelines
node_visitor -->|"browses"| node_notices
node_visitor -->|"browses"| node_gallery
node_notices -->|"offers downloads"| node_noticefiles
node_gallery -->|"presents media"| node_media
node_home -.->|"runs interactions"| node_runtime
node_runtime -->|"fetches fragment"| node_header
node_runtime -->|"fetches fragment"| node_footer
node_runtime -->|"requests count"| node_counter
node_runtime -->|"reads and updates"| node_browser

click node_home "https://github.com/skywainternationalschool-bkp/skywa/blob/main/index.html"
click node_about "https://github.com/skywainternationalschool-bkp/skywa/blob/main/aboutus.html"
click node_fees "https://github.com/skywainternationalschool-bkp/skywa/blob/main/fee-structure.html"
click node_guidelines "https://github.com/skywainternationalschool-bkp/skywa/blob/main/GuidelinePS.html"
click node_notices "https://github.com/skywainternationalschool-bkp/skywa/blob/main/notices.html"
click node_noticefiles "https://github.com/skywainternationalschool-bkp/skywa/tree/main/notices"
click node_gallery "https://github.com/skywainternationalschool-bkp/skywa/blob/main/gallery.html"
click node_media "https://github.com/skywainternationalschool-bkp/skywa/tree/main/gallery"
click node_header "https://github.com/skywainternationalschool-bkp/skywa/blob/main/header.html"
click node_footer "https://github.com/skywainternationalschool-bkp/skywa/blob/main/footer.html"
click node_runtime "https://github.com/skywainternationalschool-bkp/skywa/blob/main/script.js"

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_about,node_fees,node_guidelines,node_notices,node_noticefiles,node_gallery,node_media,node_header,node_footer toneBlue
class node_runtime toneAmber
class node_counter,node_browser toneMint
class node_visitor toneIndigo
```

## Components

### School content

- [Home page](https://github.com/skywainternationalschool-bkp/skywa/blob/main/index.html): `index.html`
- [About school](https://github.com/skywainternationalschool-bkp/skywa/blob/main/aboutus.html): `aboutus.html`
- [Fee information](https://github.com/skywainternationalschool-bkp/skywa/blob/main/fee-structure.html): `fee-structure.html`
- [Guidelines](https://github.com/skywainternationalschool-bkp/skywa/blob/main/GuidelinePS.html): `GuidelinePS.html`
- [Notices](https://github.com/skywainternationalschool-bkp/skywa/blob/main/notices.html): `notices.html`
- [Notice files](https://github.com/skywainternationalschool-bkp/skywa/tree/main/notices): `notices`
- [Gallery pages](https://github.com/skywainternationalschool-bkp/skywa/blob/main/gallery.html): `gallery.html`
- [Gallery media](https://github.com/skywainternationalschool-bkp/skywa/tree/main/gallery): `gallery`
- [Shared header](https://github.com/skywainternationalschool-bkp/skywa/blob/main/header.html): `header.html`
- [Shared footer](https://github.com/skywainternationalschool-bkp/skywa/blob/main/footer.html): `footer.html`

### Browser interactions

- [Page interactions](https://github.com/skywainternationalschool-bkp/skywa/blob/main/script.js): `script.js`

### External services

- **Visitor counter API**
- **Browser storage and clock**

### Other components

- **Website visitor**

## Connections

- Website visitor → Home page: opens site
- Website visitor → About school: browses
- Website visitor → Fee information: browses
- Website visitor → Guidelines: browses
- Website visitor → Notices: browses
- Website visitor → Gallery pages: browses
- Notices → Notice files: offers downloads
- Gallery pages → Gallery media: presents media
- Home page → Page interactions: runs interactions
- Page interactions → Shared header: fetches fragment (evidence: `script.js`)
- Page interactions → Shared footer: fetches fragment (evidence: `script.js`)
- Page interactions → Visitor counter API: requests count (evidence: `script.js`)
- Page interactions → Browser storage and clock: reads and updates (evidence: `script.js`)
