# danco-analytics/portifolio architecture

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

- Interactive diagram: https://gitdiagram.com/danco-analytics/portifolio
- Repository: https://github.com/danco-analytics/portifolio

## Overview

##### Project type and purpose
- This is a static “portfolio” website composed of multiple HTML pages (index.html, about.html, skills.html, projects.html, contact.html, education.html, analytics-dashboard.html) plus supporting assets (JavaScript, CSS, video).
- It’s designed to showcase personal/work information and contains small integrations (analytics.js, spotify-integration.js).

##### File structure
- Top-level HTML pages (core presentation).
- assets/js/spotify-integration.js: a client-side module for Spotify API calls.
- analytics.js: likely a custom script for sending page-view data to an analytics endpoint or third-party.
- github-stats.css: styling for GitHub stats.
- assets/video.mp4: media asset.

##### README
- Minimal: confirms intent (“Portifolio”). No further architectural notes.

## Diagram (Mermaid)

```mermaid
graph TB
    Browser["Browser"]:::client

    subgraph "Static Hosting / CDN" 
        class hostingContainer hosting
        subgraph "Static Assets"
            class assetsContainer assets
            subgraph "HTML Pages"
                About["about.html"] 
                AnalyticsDash["analytics-dashboard.html"]
                Contact["contact.html"]
                Education["education.html"]
                Index["index.html"]
                Projects["projects.html"]
                Skills["skills.html"]
            end
            CSS["github-stats.css"]
            JSAnalytics["analytics.js"]
            JSSpotify["spotify-integration.js"]
            Video["assets/video.mp4"]
        end
    end

    Analytics["Analytics Service"]:::external
    Spotify["Spotify API"]:::external

    Browser -->|"HTTP GET"| About
    Browser -->|"HTTP GET"| AnalyticsDash
    Browser -->|"HTTP GET"| Contact
    Browser -->|"HTTP GET"| Education
    Browser -->|"HTTP GET"| Index
    Browser -->|"HTTP GET"| Projects
    Browser -->|"HTTP GET"| Skills
    Browser -->|"HTTP GET"| CSS
    Browser -->|"HTTP GET"| JSAnalytics
    Browser -->|"HTTP GET"| JSSpotify
    Browser -->|"HTTP GET"| Video

    Browser -->|"POST/GET events"| Analytics
    Browser -->|"AJAX calls"| Spotify

    click About "https://github.com/danco-analytics/portifolio/blob/main/about.html"
    click AnalyticsDash "https://github.com/danco-analytics/portifolio/blob/main/analytics-dashboard.html"
    click Contact "https://github.com/danco-analytics/portifolio/blob/main/contact.html"
    click Education "https://github.com/danco-analytics/portifolio/blob/main/education.html"
    click Index "https://github.com/danco-analytics/portifolio/blob/main/index.html"
    click Projects "https://github.com/danco-analytics/portifolio/blob/main/projects.html"
    click Skills "https://github.com/danco-analytics/portifolio/blob/main/skills.html"
    click CSS "https://github.com/danco-analytics/portifolio/blob/main/github-stats.css"
    click JSAnalytics "https://github.com/danco-analytics/portifolio/blob/main/analytics.js"
    click JSSpotify "https://github.com/danco-analytics/portifolio/blob/main/assets/js/spotify-integration.js"
    click Video "https://github.com/danco-analytics/portifolio/blob/main/assets/video.mp4"

    classDef client fill:#B3E5FC,stroke:#0288D1
    classDef hosting fill:#BBDEFB,stroke:#1976D2
    classDef assets fill:#C8E6C9,stroke:#388E3C
    classDef external fill:#FFE0B2,stroke:#F57C00
```
