# thanay-krishna/my-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/thanay-krishna/my-portfolio
- Repository: https://github.com/thanay-krishna/my-portfolio

## Overview

This is a Next.js personal portfolio. Visitors arrive at a single home page and browse profile, projects, skills, experience, achievements, and contact information; the page composes those sections directly. A separate site-configuration layer supplies metadata and structured data, while theme state supports the interface. The source index also identifies geocoding, interpreter, and weather modules, but the excerpts do not establish how they participate in the visitor workflow. The contact API’s behavior is likewise not shown in an excerpt.

Main entry points: [`src/app/page.tsx`](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/page.tsx) (Home page), [`src/lib/seo.ts`](https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/seo.ts) (SEO configuration), [`src/app/layout.tsx`](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/layout.tsx) (Root layout), [`src/components/Navbar.tsx`](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Navbar.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio content"]
  node_home["Home page<br/>[page.tsx]"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_achievements["Achievements<br/>[Achievements.tsx]"]
  node_contact["Contact links<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_interface["Navigation and theme"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_theme_toggle["Theme control<br/>[ThemeToggle.tsx]"]
  node_theme_provider["Theme state<br/>[ThemeProvider.tsx]"]
end

subgraph group_site["Site metadata"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_seo["SEO configuration<br/>[seo.ts]"]
  node_manifest["Web manifest<br/>[manifest.ts]"]
  node_robots["Crawler rules<br/>[robots.ts]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
end

subgraph group_services["Utilities and API"]
  node_contact_api["Contact API<br/>[route.ts]"]
  node_interpreter["Interpreter<br/>[interpreter.ts]"]
  node_geocoding["Location lookup<br/>[geocoding.ts]"]
  node_weather["Weather utility<br/>[weather.ts]"]
end

node_visitor(("Visitor"))
node_open_meteo["Open-Meteo geocoding"]

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_achievements
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_navbar -->|"renders"| node_theme_toggle
node_theme_toggle -->|"uses theme"| node_theme_provider
node_layout -->|"wraps content"| node_theme_provider
node_layout -->|"loads structured data"| node_seo
node_manifest -->|"uses configuration"| node_seo
node_robots -->|"uses configuration"| node_seo
node_sitemap -->|"uses configuration"| node_seo
node_interpreter -->|"uses lookup"| node_geocoding
node_geocoding -->|"fetches results"| node_open_meteo

click node_home "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/page.tsx"
click node_hero "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/About.tsx"
click node_projects "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Projects.tsx"
click node_skills "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Skills.tsx"
click node_experience "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Experience.tsx"
click node_achievements "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Achievements.tsx"
click node_contact "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Contact.tsx"
click node_footer "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Footer.tsx"
click node_navbar "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Navbar.tsx"
click node_theme_toggle "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/ThemeToggle.tsx"
click node_theme_provider "https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/ThemeProvider.tsx"
click node_layout "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/layout.tsx"
click node_seo "https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/seo.ts"
click node_manifest "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/manifest.ts"
click node_robots "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/robots.ts"
click node_sitemap "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/sitemap.ts"
click node_contact_api "https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/api/contact/route.ts"
click node_interpreter "https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/interpreter.ts"
click node_geocoding "https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/geocoding.ts"
click node_weather "https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/weather.ts"

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_hero,node_about,node_projects,node_skills,node_experience,node_achievements,node_contact,node_footer toneBlue
class node_navbar,node_theme_toggle,node_theme_provider toneAmber
class node_layout,node_seo,node_manifest,node_robots,node_sitemap toneMint
class node_contact_api,node_interpreter,node_geocoding,node_weather toneRose
class node_visitor,node_open_meteo toneIndigo
```

## Components

### Portfolio content

- [Home page](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Introduction](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About profile](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Projects](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Skills](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Experience](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Achievements](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Achievements.tsx): `src/components/Achievements.tsx`
- [Contact links](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Footer](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Navigation and theme

- [Navigation](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Theme control](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/ThemeToggle.tsx): `src/components/ThemeToggle.tsx`
- [Theme state](https://github.com/thanay-krishna/my-portfolio/blob/main/src/components/ThemeProvider.tsx): `src/components/ThemeProvider.tsx`

### Site metadata

- [Root layout](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [SEO configuration](https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/seo.ts): `src/lib/seo.ts`
- [Web manifest](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/manifest.ts): `src/app/manifest.ts`
- [Crawler rules](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/robots.ts): `src/app/robots.ts`
- [Sitemap](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/sitemap.ts): `src/app/sitemap.ts`

### Utilities and API

- [Contact API](https://github.com/thanay-krishna/my-portfolio/blob/main/src/app/api/contact/route.ts): `src/app/api/contact/route.ts`
- [Interpreter](https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/interpreter.ts): `src/lib/interpreter.ts`
- [Location lookup](https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/geocoding.ts): `src/lib/geocoding.ts`
- [Weather utility](https://github.com/thanay-krishna/my-portfolio/blob/main/src/lib/weather.ts): `src/lib/weather.ts`

### Other components

- **Visitor**
- **Open-Meteo geocoding**

## Connections

- Visitor → Home page: opens (evidence: `src/app/page.tsx`)
- Home page → Navigation: renders (evidence: `src/app/page.tsx`)
- Home page → Introduction: renders (evidence: `src/app/page.tsx`)
- Home page → About profile: renders (evidence: `src/app/page.tsx`)
- Home page → Projects: renders (evidence: `src/app/page.tsx`)
- Home page → Skills: renders (evidence: `src/app/page.tsx`)
- Home page → Experience: renders (evidence: `src/app/page.tsx`)
- Home page → Achievements: renders (evidence: `src/app/page.tsx`)
- Home page → Contact links: renders (evidence: `src/app/page.tsx`)
- Home page → Footer: renders (evidence: `src/app/page.tsx`)
- Navigation → Theme control: renders (evidence: `src/components/Navbar.tsx`)
- Theme control → Theme state: uses theme (evidence: `src/components/ThemeToggle.tsx`)
- Root layout → Theme state: wraps content (evidence: `src/app/layout.tsx`)
- Root layout → SEO configuration: loads structured data (evidence: `src/app/layout.tsx`)
- Web manifest → SEO configuration: uses configuration (evidence: `src/app/manifest.ts`)
- Crawler rules → SEO configuration: uses configuration (evidence: `src/app/robots.ts`)
- Sitemap → SEO configuration: uses configuration (evidence: `src/app/sitemap.ts`)
- Interpreter → Location lookup: uses lookup (evidence: `src/lib/interpreter.ts`)
- Location lookup → Open-Meteo geocoding: fetches results (evidence: `src/lib/geocoding.ts`)
