# donalshortt/portfolio architecture

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

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

## Overview

##### Main Components Identification

a. Client-Side Application Structure:
- Vue.js Application Core
- Router System
- Component Library
- Asset Management
- Views/Pages

Use these visual elements:
- Blue rectangles for Vue components
- Green rectangles for views
- Yellow rectangles for routing elements
- Purple rectangles for static assets

##### Relationship Visualization

Key relationships:
- App.vue → router.js → Views
- Views → Components
- Components → Assets

##### Important Details

Annotations for:
- Vue.js as the framework
- Single Page Application (SPA) architecture
- Client-side routing implementation
- Component hierarchy and reusability

**[App.vue / main.js] → [Router]**
- ↓
- [Views (Home/Projects)]
- ↓
- [Vue Components]
- ↓
- [Static Assets]

##### Technical Stack Indicators

- Vue.js
- JavaScript
- CSS
- HTML

- Connectors with different styles
- Text annotations
- Export to common formats

For this specific portfolio website, focus on showing how the components work together to create a seamless user experience, emphasizing the modular nature of the Vue.js components and how they're assembled into complete views.

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Application Layer"
        App["App.vue"]
        Main["main.js"]
        Router["router.js"]
        Main --> App
        App --> Router
    end

    subgraph "View Layer"
        Home["Home.vue"]
        Projects["Projects.vue"]
        Router --> Home
        Router --> Projects
    end

    subgraph "Component Layer"
        Welcome["WelcomeMessage.vue"]
        ProjList["ProjectList.vue"]
        ProjItem["ProjectItem.vue"]
        ProjListItem["ProjectListItem.vue"]
        LinkBtn["LinkButton.vue"]
        LinkDisp["LinkDisplay.vue"]
        
        Home --> Welcome
        Projects --> ProjList
        ProjList --> ProjListItem
        ProjList --> ProjItem
        Home --> LinkBtn
        Projects --> LinkBtn
        Projects --> LinkDisp
    end

    subgraph "Assets Layer"
        Video["cityscape.mp4"]
        CSS["underscoreAnimation.css"]
        Public["index.html"]
        
        Welcome --> Video
        Welcome --> CSS
        App --> Public
    end

    %% Click events for component mapping
    click App "https://github.com/donalshortt/portfolio/blob/master/src/App.vue"
    click Main "https://github.com/donalshortt/portfolio/blob/master/src/main.js"
    click Router "https://github.com/donalshortt/portfolio/blob/master/src/router.js"
    click Home "https://github.com/donalshortt/portfolio/blob/master/src/views/Home.vue"
    click Projects "https://github.com/donalshortt/portfolio/blob/master/src/views/Projects.vue"
    click Welcome "https://github.com/donalshortt/portfolio/blob/master/src/components/WelcomeMessage.vue"
    click ProjList "https://github.com/donalshortt/portfolio/blob/master/src/components/ProjectList.vue"
    click ProjListItem "https://github.com/donalshortt/portfolio/blob/master/src/components/ProjectListItem.vue"
    click ProjItem "https://github.com/donalshortt/portfolio/blob/master/src/components/ProjectItem.vue"
    click LinkBtn "https://github.com/donalshortt/portfolio/blob/master/src/components/LinkButton.vue"
    click LinkDisp "https://github.com/donalshortt/portfolio/blob/master/src/components/LinkDisplay.vue"
    click Video "https://github.com/donalshortt/portfolio/blob/master/src/assets/cityscape.mp4"
    click CSS "https://github.com/donalshortt/portfolio/blob/master/src/assets/css/underscoreAnimation.css"
    click Public "https://github.com/donalshortt/portfolio/blob/master/public/index.html"

    %% Styling
    classDef vue fill:#41B883,color:white
    classDef view fill:#34495E,color:white
    classDef component fill:#3498DB,color:white
    classDef asset fill:#9B59B6,color:white

    class App,Main vue
    class Home,Projects view
    class Welcome,ProjList,ProjItem,ProjListItem,LinkBtn,LinkDisp component
    class Video,CSS,Public asset
```
