# siddharthaupase/portfolio architecture

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

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

## Overview

##### Project type and purpose
- This is a static, single-page personal portfolio website built with Vite, React (TypeScript), Tailwind/PostCSS and deployed on Vercel.
- Purpose: showcase personal projects, skills and resume in a lightweight, performant, responsive UI.

##### File structure
- Top level:
- Configuration: package.json / lock, tsconfig.*, vite.config.ts, tailwind.config.js, postcss.config.js, eslint.config.js
- index.html – the SPA shell and SEO entry point
- .bolt (AI-prompt tooling), .gitignore
- src/
- main.tsx – React entry
- App.tsx – root component
- components/ – UI sections (Header, Hero, About, Projects, Experience, Education, Contact)
- hooks/ – custom hooks (useTheme)
- assets/ – static assets (resume PDF, images)
- styles/ – custom CSS (neoBrutalism theme), index.css
- vite-env.d.ts – types
- Deployment config implied by README: Vercel CLI deploy

##### README for additional insights
- Confirms Vite for build, Vercel for CI/CD & hosting
- Fully responsive, easy customization

## Diagram (Mermaid)

```mermaid
graph TB
    %% Developer layer
    subgraph "Developer Machine"
        direction TB
        DevTools["VSCode, Git CLI"]:::dev
        subgraph "Source Code"
            direction TB
            Main["main.tsx"]:::dev
            App["App.tsx"]:::dev
            ComponentsDir["components/"]:::dev
            Hooks["useTheme.ts"]:::dev
            Assets["assets/"]:::dev
            Styles["styles/"]:::dev
            HTML["index.html"]:::dev
            ViteConfig["vite.config.ts"]:::dev
            TailwindConfig["tailwind.config.js"]:::dev
            PostCSSConfig["postcss.config.js"]:::dev
            TSConfigBase["tsconfig.json"]:::dev
            TSConfigApp["tsconfig.app.json"]:::dev
            TSConfigNode["tsconfig.node.json"]:::dev
            ViteEnv["vite-env.d.ts"]:::dev
            ESLint["eslint.config.js"]:::dev
            PackageJSON["package.json"]:::dev
            Lockfile["package-lock.json"]:::dev
            Readme["README.md"]:::dev
            BoltConfig[".bolt/config.json"]:::dev
            BoltPrompts[".bolt/prompt"]:::dev
        end
    end

    %% Version Control
    GitHub["GitHub Repo"]:::dev
    DevTools -->|git push| GitHub
    Main --> GitHub
    App --> GitHub
    ComponentsDir --> GitHub
    Hooks --> GitHub
    Assets --> GitHub
    Styles --> GitHub
    HTML --> GitHub
    ViteConfig --> GitHub
    TailwindConfig --> GitHub
    PostCSSConfig --> GitHub
    TSConfigBase --> GitHub
    TSConfigApp --> GitHub
    TSConfigNode --> GitHub
    ViteEnv --> GitHub
    ESLint --> GitHub
    PackageJSON --> GitHub
    Lockfile --> GitHub
    Readme --> GitHub
    BoltConfig --> GitHub
    BoltPrompts --> GitHub

    %% Build & Deploy
    VercelBuild["Vercel Build Server\n(Vite + Tailwind)"]:::build
    GitHub -->|Webhook| VercelBuild
    VercelBuild -->|vite build| CDN

    %% CDN layer
    CDN["Vercel CDN (Global Edge)"]:::build
    CDN -->|HTTP GET| Browser

    %% Runtime layer
    Browser["Browser (Client)"]:::runtime

    %% Click Events
    click Main "https://github.com/siddharthaupase/portfolio/blob/main/src/main.tsx"
    click App "https://github.com/siddharthaupase/portfolio/blob/main/src/App.tsx"
    click ComponentsDir "https://github.com/siddharthaupase/portfolio/tree/main/src/components"
    click Hooks "https://github.com/siddharthaupase/portfolio/blob/main/src/hooks/useTheme.ts"
    click Assets "https://github.com/siddharthaupase/portfolio/tree/main/src/assets"
    click Styles "https://github.com/siddharthaupase/portfolio/tree/main/src/styles"
    click HTML "https://github.com/siddharthaupase/portfolio/blob/main/index.html"
    click ViteConfig "https://github.com/siddharthaupase/portfolio/blob/main/vite.config.ts"
    click TailwindConfig "https://github.com/siddharthaupase/portfolio/blob/main/tailwind.config.js"
    click PostCSSConfig "https://github.com/siddharthaupase/portfolio/blob/main/postcss.config.js"
    click TSConfigBase "https://github.com/siddharthaupase/portfolio/blob/main/tsconfig.json"
    click TSConfigApp "https://github.com/siddharthaupase/portfolio/blob/main/tsconfig.app.json"
    click TSConfigNode "https://github.com/siddharthaupase/portfolio/blob/main/tsconfig.node.json"
    click ViteEnv "https://github.com/siddharthaupase/portfolio/blob/main/src/vite-env.d.ts"
    click ESLint "https://github.com/siddharthaupase/portfolio/blob/main/eslint.config.js"
    click PackageJSON "https://github.com/siddharthaupase/portfolio/blob/main/package.json"
    click Lockfile "https://github.com/siddharthaupase/portfolio/blob/main/package-lock.json"
    click Readme "https://github.com/siddharthaupase/portfolio/blob/main/README.md"
    click BoltConfig "https://github.com/siddharthaupase/portfolio/blob/main/.bolt/config.json"
    click BoltPrompts "https://github.com/siddharthaupase/portfolio/tree/main/.bolt/prompt"

    %% Styles
    classDef dev fill:#BBDEFB,stroke:#1E88E5,color:#0D47A1
    classDef build fill:#C8E6C9,stroke:#2E7D32,color:#1B5E20
    classDef runtime fill:#FFE0B2,stroke:#EF6C00,color:#E65100
```
