# jotis86/website architecture

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

- Interactive diagram: https://gitdiagram.com/jotis86/website
- Repository: https://github.com/jotis86/website

## Overview

##### Project Type & Purpose
- The project is a static personal portfolio website.
- It is designed to showcase projects, personal information, skills, work experience, and contact details.
- The README confirms its purpose by outlining sections like Mini Intro, About Me, Skills, Projects, and Contact.

##### Analyzing the File Structure
- Top-level files include:
- index.html: The main HTML file that renders the homepage.
- main.js: Likely used to add interactivity (e.g., animations or navigation behaviors).
- style.css: The base stylesheet controlling the look and feel.
- README.md, LICENSE, and other documentation files.
- The "src" folder contains asset subfolders (ico, mp3, pdf, png, svg, webp):
- The "Formatted code" directory includes additional stylesheet and script files (formatted.css, formatted.js), possibly for secondary styling or enhancements.
- Other files include configuration files like .gitignore, deployment related files like CNAME and sitemap.xml, and robots.txt for search engine directives.

## Diagram (Mermaid)

```mermaid
graph TD
    A("Browser"):::client
    B("GitHub Pages Hosting"):::server

    A -->|"requests"| B

    subgraph "Frontend Components"
        index_html("index.html"):::frontend
        main_js("main.js"):::frontend
        style_css("style.css"):::frontend
        formatted_css("Formatted code - CSS"):::frontend
        formatted_js("Formatted code - JS"):::frontend
    end

    B -->|"serves"| index_html

    index_html -->|"loads"| style_css
    index_html -->|"loads"| main_js
    index_html -->|"loads"| formatted_css
    index_html -->|"loads"| formatted_js

    subgraph "Assets Repository"
        aIco("Icons"):::assets
        aPng("PNG Images"):::assets
        aSvg("SVG Images"):::assets
        aWebp("WEBP Images"):::assets
        aAudio("Audio Files"):::assets
        aDocs("Documents"):::assets
    end

    index_html -->|"loads"| aIco
    index_html -->|"loads"| aPng
    index_html -->|"loads"| aSvg
    index_html -->|"loads"| aWebp
    index_html -->|"loads"| aAudio
    index_html -->|"loads"| aDocs

    subgraph "External Libraries"
        ext1("Animate on Scroll Library"):::external
        ext2("Animista"):::external
    end

    main_js -->|"invokes"| ext1
    main_js -->|"invokes"| ext2

    subgraph "Deployment Config"
        d1("CNAME"):::config
        d2("sitemap.xml"):::config
        d3("robots.txt"):::config
        d4("README.md"):::config
    end

    d1 -->|"configures"| B
    d2 -->|"configures"| B
    d3 -->|"configures"| B
    d4 -->|"configures"| B

    click index_html "https://github.com/jotis86/website/blob/master/index.html"
    click main_js "https://github.com/jotis86/website/blob/master/main.js"
    click style_css "https://github.com/jotis86/website/blob/master/style.css"
    click formatted_css "https://github.com/jotis86/website/blob/master/Formatted code/formatted.css"
    click formatted_js "https://github.com/jotis86/website/blob/master/Formatted code/formatted.js"
    click aIco "https://github.com/jotis86/website/tree/master/src/ico"
    click aPng "https://github.com/jotis86/website/tree/master/src/png"
    click aSvg "https://github.com/jotis86/website/tree/master/src/svg"
    click aWebp "https://github.com/jotis86/website/tree/master/src/webp"
    click aAudio "https://github.com/jotis86/website/tree/master/src/mp3"
    click aDocs "https://github.com/jotis86/website/tree/master/src/pdf"
    click d1 "https://github.com/jotis86/website/tree/master/CNAME"
    click d2 "https://github.com/jotis86/website/blob/master/sitemap.xml"
    click d3 "https://github.com/jotis86/website/blob/master/robots.txt"
    click d4 "https://github.com/jotis86/website/blob/master/README.md"

    classDef client fill:#bbf,stroke:#333,stroke-width:2px;
    classDef server fill:#f9f,stroke:#333,stroke-width:2px;
    classDef frontend fill:#ccf,stroke:#333,stroke-width:2px;
    classDef assets fill:#cfc,stroke:#333,stroke-width:2px;
    classDef external fill:#fc9,stroke:#333,stroke-width:2px;
    classDef config fill:#ff9,stroke:#333,stroke-width:2px;
```
