# abbas-asad/portfolio-with-vanilla-css architecture

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

- Interactive diagram: https://gitdiagram.com/abbas-asad/portfolio-with-vanilla-css
- Repository: https://github.com/abbas-asad/portfolio-with-vanilla-css

## Overview

##### Main System Components

a) Frontend Application Layer
- Next.js Application (Core)
- Component Architecture
- Static Assets
- Styling System

b) Build & Deployment Layer
- Vercel Platform
- Build Pipeline
- Static Generation

##### Specific Implementation Details

Technical aspects:

- TypeScript integration (indicated by .ts and .tsx files)
- TailwindCSS utility-first styling
- Static site generation capabilities
- Component-based architecture
- Asset optimization pipeline

##### Key Relationships to Highlight

- Component inheritance and composition
- Style application flow
- Build and optimization pipeline
- Deployment and delivery pathway

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Legend"
        L1[Component]:::component
        L2[/Build Tool/]:::build
        L3[(Static Assets)]:::assets
        L4{{Deployment}}:::deployment
        L5[/Configuration/]:::config
    end

    subgraph "Frontend Application Layer"
        NextApp["Next.js Application"]:::component
        
        subgraph "Core Components"
            Layout["Layout Component"]:::component
            Page["Page Component"]:::component
        end
        
        subgraph "Component Architecture"
            Header["Header"]:::component
            Hero["Hero"]:::component
            About["About"]:::component
            Skills["Skills"]:::component
            Work["Work"]:::component
            Contact["Contact"]:::component
            Footer["Footer"]:::component
        end
        
        subgraph "Static Resources"
            Assets[(Assets)]:::assets
            Fonts["Font System"]:::assets
        end
    end
    
    subgraph "Build & Styling System"
        TailwindConfig[/TailwindCSS Config/]:::config
        PostCSS[/PostCSS/]:::build
        TypeScript[/TypeScript/]:::build
        ESLint[/ESLint/]:::build
        GlobalStyles["Global Styles"]:::component
    end
    
    subgraph "Deployment Pipeline"
        SourceCode["Source Code"]:::component
        BuildProcess{{Build Process}}:::deployment
        StaticGen{{Static Generation}}:::deployment
        VercelDeploy{{Vercel Deployment}}:::deployment
        CDN{{CDN Distribution}}:::deployment
    end

    NextApp --> Layout
    NextApp --> Page
    Layout --> Header
    Layout --> Hero
    Layout --> About
    Layout --> Skills
    Layout --> Work
    Layout --> Contact
    Layout --> Footer
    
    TailwindConfig --> GlobalStyles
    PostCSS --> GlobalStyles
    GlobalStyles --> Layout
    
    TypeScript --> BuildProcess
    ESLint --> BuildProcess
    SourceCode --> BuildProcess
    BuildProcess --> StaticGen
    StaticGen --> VercelDeploy
    VercelDeploy --> CDN

    click Layout "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/layout.tsx"
    click Page "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/page.tsx"
    click Header "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/header.tsx"
    click Hero "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/hero.tsx"
    click About "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/about.tsx"
    click Skills "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/skills.tsx"
    click Work "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/work.tsx"
    click Contact "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/contact.tsx"
    click Footer "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/components/footer.tsx"
    click TailwindConfig "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/tailwind.config.ts"
    click PostCSS "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/postcss.config.mjs"
    click GlobalStyles "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/src/app/globals.css"
    click Assets "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/tree/main/public/assets"
    click TypeScript "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/tsconfig.json"
    click ESLint "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/blob/main/.eslintrc.json"
    click Fonts "https://github.com/abbas-asad/Portfolio-With-Vanilla-Css/tree/main/src/app/fonts"

    classDef component fill:#3b82f6,color:white
    classDef build fill:#f97316,color:white
    classDef assets fill:#6366f1,color:white
    classDef deployment fill:#8b5cf6,color:white
    classDef config fill:#22c55e,color:white
```
