# kantaphontangjitpeanphong/spiphack27_landingpage architecture

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

- Interactive diagram: https://gitdiagram.com/kantaphontangjitpeanphong/spiphack27_landingpage
- Repository: https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage

## Overview

This is a static event website for SPIP Hack 2027. Visitors explore the home page and supporting event information, then follow an expression-of-interest link or submit the email-updates form. The site also presents team and sponsor information. The sampled JavaScript supports interactive home-page features, shared navigation and effects, EOI pop-ups, and client-side form handling. The README is brief, and the HTML wiring was not sampled, so page-to-script connections are not asserted; some capabilities are documented in source comments rather than inspected end to end.

Main entry points: [`index.html`](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/index.html) (Home page), [`js/sponsors.js`](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/sponsors.js) (Sponsor listing), [`js/eoi.js`](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/eoi.js) (EOI pop-ups), [`js/notify.js`](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/notify.js) (Email updates form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Event pages"]
  node_home_page["Home page<br/>[index.html]"]
  node_about_page["About page<br/>[about.html]"]
  node_sponsors_page["Sponsors page<br/>[sponsors.html]"]
  node_faq_page["FAQ page<br/>[faq.html]"]
  node_rubric_page["Rubric page<br/>[rubric.html]"]
  node_team_content["Team directory<br/>[team.js]"]
  node_sponsor_listing["Sponsor listing<br/>[sponsors.js]"]
  node_info_page_behavior["Info-page behavior<br/>[info.js]"]
end

subgraph group_home["Home experience"]
  node_home_interactions["Home interactions<br/>[home.js]"]
  node_intro_animation["Intro animation<br/>[intro.js]"]
  node_sponsor_data["Sponsor data<br/>[sponsors-data.js]"]
end

subgraph group_engagement["Visitor engagement"]
  node_eoi_popups["EOI pop-ups<br/>[eoi.js]"]
  node_notify_form["Email updates form<br/>[notify.js]"]
end

subgraph group_shared["Shared site behavior"]
  node_shared_behavior["Shared navigation and effects<br/>[common.js]"]
end

node_visitor(("Visitor"))
node_google_script{{"Google Apps Script"}}
node_eoi_destination{{"EOI form destination"}}

node_visitor -.->|"opens"| node_home_page
node_visitor -.->|"views"| node_about_page
node_visitor -.->|"views"| node_sponsors_page
node_visitor -.->|"views"| node_faq_page
node_visitor -.->|"views"| node_rubric_page
node_home_page -->|"offers EOI link"| node_eoi_destination
node_notify_form -->|"posts signup"| node_google_script
node_eoi_popups -->|"pauses animation"| node_intro_animation
node_sponsor_listing -->|"renders from"| node_sponsor_data

click node_home_page "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/index.html"
click node_about_page "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/about.html"
click node_sponsors_page "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/sponsors.html"
click node_faq_page "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/faq.html"
click node_rubric_page "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/rubric.html"
click node_home_interactions "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/home.js"
click node_intro_animation "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/intro.js"
click node_sponsor_data "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/sponsors-data.js"
click node_eoi_popups "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/eoi.js"
click node_notify_form "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/notify.js"
click node_team_content "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/team.js"
click node_sponsor_listing "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/sponsors.js"
click node_info_page_behavior "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/info.js"
click node_shared_behavior "https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/common.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_page,node_about_page,node_sponsors_page,node_faq_page,node_rubric_page,node_team_content,node_sponsor_listing,node_info_page_behavior toneBlue
class node_home_interactions,node_intro_animation,node_sponsor_data toneAmber
class node_eoi_popups,node_notify_form toneMint
class node_shared_behavior toneRose
class node_visitor,node_google_script,node_eoi_destination toneIndigo
```

## Components

### Event pages

- [Home page](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/index.html): `index.html`
- [About page](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/about.html): `about.html`
- [Sponsors page](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/sponsors.html): `sponsors.html`
- [FAQ page](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/faq.html): `faq.html`
- [Rubric page](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/rubric.html): `rubric.html`
- [Team directory](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/team.js): `js/team.js`
- [Sponsor listing](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/sponsors.js): `js/sponsors.js`
- [Info-page behavior](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/info.js): `js/info.js`

### Home experience

- [Home interactions](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/home.js): `js/home.js`
- [Intro animation](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/intro.js): `js/intro.js`
- [Sponsor data](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/sponsors-data.js): `js/sponsors-data.js`

### Visitor engagement

- [EOI pop-ups](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/eoi.js): `js/eoi.js`
- [Email updates form](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/notify.js): `js/notify.js`

### Shared site behavior

- [Shared navigation and effects](https://github.com/kantaphontangjitpeanphong/spiphack27_landingpage/blob/main/js/common.js): `js/common.js`

### Other components

- **Visitor**
- **Google Apps Script**
- **EOI form destination**

## Connections

- Visitor → Home page: opens
- Visitor → About page: views
- Visitor → Sponsors page: views
- Visitor → FAQ page: views
- Visitor → Rubric page: views
- Home page → EOI form destination: offers EOI link
- Email updates form → Google Apps Script: posts signup (evidence: `js/notify.js`)
- EOI pop-ups → Intro animation: pauses animation (evidence: `js/eoi.js`)
- Sponsor listing → Sponsor data: renders from (evidence: `js/sponsors.js`)
