# kov1cx/kov1cx architecture

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

- Interactive diagram: https://gitdiagram.com/kov1cx/kov1cx
- Repository: https://github.com/kov1cx/kov1cx

## Overview

This repository is a static, data-driven personal portfolio. A visitor opens the site, whose browser-side renderer loads profile, project, certificate, and skill data and builds the portfolio views; visitors can also filter project/certificate listings, change language or theme, and submit a contact form. The renderer’s excerpt confirms the data loading and view responsibilities, while the language, theme, filter, and form excerpts show their own behaviors. The HTML entry-point wiring and some renderer details were not sampled, so those connections are omitted or marked unverified.

Main entry points: [`js/render.js`](https://github.com/kov1cx/kov1cx/blob/main/js/render.js) (Portfolio Renderer), [`js/i18n.js`](https://github.com/kov1cx/kov1cx/blob/main/js/i18n.js) (Language Switcher), [`js/filter.js`](https://github.com/kov1cx/kov1cx/blob/main/js/filter.js) (Listing Filters), [`index.html`](https://github.com/kov1cx/kov1cx/blob/main/index.html) (Portfolio Site)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_views["Portfolio Views"]
  node_site["Portfolio Site<br/>[index.html]"]
  node_renderer["Portfolio Renderer<br/>[render.js]"]
end

subgraph group_content["Portfolio Content"]
  node_profile["Profile Data<br/>[profile.json]"]
  node_projects["Project Data<br/>[projects.json]"]
  node_certificates["Certificate Data<br/>[certificates.json]"]
  node_skills["Skills Data<br/>[skills.json]"]
  node_translations["UI Translations"]
end

subgraph group_controls["UI Controls"]
  node_language["Language Switcher<br/>[i18n.js]"]
  node_theme["Theme Selector<br/>[theme.js]"]
  node_filters["Listing Filters<br/>[filter.js]"]
end

subgraph group_contact["Contact"]
  node_contactform["Contact Form Handler<br/>[form.js]"]
end

node_visitor(("Visitor"))
node_mail["Mail Service"]

node_visitor -.->|"opens"| node_site
node_site -.->|"loads"| node_renderer
node_renderer -->|"fetches"| node_profile
node_renderer -->|"fetches"| node_projects
node_renderer -->|"fetches"| node_certificates
node_renderer -->|"fetches"| node_skills
node_language -->|"fetches"| node_translations
node_language -->|"rerenders"| node_renderer
node_filters -->|"filters cards"| node_projects
node_filters -->|"filters groups"| node_certificates
node_contactform -->|"opens composer"| node_mail

click node_site "https://github.com/kov1cx/kov1cx/blob/main/index.html"
click node_renderer "https://github.com/kov1cx/kov1cx/blob/main/js/render.js"
click node_profile "https://github.com/kov1cx/kov1cx/blob/main/data/profile.json"
click node_projects "https://github.com/kov1cx/kov1cx/blob/main/data/projects.json"
click node_certificates "https://github.com/kov1cx/kov1cx/blob/main/data/certificates.json"
click node_skills "https://github.com/kov1cx/kov1cx/blob/main/data/skills.json"
click node_translations "https://github.com/kov1cx/kov1cx/tree/main/data"
click node_language "https://github.com/kov1cx/kov1cx/blob/main/js/i18n.js"
click node_theme "https://github.com/kov1cx/kov1cx/blob/main/js/theme.js"
click node_filters "https://github.com/kov1cx/kov1cx/blob/main/js/filter.js"
click node_contactform "https://github.com/kov1cx/kov1cx/blob/main/js/form.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_site,node_renderer toneBlue
class node_profile,node_projects,node_certificates,node_skills,node_translations toneAmber
class node_language,node_theme,node_filters toneMint
class node_contactform toneRose
class node_visitor,node_mail toneIndigo
```

## Components

### Portfolio Views

- [Portfolio Site](https://github.com/kov1cx/kov1cx/blob/main/index.html): `index.html`
- [Portfolio Renderer](https://github.com/kov1cx/kov1cx/blob/main/js/render.js): `js/render.js`

### Portfolio Content

- [Profile Data](https://github.com/kov1cx/kov1cx/blob/main/data/profile.json): `data/profile.json`
- [Project Data](https://github.com/kov1cx/kov1cx/blob/main/data/projects.json): `data/projects.json`
- [Certificate Data](https://github.com/kov1cx/kov1cx/blob/main/data/certificates.json): `data/certificates.json`
- [Skills Data](https://github.com/kov1cx/kov1cx/blob/main/data/skills.json): `data/skills.json`
- [UI Translations](https://github.com/kov1cx/kov1cx/tree/main/data): `data`

### UI Controls

- [Language Switcher](https://github.com/kov1cx/kov1cx/blob/main/js/i18n.js): `js/i18n.js`
- [Theme Selector](https://github.com/kov1cx/kov1cx/blob/main/js/theme.js): `js/theme.js`
- [Listing Filters](https://github.com/kov1cx/kov1cx/blob/main/js/filter.js): `js/filter.js`

### Contact

- [Contact Form Handler](https://github.com/kov1cx/kov1cx/blob/main/js/form.js): `js/form.js`

### Other components

- **Visitor**
- **Mail Service**

## Connections

- Visitor → Portfolio Site: opens
- Portfolio Site → Portfolio Renderer: loads
- Portfolio Renderer → Profile Data: fetches (evidence: `js/render.js`)
- Portfolio Renderer → Project Data: fetches (evidence: `js/render.js`)
- Portfolio Renderer → Certificate Data: fetches (evidence: `js/render.js`)
- Portfolio Renderer → Skills Data: fetches (evidence: `js/render.js`)
- Language Switcher → UI Translations: fetches (evidence: `js/i18n.js`)
- Language Switcher → Portfolio Renderer: rerenders (evidence: `js/i18n.js`)
- Listing Filters → Project Data: filters cards (evidence: `js/filter.js`)
- Listing Filters → Certificate Data: filters groups (evidence: `js/filter.js`)
- Contact Form Handler → Mail Service: opens composer (evidence: `js/form.js`)
