# ondraduda/teleinformatika architecture

> Architecture diagram of the GitHub repository ondraduda/teleinformatika, 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/ondraduda/teleinformatika
- Repository: https://github.com/ondraduda/teleinformatika

## Overview

This is a Czech informational website for teleinformatics, with interactive navigation, dated events and categorized news. The principal visitor workflow is browsing the page, opening navigation panels, and exploring current events or news; scrolling also updates navigation and reveals sections. The source shows these behaviors implemented in one script, with page content explicitly described as residing in index.html. The tree and excerpts do not expose the page markup or styling, so their internal structure and visual relationships are not detailed here.

Main entry points: [`index.html`](https://github.com/ondraduda/teleinformatika/blob/main/index.html) (Website content), [`app.js`](https://github.com/ondraduda/teleinformatika/blob/main/app.js) (Theme toggle)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Navigation"]
  node_nav["Navigation panels<br/>[app.js]"]
  node_scroll["Scroll navigation<br/>[app.js]"]
end

subgraph group_content["Page content"]
  node_page["Website content<br/>[index.html]"]
  node_events["Event dates<br/>[app.js]"]
  node_news["News categories<br/>[app.js]"]
end

subgraph group_behavior["Page interactions"]
  node_theme["Theme toggle<br/>[app.js]"]
  node_reveal["Section reveal<br/>[app.js]"]
  node_storage[("Browser local storage")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens panels"| node_nav
node_visitor -->|"scrolls page"| node_scroll
node_visitor -->|"views events"| node_events
node_visitor -->|"filters news"| node_news
node_visitor -->|"toggles theme"| node_theme
node_nav -->|"updates panels"| node_page
node_scroll -->|"updates navigation"| node_page
node_events -->|"hides past events"| node_page
node_news -->|"filters items"| node_page
node_theme -->|"sets theme"| node_page
node_theme -->|"stores preference"| node_storage
node_reveal -->|"reveals sections"| node_page

click node_page "https://github.com/ondraduda/teleinformatika/blob/main/index.html"
click node_nav "https://github.com/ondraduda/teleinformatika/blob/main/app.js"
click node_scroll "https://github.com/ondraduda/teleinformatika/blob/main/app.js"
click node_events "https://github.com/ondraduda/teleinformatika/blob/main/app.js"
click node_news "https://github.com/ondraduda/teleinformatika/blob/main/app.js"
click node_theme "https://github.com/ondraduda/teleinformatika/blob/main/app.js"
click node_reveal "https://github.com/ondraduda/teleinformatika/blob/main/app.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_nav,node_scroll toneBlue
class node_page,node_events,node_news toneAmber
class node_theme,node_reveal,node_storage toneMint
class node_visitor toneIndigo
```

## Components

### Navigation

- [Navigation panels](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`
- [Scroll navigation](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`

### Page content

- [Website content](https://github.com/ondraduda/teleinformatika/blob/main/index.html): `index.html`
- [Event dates](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`
- [News categories](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`

### Page interactions

- [Theme toggle](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`
- [Section reveal](https://github.com/ondraduda/teleinformatika/blob/main/app.js): `app.js`
- **Browser local storage**

### Other components

- **Visitor**

## Connections

- Visitor → Navigation panels: opens panels (evidence: `app.js`)
- Visitor → Scroll navigation: scrolls page (evidence: `app.js`)
- Visitor → Event dates: views events (evidence: `app.js`)
- Visitor → News categories: filters news (evidence: `app.js`)
- Visitor → Theme toggle: toggles theme (evidence: `app.js`)
- Navigation panels → Website content: updates panels (evidence: `app.js`)
- Scroll navigation → Website content: updates navigation (evidence: `app.js`)
- Event dates → Website content: hides past events (evidence: `app.js`)
- News categories → Website content: filters items (evidence: `app.js`)
- Theme toggle → Website content: sets theme (evidence: `app.js`)
- Theme toggle → Browser local storage: stores preference (evidence: `app.js`)
- Section reveal → Website content: reveals sections (evidence: `app.js`)
