# joelcoico25/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/joelcoico25/portfolio
- Repository: https://github.com/joelcoico25/portfolio

## Overview

##### Main components
- User Interface (Browser): The entry point where the portfolio is accessed.
- HTML Document (index.html): Acts as the main view. This is the central piece that ties the different assets together.
- CSS Assets: Multiple files for styling components like header, footer, menu, hero section, form, etc. You may display these as “Styling” modules that are linked to the main HTML.
- JavaScript: Contains client-side functionality (e.g., form validation or dynamic behavior in js/form.js). Represent this as an interactive behavior component.

##### Relationships & Interactions
- The Browser loads the index.html file.

##### Architectural Patterns or Design Principles
- That the architecture is that of a static site, emphasizing separation of concerns — even though it’s a single-page application, styling is separated into modular CSS files, and interactive behavior is handled separately in JavaScript.
- This pattern is typical for static portfolios, aiding in maintainability by splitting styles into manageable segments (buttons, headers, forms, etc.).

##### Relevant Technologies and Frameworks
- HTML, CSS, and vanilla JavaScript are the core technologies for this project.
- If desired, mention the potential hosting environment (such as GitHub Pages, Netlify, etc.), though that isn’t explicitly defined in the provided structure.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser("Browser"):::browser
    HTML("index.html"):::html

    Browser -->|"loads"| HTML

    subgraph "CSS Assets"
        header("header.css"):::css
        footer("footer.css"):::css
        button("button.css"):::css
        buttonIcon("button-icon.css"):::css
        menu("menu.css"):::css
        hero("hero.css"):::css
        form("form.css"):::css
        project("project.css"):::css
        social("social.css"):::css
        title("title.css"):::css
        wrapper("wrapper.css"):::css
        indexCss("index.css"):::css
    end

    subgraph "JavaScript"
        formJS("form.js"):::js
    end

    subgraph "Static Assets"
        images("Images"):::assets
        icons("Icons"):::assets
    end

    HTML -->|"references"| header
    HTML -->|"references"| footer
    HTML -->|"references"| button
    HTML -->|"references"| buttonIcon
    HTML -->|"references"| menu
    HTML -->|"references"| hero
    HTML -->|"references"| form
    HTML -->|"references"| project
    HTML -->|"references"| social
    HTML -->|"references"| title
    HTML -->|"references"| wrapper
    HTML -->|"references"| indexCss

    HTML -->|"loads"| formJS

    HTML -->|"renders"| images
    HTML -->|"renders"| icons

    click Browser "https://github.com/joelcoico25/portfolio/blob/main/index.html"
    click HTML "https://github.com/joelcoico25/portfolio/blob/main/index.html"
    click header "https://github.com/joelcoico25/portfolio/blob/main/css/header.css"
    click footer "https://github.com/joelcoico25/portfolio/blob/main/css/footer.css"
    click button "https://github.com/joelcoico25/portfolio/blob/main/css/button.css"
    click buttonIcon "https://github.com/joelcoico25/portfolio/blob/main/css/button-icon.css"
    click menu "https://github.com/joelcoico25/portfolio/blob/main/css/menu.css"
    click hero "https://github.com/joelcoico25/portfolio/blob/main/css/hero.css"
    click form "https://github.com/joelcoico25/portfolio/blob/main/css/form.css"
    click project "https://github.com/joelcoico25/portfolio/blob/main/css/project.css"
    click social "https://github.com/joelcoico25/portfolio/blob/main/css/social.css"
    click title "https://github.com/joelcoico25/portfolio/blob/main/css/title.css"
    click wrapper "https://github.com/joelcoico25/portfolio/blob/main/css/wrapper.css"
    click indexCss "https://github.com/joelcoico25/portfolio/blob/main/css/index.css"
    click formJS "https://github.com/joelcoico25/portfolio/blob/main/js/form.js"
    click images "https://github.com/joelcoico25/portfolio/tree/main/images"
    click icons "https://github.com/joelcoico25/portfolio/tree/main/icons"

    classDef browser fill:#FFCC00,stroke:#333,stroke-width:2px,color:#000;
    classDef html fill:#ADD8E6,stroke:#333,stroke-width:2px,color:#000;
    classDef css fill:#90EE90,stroke:#333,stroke-width:2px,color:#000;
    classDef js fill:#FFB6C1,stroke:#333,stroke-width:2px,color:#000;
    classDef assets fill:#E0FFFF,stroke:#333,stroke-width:2px,color:#000;
```
