# masam-abbas/spacex-website architecture

> Architecture diagram of the GitHub repository masam-abbas/spacex-website, 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/masam-abbas/spacex-website
- Repository: https://github.com/masam-abbas/spacex-website

## Overview

This is a small, static website with three product pages and a landing page. The sampled JavaScript implements mobile-menu toggling and scroll-triggered counters; the HTML pages were not sampled, so their content, navigation links, and script-loading relationships cannot be verified. The graph therefore shows the pages as user-facing documents and keeps the JavaScript behavior separate rather than guessing which pages use it.

Main entry points: [`index.html`](https://github.com/masam-abbas/spacex-website/blob/master/index.html) (Landing page), [`dragon.html`](https://github.com/masam-abbas/spacex-website/blob/master/dragon.html) (Dragon page), [`falcon9.html`](https://github.com/masam-abbas/spacex-website/blob/master/falcon9.html) (Falcon 9 page), [`falcon-heavy.html`](https://github.com/masam-abbas/spacex-website/blob/master/falcon-heavy.html) (Falcon Heavy page)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Visitor"))
node_landing["Landing page<br/>[index.html]"]
node_dragon["Dragon page<br/>[dragon.html]"]
node_falcon9["Falcon 9 page<br/>[falcon9.html]"]
node_falconheavy["Falcon Heavy page<br/>[falcon-heavy.html]"]
node_interactions["Menu and counters<br/>[script.js]"]

node_visitor -.->|"views"| node_landing
node_visitor -.->|"views"| node_dragon
node_visitor -.->|"views"| node_falcon9
node_visitor -.->|"views"| node_falconheavy

click node_landing "https://github.com/masam-abbas/spacex-website/blob/master/index.html"
click node_dragon "https://github.com/masam-abbas/spacex-website/blob/master/dragon.html"
click node_falcon9 "https://github.com/masam-abbas/spacex-website/blob/master/falcon9.html"
click node_falconheavy "https://github.com/masam-abbas/spacex-website/blob/master/falcon-heavy.html"
click node_interactions "https://github.com/masam-abbas/spacex-website/blob/master/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_visitor toneIndigo
class node_landing,node_dragon,node_falcon9,node_falconheavy,node_interactions toneTeal
```

## Components

### Other components

- **Visitor**
- [Landing page](https://github.com/masam-abbas/spacex-website/blob/master/index.html): `index.html`
- [Dragon page](https://github.com/masam-abbas/spacex-website/blob/master/dragon.html): `dragon.html`
- [Falcon 9 page](https://github.com/masam-abbas/spacex-website/blob/master/falcon9.html): `falcon9.html`
- [Falcon Heavy page](https://github.com/masam-abbas/spacex-website/blob/master/falcon-heavy.html): `falcon-heavy.html`
- [Menu and counters](https://github.com/masam-abbas/spacex-website/blob/master/script.js): `script.js`

## Connections

- Visitor → Landing page: views
- Visitor → Dragon page: views
- Visitor → Falcon 9 page: views
- Visitor → Falcon Heavy page: views
