# juanmendoza16/nexo-mentor-ai architecture

> Architecture diagram of the GitHub repository juanmendoza16/nexo-mentor-ai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-08-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/juanmendoza16/nexo-mentor-ai
- Repository: https://github.com/juanmendoza16/nexo-mentor-ai

## Overview

##### File structure
- Top level:
- index.html (landing page)
- menus.html (site navigation)
- README.md
- Directories:
– css/ (navbar.css, styles.css)
– js/ (main.js)
– img/ (image assets)
– inicio-sesion/ (login page HTML + CSS)
– pages/ (llm.html, recursos.html)
- Pattern: a traditional static site with separate directories for styling (CSS), behavior (JS), images, and content pages.

##### README for additional insights
- No deeper architectural notes are provided, confirming that this is a simple static site without dynamic server components.

##### Detail without overthinking
- Directories and file-type groupings as separate components.
- How the browser loads each asset
- Where assets are hosted
- How pages link to one another
- The separation of concerns (structure vs. style vs. behavior)

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Client"
        Browser["Web Browser"]:::browser
    end

    subgraph "Hosting / CDN"
        Server["Web Server / CDN"]:::server
    end

    Browser -->|"HTTP GET"| Server
    Server -->|"HTTP Response"| Browser

    subgraph "Static Assets"
        direction TB

        subgraph "HTML Pages"
            Index["index.html"]:::html
            Menus["menus.html"]:::html
            LLM["llm.html"]:::html
            Recursos["recursos.html"]:::html
            LoginPage["inicio-sesion/index.html"]:::html
        end

        subgraph "CSS Stylesheets"
            GlobalStyles["styles.css"]:::css
            NavbarStyles["navbar.css"]:::css
            LoginStyles["styles.css"]:::css
        end

        JS["main.js"]:::js
        Images["img/"]:::img
        FutureAPI["LLM Training API (placeholder)"]:::future
    end

    Browser -->|"renders"| Index
    Index -->|"CSS import"| GlobalStyles
    Index -->|"JS load"| JS
    Index -->|"image load"| Images

    Menus -->|"CSS import"| GlobalStyles
    Menus -->|"JS load"| JS

    LLM -->|"CSS import"| GlobalStyles
    LLM -->|"JS load"| JS
    LLM -->|"image load"| Images

    Recursos -->|"CSS import"| GlobalStyles
    Recursos -->|"JS load"| JS

    LoginPage -->|"CSS import"| LoginStyles
    LoginPage -->|"JS load"| JS

    Index -->|"link to navigation"| Menus
    Index -->|"link to llm page"| LLM
    Index -->|"link to resources page"| Recursos
    Index -->|"link to login page"| LoginPage

    LLM -->|"link to resources page"| Recursos
    Recursos -->|"link to navigation"| Menus
    LoginPage -->|"link to navigation"| Menus

    %% Placeholder for future integration
    JS -->|"API call"| FutureAPI

    %% Click Events
    click Index "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/index.html"
    click Menus "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/menus.html"
    click LLM "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/pages/llm.html"
    click Recursos "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/pages/recursos.html"
    click LoginPage "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/inicio-sesion/index.html"
    click GlobalStyles "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/css/styles.css"
    click NavbarStyles "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/css/navbar.css"
    click LoginStyles "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/inicio-sesion/styles.css"
    click JS "https://github.com/juanmendoza16/nexo-mentor-ai/blob/main/js/main.js"
    click Images "https://github.com/juanmendoza16/nexo-mentor-ai/tree/main/img/"

    %% Styles
    classDef browser fill:#FFEEAA,stroke:#333,stroke-width:1px;
    classDef server fill:#EEFFCC,stroke:#333,stroke-width:1px;
    classDef html fill:#FFDADA,stroke:#333,stroke-width:1px;
    classDef css fill:#DAF6FF,stroke:#333,stroke-width:1px;
    classDef js fill:#F0DAFF,stroke:#333,stroke-width:1px;
    classDef img fill:#DFFFD6,stroke:#333,stroke-width:1px;
    classDef future fill:#FFF5BA,stroke:#333,stroke-width:1px;
```
