# rachmantor/nativewebsite architecture

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

- Interactive diagram: https://gitdiagram.com/rachmantor/nativewebsite
- Repository: https://github.com/rachmantor/nativewebsite

## Overview

This is a small browser page with a video interaction. The sampled script watches for playback completion; activation jumps to the video section, starts muted playback, and hides content C, while completion returns to the upper navigation, resets the video, and restores that content. The HTML and CSS are present in the tree but were not sampled, so their broader page structure and styling are not inferred.

Main entry points: [`script.js`](https://github.com/rachmantor/nativewebsite/blob/main/script.js) (Video controls), [`index.html`](https://github.com/rachmantor/nativewebsite/blob/main/index.html) (Web page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Video interaction"]
  node_video["Video controls<br/>[script.js]"]
  node_content["Content C visibility<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_page["Web page<br/>[index.html]"]

node_visitor -->|"opens"| node_page
node_page -.->|"loads script"| node_video
node_video -->|"toggles visibility"| node_content
node_video -->|"updates location"| node_page

click node_page "https://github.com/rachmantor/nativewebsite/blob/main/index.html"
click node_video "https://github.com/rachmantor/nativewebsite/blob/main/script.js"
click node_content "https://github.com/rachmantor/nativewebsite/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_video,node_content toneBlue
class node_visitor toneIndigo
class node_page toneTeal
```

## Components

### Video interaction

- [Video controls](https://github.com/rachmantor/nativewebsite/blob/main/script.js): `script.js`
- [Content C visibility](https://github.com/rachmantor/nativewebsite/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- [Web page](https://github.com/rachmantor/nativewebsite/blob/main/index.html): `index.html`

## Connections

- Visitor → Web page: opens
- Web page → Video controls: loads script
- Video controls → Content C visibility: toggles visibility (evidence: `script.js`)
- Video controls → Web page: updates location (evidence: `script.js`)
