# devendharoff/devendhar-glass-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/devendharoff/devendhar-glass-portfolio
- Repository: https://github.com/devendharoff/devendhar-glass-portfolio

## Overview

This is a Next.js personal portfolio: visitors enter the home page to explore the developer’s identity, selected projects, skills, services, and contact options. The main experience is implemented as one large interactive component, which also initializes smooth scrolling and uses cursor-following and magnetic-button effects. A separate story-scroll route demonstrates a project slider. The README documents major portfolio capabilities; some listed feature implementations occur in unsampled portions of the main component, so those are represented as sections rather than inferred module links.

Main entry points: [`components/glass-hero.tsx`](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx) (Portfolio experience), [`app/page.tsx`](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/page.tsx) (Home route), [`app/story-scroll/page.tsx`](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/story-scroll/page.tsx) (Story route), [`components/ui/demo.tsx`](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/demo.tsx) (Slider demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Routes and shell"]
  node_home["Home route<br/>[page.tsx]"]
  node_storyroute["Story route<br/>[page.tsx]"]
  node_layout["Root layout<br/>[layout.tsx]"]
end

subgraph group_portfolio["Portfolio experience"]
  node_hero["Portfolio experience<br/>[glass-hero.tsx]"]
  node_identity["Identity and navigation<br/>[glass-hero.tsx]"]
  node_showcase["Project showcase<br/>[glass-hero.tsx]"]
  node_skills["Skills and services<br/>[glass-hero.tsx]"]
  node_contact["Contact and socials<br/>[glass-hero.tsx]"]
end

subgraph group_interactions["Interaction components"]
  node_magnetic["Magnetic button"]
  node_cursor["Cursor follower"]
end

subgraph group_experiments["Standalone demos"]
  node_storydemo["Slider demo<br/>[demo.tsx]"]
  node_projectslider["Infinite project slider"]
  node_buttoncarousel["Button carousel"]
  node_circularcarousel["Circular carousel"]
  node_stack["Stack interactor"]
  node_iconcloud["Interactive icon cloud"]
  node_orbit["Orbiting circles"]
  node_spherewrapper["Particle sphere wrapper<br/>[particalsphear.tsx]"]
  node_sphere["Particle sphere renderer"]
  node_orbitingskills["Orbiting skills"]
  node_coverflow["Project coverflow"]
  node_slideshow["3D slideshow"]
  node_storyscroll["Story scroll component<br/>[story-scroll.tsx]"]
  node_wave["Wave animation<br/>[wave.tsx]"]
  node_footer["Motion footer<br/>[motion-footer.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"opens"| node_storyroute
node_home -->|"renders"| node_hero
node_storyroute -->|"renders"| node_storydemo
node_storydemo -->|"renders"| node_projectslider
node_hero -->|"uses"| node_magnetic
node_hero -->|"uses"| node_cursor
node_orbit -->|"uses"| node_spherewrapper
node_spherewrapper -->|"loads"| node_sphere

click node_home "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/page.tsx"
click node_storyroute "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/story-scroll/page.tsx"
click node_layout "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/layout.tsx"
click node_hero "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx"
click node_identity "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx"
click node_showcase "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx"
click node_skills "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx"
click node_contact "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx"
click node_magnetic "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/magnetic-button.tsx"
click node_cursor "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/cursor-follower.tsx"
click node_storydemo "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/demo.tsx"
click node_projectslider "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/argent-loop-infinite-slider.tsx"
click node_buttoncarousel "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/button-carousel.tsx"
click node_circularcarousel "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/circular-carousel.tsx"
click node_stack "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/connoisseur-stack-interactor.tsx"
click node_iconcloud "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/interactive-icon-cloud.tsx"
click node_orbit "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-circles-02.tsx"
click node_spherewrapper "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-circles-02-utils/particalsphear.tsx"
click node_sphere "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/particle-sphere.tsx"
click node_orbitingskills "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-skills.tsx"
click node_coverflow "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/project-coverflow.tsx"
click node_slideshow "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/smooth-3d-slideshow.tsx"
click node_storyscroll "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/story-scroll.tsx"
click node_wave "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/wave.tsx"
click node_footer "https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/motion-footer.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_storyroute,node_layout toneBlue
class node_hero,node_identity,node_showcase,node_skills,node_contact toneAmber
class node_magnetic,node_cursor toneMint
class node_storydemo,node_projectslider,node_buttoncarousel,node_circularcarousel,node_stack,node_iconcloud,node_orbit,node_spherewrapper,node_sphere,node_orbitingskills,node_coverflow,node_slideshow,node_storyscroll,node_wave,node_footer toneRose
class node_visitor toneIndigo
```

## Components

### Routes and shell

- [Home route](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Story route](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/story-scroll/page.tsx): `app/story-scroll/page.tsx`
- [Root layout](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/app/layout.tsx): `app/layout.tsx`

### Portfolio experience

- [Portfolio experience](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx): `components/glass-hero.tsx`
- [Identity and navigation](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx): `components/glass-hero.tsx`
- [Project showcase](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx): `components/glass-hero.tsx`
- [Skills and services](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx): `components/glass-hero.tsx`
- [Contact and socials](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/glass-hero.tsx): `components/glass-hero.tsx`

### Interaction components

- [Magnetic button](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/magnetic-button.tsx): `components/ui/magnetic-button.tsx`
- [Cursor follower](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/cursor-follower.tsx): `components/ui/cursor-follower.tsx`

### Standalone demos

- [Slider demo](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/demo.tsx): `components/ui/demo.tsx`
- [Infinite project slider](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/argent-loop-infinite-slider.tsx): `components/ui/argent-loop-infinite-slider.tsx`
- [Button carousel](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/button-carousel.tsx): `components/ui/button-carousel.tsx`
- [Circular carousel](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/circular-carousel.tsx): `components/ui/circular-carousel.tsx`
- [Stack interactor](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/connoisseur-stack-interactor.tsx): `components/ui/connoisseur-stack-interactor.tsx`
- [Interactive icon cloud](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/interactive-icon-cloud.tsx): `components/ui/interactive-icon-cloud.tsx`
- [Orbiting circles](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-circles-02.tsx): `components/ui/orbiting-circles-02.tsx`
- [Particle sphere wrapper](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-circles-02-utils/particalsphear.tsx): `components/ui/orbiting-circles-02-utils/particalsphear.tsx`
- [Particle sphere renderer](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/particle-sphere.tsx): `components/ui/particle-sphere.tsx`
- [Orbiting skills](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/orbiting-skills.tsx): `components/ui/orbiting-skills.tsx`
- [Project coverflow](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/project-coverflow.tsx): `components/ui/project-coverflow.tsx`
- [3D slideshow](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/smooth-3d-slideshow.tsx): `components/ui/smooth-3d-slideshow.tsx`
- [Story scroll component](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/story-scroll.tsx): `components/ui/story-scroll.tsx`
- [Wave animation](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/wave.tsx): `components/ui/wave.tsx`
- [Motion footer](https://github.com/devendharoff/devendhar-glass-portfolio/blob/main/components/ui/motion-footer.tsx): `components/ui/motion-footer.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home route: opens (evidence: `README.md`)
- Visitor → Story route: opens (evidence: `app/story-scroll/page.tsx`)
- Home route → Portfolio experience: renders (evidence: `app/page.tsx`)
- Story route → Slider demo: renders (evidence: `app/story-scroll/page.tsx`)
- Slider demo → Infinite project slider: renders (evidence: `components/ui/demo.tsx`)
- Portfolio experience → Magnetic button: uses (evidence: `components/glass-hero.tsx`)
- Portfolio experience → Cursor follower: uses (evidence: `components/glass-hero.tsx`)
- Orbiting circles → Particle sphere wrapper: uses (evidence: `components/ui/orbiting-circles-02.tsx`)
- Particle sphere wrapper → Particle sphere renderer: loads (evidence: `components/ui/orbiting-circles-02-utils/particalsphear.tsx`)
