# okipe/website-efficace-4-bootstrap architecture

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

- Interactive diagram: https://gitdiagram.com/okipe/website-efficace-4-bootstrap
- Repository: https://github.com/okipe/website-efficace-4-bootstrap

## Overview

##### Project type and purpose
- This is a static, content-driven, front-end web application (a corporate website) built with HTML5, CSS3, JavaScript (ES6+), and Bootstrap 5.
- Its purpose is to serve as an employability consultancy site, offering content pages, a CV gallery, job listings, interactive forms (via Cognito Forms), and a WhatsApp chat widget.

##### File structure
- Top-level HTML pages: index.html, galeria-cv.html, guias-rapidas.html, portal-empleo.html, recursos-ia.html, ruta-empleable.html, contenido-inspiracion.html.
- css/ directory, subdivided into “base”, “components”, “layout”, “pages” (modular styling).
- js/ directory with custom scripts (custom.js, form.js, jobs.js).
- readme-files/ for media used in documentation.
- No server-side code—this is purely static hosting.

##### README for additional insights
- Technologies used: HTML5, CSS3 (modular), JS ES6+, Bootstrap 5, Cognito Forms (third-party), Git/GitHub, deployed on Netlify.
- Architecture: “Content” (HTML), “Presentation” (CSS modules), “Behavior” (JS).
- Features: Responsive design, navigation menu, maps of site sections, WhatsApp widget, interactive forms, parallax & animations.

##### Final guidance
- Be detailed: break out CSS into base/components/layout/pages, JS into per-feature scripts.
- Don’t overcomplicate: capture all static assets under one “Assets” node.
- That this is a static site with third-party dynamic interactions—no custom server code.

## Diagram (Mermaid)

```mermaid
graph TD
    %% Browser
    Browser["User Browser"]:::external

    %% Hosting and CI/CD
    subgraph "Hosting & CI/CD"
        GitHub["GitHub Repository"]:::dev
        Netlify["Netlify Build & CDN"]:::hosting
    end

    %% Development Process
    subgraph "Development Process"
        GitCommit["Git Commit"]:::dev
        GitCommit -->|push| GitHub
        GitHub -->|trigger| Netlify
    end

    %% Front-end Layers
    subgraph "Front-end Application" 
        direction TB
        subgraph "Content Layer"
            direction TB
            index["index.html"]:::frontend
            galeria["galeria-cv.html"]:::frontend
            guias["guias-rapidas.html"]:::frontend
            portal["portal-empleo.html"]:::frontend
            recursos["recursos-ia.html"]:::frontend
            ruta["ruta-empleable.html"]:::frontend
            inspiracion["contenido-inspiracion.html"]:::frontend
        end

        subgraph "Presentation Layer"
            direction TB
            subgraph "Base Styles"
                variables["variables.css"]:::frontend
                typography["tipography.css"]:::frontend
            end
            subgraph "Component Styles"
                buttons["buttons.css"]:::frontend
                cards["cards.css"]:::frontend
                formCss["form.css"]:::frontend
                titles["titles.css"]:::frontend
                whatsappCss["whatsapp-widget.css"]:::frontend
                unknownCss["unknown.css"]:::frontend
            end
            subgraph "Layout Styles"
                headerCss["header.css"]:::frontend
                footerCss["footer.css"]:::frontend
                sectionsCss["sections.css"]:::frontend
            end
            subgraph "Page-Specific Styles"
                pIndex["index.css"]:::frontend
                pGaleria["galeria-cv.css"]:::frontend
                pGuias["guias-rapidas.css"]:::frontend
                pPortal["portal-empleo.css"]:::frontend
                pRecursos["recursos-ia.css"]:::frontend
                pRuta["ruta-empleable.css"]:::frontend
                pInspiracion["contenido-inspiración.css"]:::frontend
            end
            customCss["custom.css"]:::frontend
        end

        subgraph "Behavior Layer"
            direction TB
            customJs["custom.js"]:::frontend
            formJs["form.js"]:::frontend
            jobsJs["jobs.js"]:::frontend
            bootstrap["Bootstrap 5 Library"]:::frontend
        end

        assets["Static Assets"]:::frontend
    end

    %% External Services
    subgraph "External Services"
        Cognito["Cognito Forms"]:::external
        WhatsApp["WhatsApp Widget"]:::external
    end

    %% Connections
    Browser -->|requests assets| Netlify
    Netlify -->|serves HTML| index
    Netlify --> galeria
    Netlify --> guias
    Netlify --> portal
    Netlify --> recursos
    Netlify --> ruta
    Netlify --> inspiracion
    Netlify --> variables
    Netlify --> typography
    Netlify --> buttons
    Netlify --> cards
    Netlify --> formCss
    Netlify --> titles
    Netlify --> whatsappCss
    Netlify --> unknownCss
    Netlify --> headerCss
    Netlify --> footerCss
    Netlify --> sectionsCss
    Netlify --> pIndex
    Netlify --> pGaleria
    Netlify --> pGuias
    Netlify --> pPortal
    Netlify --> pRecursos
    Netlify --> pRuta
    Netlify --> pInspiracion
    Netlify --> customCss
    Netlify --> customJs
    Netlify --> formJs
    Netlify --> jobsJs
    Netlify --> bootstrap
    Netlify --> assets

    Browser -->|loads forms| Cognito
    Browser -->|loads widget| WhatsApp

    %% Click Events for component mapping
    click index "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/index.html"
    click galeria "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/galeria-cv.html"
    click guias "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/guias-rapidas.html"
    click portal "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/portal-empleo.html"
    click recursos "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/recursos-ia.html"
    click ruta "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/ruta-empleable.html"
    click inspiracion "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/contenido-inspiracion.html"

    click variables "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/base/variables.css"
    click typography "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/base/tipography.css"

    click buttons "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/buttons.css"
    click cards "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/cards.css"
    click formCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/form.css"
    click titles "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/titles.css"
    click whatsappCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/whatsapp-widget.css"
    click unknownCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/components/unknown.css"

    click headerCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/layout/header.css"
    click footerCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/layout/footer.css"
    click sectionsCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/layout/sections.css"

    click pIndex "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/index.css"
    click pGaleria "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/galeria-cv.css"
    click pGuias "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/guias-rapidas.css"
    click pPortal "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/portal-empleo.css"
    click pRecursos "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/recursos-ia.css"
    click pRuta "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/ruta-empleable.css"
    click pInspiracion "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/pages/contenido-inspiración.css"

    click customCss "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/css/custom.css"

    click customJs "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/js/custom.js"
    click formJs "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/js/form.js"
    click jobsJs "https://github.com/okipe/website-efficace-4-bootstrap/blob/main/js/jobs.js"

    %% Styles
    classDef frontend fill:#E3F2FD,stroke:#90CAF9,stroke-width:1px
    classDef hosting fill:#FFF3E0,stroke:#FFB74D,stroke-width:1px
    classDef external fill:#E8F5E9,stroke:#81C784,stroke-width:1px
    classDef dev fill:#F3E5F5,stroke:#BA68C8,stroke-width:1px
```
