# xoanvx/marcus-barber architecture

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

- Interactive diagram: https://gitdiagram.com/xoanvx/marcus-barber
- Repository: https://github.com/xoanvx/marcus-barber

## Overview

##### Project type and purpose
- This is a purely static, multi-page front-end website (HTML + CSS) with no backend logic.
- The project is laid out as a brochure-style site (home, login/register pages, about us, services, products, policies, order history, claims, careers, locations).
- It’s intended to be served from a static-hosting platform (e.g., GitHub Pages) and viewed in the browser.

##### File structure
- Each top-level folder (INICIO, LOGIN, NOSOTROS, etc.) represents one HTML page plus a page-specific style.css.
- There is a shared CSS file (styleHeaderFooter.css) for the common header/footer.
- An image directory (imag/) holds static assets.
- No JS, no server or API directories—this is client-only.

##### Pulling insights from the README
- The author is linking pages via hyperlinks but experiencing CSS-loading issues on GitHub Pages (index.html placement).
- There are no documented back-end dependencies or build steps.

a. Client (Web browser)
b. Static hosting layer (GitHub Pages or any web server/CDN)
c. Static asset store containing:
- Individual pages (INICIO/index.html, LOGIN/login.html, …)
- Per-page CSS files (style.css under each folder)
- Shared CSS (styleHeaderFooter.css)
- Images (imag/)

##### Relationships and interactions
- The browser issues HTTP(S) requests to the hosting layer.
- The hosting layer serves requested HTML/CSS/image files.
- Hyperlink navigation between pages is handled purely by the browser (no API calls).

##### Architectural patterns and design principles
- Static site architecture: no server-side code, no database.
- Separation of concerns:
- Per-page CSS for page-specific styling
- Shared CSS for common layout elements (header/footer)
- Content grouped by feature/page in its own directory.

##### Key technologies and libraries
- HTML5
- CSS3
- GitHub Pages (or equivalent static host)
- No JavaScript frameworks, no backend frameworks.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Layers
    Browser["Web Browser"]:::client
    Hosting["Static Hosting/CDN"]:::hosting
    Browser -->|"HTTP GET"| Hosting
    Hosting -->|"retrieve file"| AssetStore
    AssetStore -->|"HTTP 200 OK"| Browser

    subgraph "Static Asset Store"
        direction TB
        subgraph "Pages"
            direction TB
            Home["INICIO/index.html"]:::asset
            HomeCSS["INICIO/style.css"]:::asset
            Login["LOGIN/login.html"]:::asset
            LoginCSS["LOGIN/style.css"]:::asset
            Register["REGISTER/register.html"]:::asset
            RegisterCSS["REGISTER/style.css"]:::asset
            About["NOSOTROS/NOSOTROS.HTML"]:::asset
            AboutCSS["NOSOTROS/style.css"]:::asset
            Services["SERVICIOS/servicios.html"]:::asset
            ServicesCSS["SERVICIOS/style.css"]:::asset
            Products["PRODUCTOS/productos.html"]:::asset
            ProductsCSS["PRODUCTOS/style.css"]:::asset
            Policies["POLITICAS/politicas.html"]:::asset
            PoliciesCSS["POLITICAS/style.css"]:::asset
            Orders["ORDEN-HISTORIAL/ordenHistorial.html"]:::asset
            OrdersCSS["ORDEN-HISTORIAL/style.css"]:::asset
            Claims["RECLAMACIONES/reclamaciones.html"]:::asset
            ClaimsCSS["RECLAMACIONES/style.css"]:::asset
            Careers["TRABAJA_CON_NOSOTROS/trabaja_con_nosotros.html"]:::asset
            CareersCSS["TRABAJA_CON_NOSOTROS/trabaja_con_nosotros.css"]:::asset
            Locations["UBICACIONES/ubicaciones.html"]:::asset
            LocationsCSS["UBICACIONES/style.css"]:::asset
        end
        SharedCSS["styleHeaderFooter.css"]:::asset
        Images["imag/"]:::asset
        Docs["README.md"]:::asset
    end

    Hosting --> AssetStore

    %% Hyperlink navigation example
    Home -->|"link to"| Login
    Home -->|"link to"| About
    About -->|"link to"| Services
    Services -->|"link to"| Products

    %% Click events
    click Home "https://github.com/xoanvx/marcus-barber/blob/main/INICIO/index.html"
    click HomeCSS "https://github.com/xoanvx/marcus-barber/blob/main/INICIO/style.css"
    click Login "https://github.com/xoanvx/marcus-barber/blob/main/LOGIN/login.html"
    click LoginCSS "https://github.com/xoanvx/marcus-barber/blob/main/LOGIN/style.css"
    click Register "https://github.com/xoanvx/marcus-barber/blob/main/REGISTER/register.html"
    click RegisterCSS "https://github.com/xoanvx/marcus-barber/blob/main/REGISTER/style.css"
    click About "https://github.com/xoanvx/marcus-barber/blob/main/NOSOTROS/NOSOTROS.HTML"
    click AboutCSS "https://github.com/xoanvx/marcus-barber/blob/main/NOSOTROS/style.css"
    click Services "https://github.com/xoanvx/marcus-barber/blob/main/SERVICIOS/servicios.html"
    click ServicesCSS "https://github.com/xoanvx/marcus-barber/blob/main/SERVICIOS/style.css"
    click Products "https://github.com/xoanvx/marcus-barber/blob/main/PRODUCTOS/productos.html"
    click ProductsCSS "https://github.com/xoanvx/marcus-barber/blob/main/PRODUCTOS/style.css"
    click Policies "https://github.com/xoanvx/marcus-barber/blob/main/POLITICAS/politicas.html"
    click PoliciesCSS "https://github.com/xoanvx/marcus-barber/blob/main/POLITICAS/style.css"
    click Orders "https://github.com/xoanvx/marcus-barber/blob/main/ORDEN-HISTORIAL/ordenHistorial.html"
    click OrdersCSS "https://github.com/xoanvx/marcus-barber/blob/main/ORDEN-HISTORIAL/style.css"
    click Claims "https://github.com/xoanvx/marcus-barber/blob/main/RECLAMACIONES/reclamaciones.html"
    click ClaimsCSS "https://github.com/xoanvx/marcus-barber/blob/main/RECLAMACIONES/style.css"
    click Careers "https://github.com/xoanvx/marcus-barber/blob/main/TRABAJA_CON_NOSOTROS/trabaja_con_nosotros.html"
    click CareersCSS "https://github.com/xoanvx/marcus-barber/blob/main/TRABAJA_CON_NOSOTROS/trabaja_con_nosotros.css"
    click Locations "https://github.com/xoanvx/marcus-barber/blob/main/UBICACIONES/ubicaciones.html"
    click LocationsCSS "https://github.com/xoanvx/marcus-barber/blob/main/UBICACIONES/style.css"
    click SharedCSS "https://github.com/xoanvx/marcus-barber/blob/main/styleHeaderFooter.css"
    click Images "https://github.com/xoanvx/marcus-barber/tree/main/imag/"
    click Docs "https://github.com/xoanvx/marcus-barber/blob/main/README.md"

    %% Styles
    classDef client fill:#ADD8E6,stroke:#000
    classDef hosting fill:#90EE90,stroke:#000
    classDef asset fill:#FFFFE0,stroke:#000
```
