# souravmanikandan/v1 architecture

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

- Interactive diagram: https://gitdiagram.com/souravmanikandan/v1
- Repository: https://github.com/souravmanikandan/v1

## Overview

This is a Gatsby personal portfolio site. Visitors arrive at a landing page to explore the owner’s profile, experience, selected work, and contact options; separate archive, Pensieve, tag, and post pages provide a writing branch. Shared navigation and layout support the site, while Gatsby configuration and styling form internal layers. The README confirms the Gatsby-built site, but the supplied excerpts do not show page composition or the Gatsby content-generation flow, so those connections are omitted or marked unverified.

Main entry points: [`src/pages/index.js`](https://github.com/souravmanikandan/v1/blob/main/src/pages/index.js) (Home page), [`src/components/layout.js`](https://github.com/souravmanikandan/v1/blob/main/src/components/layout.js) (Layout), [`src/pages/pensieve/index.js`](https://github.com/souravmanikandan/v1/blob/main/src/pages/pensieve/index.js) (Pensieve index), [`src/styles/GlobalStyle.js`](https://github.com/souravmanikandan/v1/blob/main/src/styles/GlobalStyle.js) (Global styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_home["Home page<br/>[index.js]"]
  node_layout["Layout<br/>[layout.js]"]
  node_navigation["Navigation<br/>[nav.js]"]
  node_menu["Menu<br/>[menu.js]"]
  node_loader["Loader<br/>[loader.js]"]
  node_footer["Footer<br/>[footer.js]"]
  node_head["Page metadata<br/>[head.js]"]
end

subgraph group_portfolio["Portfolio content"]
  node_hero["Hero<br/>[hero.js]"]
  node_about["About<br/>[about.js]"]
  node_jobs["Experience<br/>[jobs.js]"]
  node_featured["Featured work<br/>[featured.js]"]
  node_projects["Projects<br/>[projects.js]"]
  node_contact["Contact<br/>[contact.js]"]
end

subgraph group_writing["Writing pages"]
  node_archive["Project archive<br/>[archive.js]"]
  node_pensieve["Pensieve index<br/>[index.js]"]
  node_tags["Tag index<br/>[tags.js]"]
  node_post["Post template<br/>[post.js]"]
  node_tag["Tag template<br/>[tag.js]"]
  node_notfound["Not found<br/>[404.js]"]
end

subgraph group_platform["Gatsby and styling"]
  node_gatsbyconfig["Gatsby configuration<br/>[gatsby-config.js]"]
  node_gatsbybuild["Page generation<br/>[gatsby-node.js]"]
  node_globalstyle["Global styles<br/>[GlobalStyle.js]"]
  node_fonts["Font faces<br/>[fonts.js]"]
  node_prism["Code styling<br/>[PrismStyles.js]"]
end

node_visitor(("Visitor"))

node_gatsbyconfig -.->|"configures"| node_gatsbybuild
node_visitor -.->|"visits"| node_home
node_home -.->|"renders"| node_layout
node_layout -.->|"renders"| node_navigation
node_navigation -->|"renders"| node_menu
node_layout -.->|"renders"| node_loader
node_layout -.->|"renders"| node_footer
node_layout -.->|"renders"| node_head
node_home -.->|"renders"| node_hero
node_home -.->|"renders"| node_about
node_home -.->|"renders"| node_jobs
node_home -.->|"renders"| node_featured
node_home -.->|"renders"| node_projects
node_home -.->|"renders"| node_contact
node_visitor -.->|"visits"| node_archive
node_visitor -.->|"visits"| node_pensieve
node_pensieve -.->|"links to"| node_tags
node_pensieve -.->|"opens"| node_post
node_tags -.->|"opens"| node_tag
node_visitor -.->|"visits"| node_notfound
node_gatsbyconfig -.->|"configures"| node_globalstyle
node_globalstyle -->|"imports"| node_fonts
node_globalstyle -->|"imports"| node_prism

click node_home "https://github.com/souravmanikandan/v1/blob/main/src/pages/index.js"
click node_layout "https://github.com/souravmanikandan/v1/blob/main/src/components/layout.js"
click node_navigation "https://github.com/souravmanikandan/v1/blob/main/src/components/nav.js"
click node_menu "https://github.com/souravmanikandan/v1/blob/main/src/components/menu.js"
click node_loader "https://github.com/souravmanikandan/v1/blob/main/src/components/loader.js"
click node_footer "https://github.com/souravmanikandan/v1/blob/main/src/components/footer.js"
click node_head "https://github.com/souravmanikandan/v1/blob/main/src/components/head.js"
click node_hero "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/hero.js"
click node_about "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/about.js"
click node_jobs "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/jobs.js"
click node_featured "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/featured.js"
click node_projects "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/projects.js"
click node_contact "https://github.com/souravmanikandan/v1/blob/main/src/components/sections/contact.js"
click node_archive "https://github.com/souravmanikandan/v1/blob/main/src/pages/archive.js"
click node_pensieve "https://github.com/souravmanikandan/v1/blob/main/src/pages/pensieve/index.js"
click node_tags "https://github.com/souravmanikandan/v1/blob/main/src/pages/pensieve/tags.js"
click node_post "https://github.com/souravmanikandan/v1/blob/main/src/templates/post.js"
click node_tag "https://github.com/souravmanikandan/v1/blob/main/src/templates/tag.js"
click node_notfound "https://github.com/souravmanikandan/v1/blob/main/src/pages/404.js"
click node_gatsbyconfig "https://github.com/souravmanikandan/v1/blob/main/gatsby-config.js"
click node_gatsbybuild "https://github.com/souravmanikandan/v1/blob/main/gatsby-node.js"
click node_globalstyle "https://github.com/souravmanikandan/v1/blob/main/src/styles/GlobalStyle.js"
click node_fonts "https://github.com/souravmanikandan/v1/blob/main/src/styles/fonts.js"
click node_prism "https://github.com/souravmanikandan/v1/blob/main/src/styles/PrismStyles.js"

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_layout,node_navigation,node_menu,node_loader,node_footer,node_head toneBlue
class node_hero,node_about,node_jobs,node_featured,node_projects,node_contact toneAmber
class node_archive,node_pensieve,node_tags,node_post,node_tag,node_notfound toneMint
class node_gatsbyconfig,node_gatsbybuild,node_globalstyle,node_fonts,node_prism toneRose
class node_visitor toneIndigo
```

## Components

### Site shell

- [Home page](https://github.com/souravmanikandan/v1/blob/main/src/pages/index.js): `src/pages/index.js`
- [Layout](https://github.com/souravmanikandan/v1/blob/main/src/components/layout.js): `src/components/layout.js`
- [Navigation](https://github.com/souravmanikandan/v1/blob/main/src/components/nav.js): `src/components/nav.js`
- [Menu](https://github.com/souravmanikandan/v1/blob/main/src/components/menu.js): `src/components/menu.js`
- [Loader](https://github.com/souravmanikandan/v1/blob/main/src/components/loader.js): `src/components/loader.js`
- [Footer](https://github.com/souravmanikandan/v1/blob/main/src/components/footer.js): `src/components/footer.js`
- [Page metadata](https://github.com/souravmanikandan/v1/blob/main/src/components/head.js): `src/components/head.js`

### Portfolio content

- [Hero](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/hero.js): `src/components/sections/hero.js`
- [About](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/about.js): `src/components/sections/about.js`
- [Experience](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/jobs.js): `src/components/sections/jobs.js`
- [Featured work](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/featured.js): `src/components/sections/featured.js`
- [Projects](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/projects.js): `src/components/sections/projects.js`
- [Contact](https://github.com/souravmanikandan/v1/blob/main/src/components/sections/contact.js): `src/components/sections/contact.js`

### Writing pages

- [Project archive](https://github.com/souravmanikandan/v1/blob/main/src/pages/archive.js): `src/pages/archive.js`
- [Pensieve index](https://github.com/souravmanikandan/v1/blob/main/src/pages/pensieve/index.js): `src/pages/pensieve/index.js`
- [Tag index](https://github.com/souravmanikandan/v1/blob/main/src/pages/pensieve/tags.js): `src/pages/pensieve/tags.js`
- [Post template](https://github.com/souravmanikandan/v1/blob/main/src/templates/post.js): `src/templates/post.js`
- [Tag template](https://github.com/souravmanikandan/v1/blob/main/src/templates/tag.js): `src/templates/tag.js`
- [Not found](https://github.com/souravmanikandan/v1/blob/main/src/pages/404.js): `src/pages/404.js`

### Gatsby and styling

- [Gatsby configuration](https://github.com/souravmanikandan/v1/blob/main/gatsby-config.js): `gatsby-config.js`
- [Page generation](https://github.com/souravmanikandan/v1/blob/main/gatsby-node.js): `gatsby-node.js`
- [Global styles](https://github.com/souravmanikandan/v1/blob/main/src/styles/GlobalStyle.js): `src/styles/GlobalStyle.js`
- [Font faces](https://github.com/souravmanikandan/v1/blob/main/src/styles/fonts.js): `src/styles/fonts.js`
- [Code styling](https://github.com/souravmanikandan/v1/blob/main/src/styles/PrismStyles.js): `src/styles/PrismStyles.js`

### Other components

- **Visitor**

## Connections

- Gatsby configuration → Page generation: configures
- Visitor → Home page: visits
- Home page → Layout: renders
- Layout → Navigation: renders
- Navigation → Menu: renders (evidence: `src/components/nav.js`)
- Layout → Loader: renders
- Layout → Footer: renders
- Layout → Page metadata: renders
- Home page → Hero: renders
- Home page → About: renders
- Home page → Experience: renders
- Home page → Featured work: renders
- Home page → Projects: renders
- Home page → Contact: renders
- Visitor → Project archive: visits
- Visitor → Pensieve index: visits
- Pensieve index → Tag index: links to
- Pensieve index → Post template: opens
- Tag index → Tag template: opens
- Visitor → Not found: visits
- Gatsby configuration → Global styles: configures
- Global styles → Font faces: imports (evidence: `src/styles/GlobalStyle.js`)
- Global styles → Code styling: imports (evidence: `src/styles/GlobalStyle.js`)
