# mahemass/logeshkanna-portfolio-showcase architecture

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

- Interactive diagram: https://gitdiagram.com/mahemass/logeshkanna-portfolio-showcase
- Repository: https://github.com/mahemass/logeshkanna-portfolio-showcase

## Overview

This repository implements a personal portfolio website. A visitor opens the app, reaches the portfolio page, and browses its profile, skills, projects, education, and contact content; a catch-all route provides a not-found page. Theme selection and toast/tooltip support are shared runtime concerns. The README describes the editing and hosting workflow, but not additional product features. Component composition is visible in the excerpts; some section internals are represented from the source index rather than inspected directly.

Main entry points: [`src/pages/Index.tsx`](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/pages/Index.tsx) (Portfolio page), [`src/components/ui`](https://github.com/mahemass/logeshkanna-portfolio-showcase/tree/main/src/components/ui) (UI primitives), [`src/App.tsx`](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/App.tsx) (App shell), [`src/main.tsx`](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/main.tsx) (React bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application flow"]
  node_bootstrap["React bootstrap<br/>[main.tsx]"]
  node_app_shell["App shell<br/>[App.tsx]"]
  node_portfolio_page["Portfolio page<br/>[Index.tsx]"]
  node_not_found["Not-found page<br/>[NotFound.tsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_shared["Shared experience"]
  node_theme_switcher["Theme selector<br/>[ThemeSwitcher.tsx]"]
  node_theme_state["Theme state<br/>[use-theme.tsx]"]
  node_ui_primitives["UI primitives"]
  node_toast_state["Toast state<br/>[use-toast.ts]"]
  node_toast_view["Toast display<br/>[toaster.tsx]"]
  node_tooltip_provider["Tooltip provider<br/>[tooltip.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_bootstrap
node_bootstrap -->|"provides theme"| node_theme_state
node_bootstrap -->|"renders"| node_app_shell
node_app_shell -->|"routes home"| node_portfolio_page
node_app_shell -->|"routes fallback"| node_not_found
node_app_shell -->|"mounts toaster"| node_toast_view
node_app_shell -->|"provides tooltips"| node_tooltip_provider
node_portfolio_page -->|"renders"| node_navigation
node_portfolio_page -->|"renders"| node_hero
node_portfolio_page -->|"renders"| node_about
node_portfolio_page -->|"renders"| node_skills
node_portfolio_page -->|"renders"| node_projects
node_portfolio_page -->|"renders"| node_education
node_portfolio_page -->|"renders"| node_contact
node_portfolio_page -->|"renders"| node_footer
node_portfolio_page -->|"renders"| node_theme_switcher
node_theme_switcher -->|"sets theme"| node_theme_state
node_about -->|"uses cards"| node_ui_primitives
node_skills -->|"uses cards"| node_ui_primitives
node_education -->|"uses cards"| node_ui_primitives
node_contact -->|"uses cards, buttons"| node_ui_primitives
node_projects -->|"uses cards, badges"| node_ui_primitives
node_hero -->|"uses buttons"| node_ui_primitives
node_navigation -->|"uses buttons"| node_ui_primitives
node_theme_switcher -->|"uses menu controls"| node_ui_primitives
node_toast_view -->|"reads toast state"| node_toast_state

click node_bootstrap "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/main.tsx"
click node_app_shell "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/App.tsx"
click node_portfolio_page "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/pages/Index.tsx"
click node_not_found "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/pages/NotFound.tsx"
click node_navigation "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Navigation.tsx"
click node_hero "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/About.tsx"
click node_skills "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Projects.tsx"
click node_education "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Education.tsx"
click node_contact "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Contact.tsx"
click node_footer "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Footer.tsx"
click node_theme_switcher "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ThemeSwitcher.tsx"
click node_theme_state "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/hooks/use-theme.tsx"
click node_ui_primitives "https://github.com/mahemass/logeshkanna-portfolio-showcase/tree/main/src/components/ui"
click node_toast_state "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/hooks/use-toast.ts"
click node_toast_view "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ui/toaster.tsx"
click node_tooltip_provider "https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ui/tooltip.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_bootstrap,node_app_shell,node_portfolio_page,node_not_found toneBlue
class node_navigation,node_hero,node_about,node_skills,node_projects,node_education,node_contact,node_footer toneAmber
class node_theme_switcher,node_theme_state,node_ui_primitives,node_toast_state,node_toast_view,node_tooltip_provider toneMint
class node_visitor toneIndigo
```

## Components

### Application flow

- [React bootstrap](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/main.tsx): `src/main.tsx`
- [App shell](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/App.tsx): `src/App.tsx`
- [Portfolio page](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Not-found page](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/pages/NotFound.tsx): `src/pages/NotFound.tsx`

### Portfolio content

- [Navigation](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Navigation.tsx): `src/components/Navigation.tsx`
- [Introduction](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About profile](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Skills](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Projects](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Education](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Education.tsx): `src/components/Education.tsx`
- [Contact](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Footer](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Shared experience

- [Theme selector](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ThemeSwitcher.tsx): `src/components/ThemeSwitcher.tsx`
- [Theme state](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/hooks/use-theme.tsx): `src/hooks/use-theme.tsx`
- [UI primitives](https://github.com/mahemass/logeshkanna-portfolio-showcase/tree/main/src/components/ui): `src/components/ui`
- [Toast state](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/hooks/use-toast.ts): `src/hooks/use-toast.ts`
- [Toast display](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ui/toaster.tsx): `src/components/ui/toaster.tsx`
- [Tooltip provider](https://github.com/mahemass/logeshkanna-portfolio-showcase/blob/main/src/components/ui/tooltip.tsx): `src/components/ui/tooltip.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React bootstrap: opens site (evidence: `src/main.tsx`)
- React bootstrap → Theme state: provides theme (evidence: `src/main.tsx`)
- React bootstrap → App shell: renders (evidence: `src/main.tsx`)
- App shell → Portfolio page: routes home (evidence: `src/App.tsx`)
- App shell → Not-found page: routes fallback (evidence: `src/App.tsx`)
- App shell → Toast display: mounts toaster (evidence: `src/App.tsx`)
- App shell → Tooltip provider: provides tooltips (evidence: `src/App.tsx`)
- Portfolio page → Navigation: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Introduction: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → About profile: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Skills: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Projects: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Education: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Contact: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Footer: renders (evidence: `src/pages/Index.tsx`)
- Portfolio page → Theme selector: renders (evidence: `src/pages/Index.tsx`)
- Theme selector → Theme state: sets theme (evidence: `src/components/ThemeSwitcher.tsx`)
- About profile → UI primitives: uses cards (evidence: `src/components/About.tsx`)
- Skills → UI primitives: uses cards (evidence: `src/components/Skills.tsx`)
- Education → UI primitives: uses cards (evidence: `src/components/Education.tsx`)
- Contact → UI primitives: uses cards, buttons (evidence: `src/components/Contact.tsx`)
- Projects → UI primitives: uses cards, badges (evidence: `src/components/Projects.tsx`)
- Introduction → UI primitives: uses buttons (evidence: `src/components/Hero.tsx`)
- Navigation → UI primitives: uses buttons (evidence: `src/components/Navigation.tsx`)
- Theme selector → UI primitives: uses menu controls (evidence: `src/components/ThemeSwitcher.tsx`)
- Toast display → Toast state: reads toast state (evidence: `src/components/ui/toaster.tsx`)
