# brunotorres23/aps-unip architecture

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

- Interactive diagram: https://gitdiagram.com/brunotorres23/aps-unip
- Repository: https://github.com/brunotorres23/aps-unip

## Overview

##### Main Components
- A set of HTML pages (e.g., index.html, impacto.html, metodologia.html, referencias.html, solucoes.html, tecnologias.html) that represent different sections of the website.
- The CSS folder, which includes style.css to handle custom styles along with any Bootstrap CSS overrides.
- The JavaScript folder (js/script.js) for all client-side interactions and behaviors.
- Additional assets such as site.webmanifest that support features like Progressive Web App capabilities.

- HTML pages to the images folder to indicate where media assets are used.
- Additionally, show the connection from the index.html (or the landing page) to the other pages to represent the navigational structure (for example, the sidebar navigation mentioned in the README leading to different pages).

##### Architectural Patterns and Design Principles
- Separation of concerns – the HTML files hold the content/layout, the CSS (and Bootstrap) handles style and responsive design, and the JavaScript adds interactivity.
- That the design follows a modular, component-based approach: each page is self-contained but reuses common assets.
- Use of a responsive design pattern (Bootstrap’s grid system and components) which is key to the project layout.

##### Relevant Technologies, Frameworks, and Libraries
- HTML5, CSS3, JavaScript as the building blocks.
- Mention the site.webmanifest as a part of the progressive enhancement strategy.

##### Elements
- Use clear and descriptive labels for each component, for example: “Home Page (index.html)”, “CSS – style.css”, “JavaScript – script.js”, “Images Folder”, etc.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Browser and Page Components
    subgraph "Client Browser"
        subgraph "Page Components"
            index("Home Page (index.html)"):::html
            impacto("Impact Page (impacto.html)"):::html
            metodologia("Methodology Page (metodologia.html)"):::html
            referencias("References Page (referencias.html)"):::html
            solucoes("Solutions Page (solucoes.html)"):::html
            tecnologias("Technologies Page (tecnologias.html)"):::html
        end
    end

    %% Assets and Configuration
    subgraph "Assets & Configuration"
        css("CSS – style.css & Bootstrap overrides"):::asset
        js("JavaScript – script.js"):::asset
        imgs("Images Folder"):::asset
        pwa("Progressive Web App (site.webmanifest)"):::asset
    end

    %% Technologies and Frameworks
    subgraph "Technologies & Frameworks"
        html5("HTML5"):::tech
        css3("CSS3"):::tech
        jsTech("JavaScript"):::tech
        bootstrap("Bootstrap 5.3.3 & Icons"):::tech
    end

    %% Navigational Structure (from Home Page)
    index -->|"navigates"| impacto
    index -->|"navigates"| metodologia
    index -->|"navigates"| referencias
    index -->|"navigates"| solucoes
    index -->|"navigates"| tecnologias

    %% Asset Dependencies (illustrated from Home Page as representative)
    index -->|"uses"| css
    index -->|"uses"| js
    index -->|"uses"| imgs
    index -->|"includes"| pwa

    %% Technology Dependencies
    html5 -->|"structures"| index
    css3 -->|"styles"| css
    jsTech -->|"powers"| js
    bootstrap -->|"enhances"| css

    %% Class Definitions for coloring
    classDef html fill:#cce5ff,stroke:#004085,stroke-width:2px;
    classDef asset fill:#d4edda,stroke:#155724,stroke-width:2px;
    classDef tech fill:#fff3cd,stroke:#856404,stroke-width:2px;

    %% Click Events for Component Mapping
    click index "https://github.com/brunotorres23/aps-unip/blob/main//index.html"
    click impacto "https://github.com/brunotorres23/aps-unip/blob/main//impacto.html"
    click metodologia "https://github.com/brunotorres23/aps-unip/blob/main//metodologia.html"
    click referencias "https://github.com/brunotorres23/aps-unip/blob/main//referencias.html"
    click solucoes "https://github.com/brunotorres23/aps-unip/blob/main//solucoes.html"
    click tecnologias "https://github.com/brunotorres23/aps-unip/blob/main//tecnologias.html"
    click css "https://github.com/brunotorres23/aps-unip/blob/main//css/style.css"
    click js "https://github.com/brunotorres23/aps-unip/blob/main//js/script.js"
    click imgs "https://github.com/brunotorres23/aps-unip/tree/main//images"
    click pwa "https://github.com/brunotorres23/aps-unip/blob/main//site.webmanifest"
```
