# jeyasurya23/portfolio architecture

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

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

## Overview

#### Purpose and Runtime
This is a Create React App single-page personal portfolio. It presents profile, education, skills, projects, certificates, blog, and contact content with responsive CSS and light/dark theming. The browser is the primary runtime; production output is static assets served from `public/index.html`.

#### Application Bootstrap
React mounts the application from `src/index.js`, applying global styles from `src/index.css`. `src/App.js` is the composition root: it owns top-level page structure, shared theme behavior, and arrangement of the portfolio sections. `src/App.css` provides application-level layout/theme styling.

#### Page Shell and Navigation
The navigation and footer form the persistent page boundary around content:
- `src/components/Navbar.js`
- `src/components/Navbar.css`
- `src/components/Footer.js`

Navbar navigation drives movement between or within portfolio content as implemented with React Router/navigation links. Theme switching is surfaced at this shell level and affects styles across sections.

#### Portfolio Content Sections
Independent presentational components define the primary content pipeline, rendered by the app shell:
- Biography/profile: `src/components/About.js`
- Education history: `src/components/Education.js`
- Skills inventory: `src/components/Skills.js`
- Project showcase: `src/components/Projects.js`
- Credentials and articles: `src/components/Certificate.js`, `src/components/Blog.js`

Each section owns its paired CSS, allowing section-specific responsive layout, animations, cards, and theme appearance without a backend content system.

#### Contact and External Integration
`src/components/Contact.js` provides the user-input boundary for direct communication. Per the README, it integrates EmailJS to submit contact emails from the client, making EmailJS the material external service and requiring client-side service/template configuration. `src/components/Contact.css` controls the form’s responsive visual state.

#### Assets and Delivery Boundary
Static HTML is defined in `public/index.html`; React bundles are injected at build time. Portfolio artifacts are kept under the component asset tree, including the downloadable CV at `src/components/assets/Jeyasurya-CV.pdf` and certificate media in `src/components/assets/certificate`. No server, database, API layer, or repository-managed deployment infrastructure is present.

Main entry points: [`src/App.js`](https://github.com/jeyasurya23/portfolio/blob/main/src/App.js) (App Shell), [`src/index.js`](https://github.com/jeyasurya23/portfolio/blob/main/src/index.js) (React Bootstrap), [`src/components/Navbar.js`](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Navbar.js) (Navigation), [`src/components/Projects.js`](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Projects.js) (Projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["React Application"]
  node_index["React Bootstrap<br/>entry module<br/>[index.js]"]
  node_global_css["Global Styles<br/>stylesheet<br/>[index.css]"]
  node_app_root["App Shell<br/>composition root<br/>[App.js]"]
  node_app_css["App Styles<br/>stylesheet<br/>[App.css]"]
  node_navbar["Navigation<br/>shell component<br/>[Navbar.js]"]
  node_footer["Footer<br/>shell component<br/>[Footer.js]"]
end

subgraph group_sections["Portfolio Sections"]
  node_about["About<br/>content section<br/>[About.js]"]
  node_education["Education<br/>content section<br/>[Education.js]"]
  node_skills["Skills<br/>content section<br/>[Skills.js]"]
  node_projects["Projects<br/>content section<br/>[Projects.js]"]
  node_credentials["Certificates &amp; Blog<br/>content sections<br/>[Certificate.js]"]
  node_blog["Blog<br/>content section<br/>[Blog.js]"]
  node_contact["Contact Form<br/>input boundary<br/>[Contact.js]"]
end

subgraph group_assets["Static Assets"]
  node_cv["Downloadable CV<br/>portfolio artifact<br/>[Jeyasurya-CV.pdf]"]
  node_certificate_media["Certificate Media<br/>portfolio artifacts"]
end

node_html["HTML Entry<br/>static document<br/>[index.html]"]
node_emailjs{{"EmailJS<br/>external email service"}}

node_html -->|"loads bundle"| node_index
node_index -->|"applies"| node_global_css
node_index -->|"mounts"| node_app_root
node_app_root -->|"uses"| node_app_css
node_app_root -->|"renders"| node_navbar
node_app_root -->|"renders"| node_footer
node_app_root -->|"renders"| node_about
node_app_root -->|"renders"| node_education
node_app_root -->|"renders"| node_skills
node_app_root -->|"renders"| node_projects
node_app_root -->|"renders"| node_credentials
node_app_root -->|"renders"| node_blog
node_app_root -->|"renders"| node_contact
node_navbar -.->|"navigates within"| node_app_root
node_navbar -.->|"switches theme"| node_app_css
node_contact -->|"submits email"| node_emailjs
node_projects -.->|"links artifact"| node_cv
node_credentials -->|"displays"| node_certificate_media

click node_html "https://github.com/jeyasurya23/portfolio/blob/main/public/index.html"
click node_index "https://github.com/jeyasurya23/portfolio/blob/main/src/index.js"
click node_global_css "https://github.com/jeyasurya23/portfolio/blob/main/src/index.css"
click node_app_root "https://github.com/jeyasurya23/portfolio/blob/main/src/App.js"
click node_app_css "https://github.com/jeyasurya23/portfolio/blob/main/src/App.css"
click node_navbar "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Navbar.js"
click node_footer "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Footer.js"
click node_about "https://github.com/jeyasurya23/portfolio/blob/main/src/components/About.js"
click node_education "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Education.js"
click node_skills "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Skills.js"
click node_projects "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Projects.js"
click node_credentials "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Certificate.js"
click node_blog "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Blog.js"
click node_contact "https://github.com/jeyasurya23/portfolio/blob/main/src/components/Contact.js"
click node_cv "https://github.com/jeyasurya23/portfolio/blob/main/src/components/assets/Jeyasurya-CV.pdf"
click node_certificate_media "https://github.com/jeyasurya23/portfolio/tree/main/src/components/assets/certificate"

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_index,node_global_css,node_app_root,node_app_css,node_navbar,node_footer toneBlue
class node_about,node_education,node_skills,node_projects,node_credentials,node_blog,node_contact toneAmber
class node_cv,node_certificate_media toneMint
class node_html,node_emailjs toneNeutral
```

## Components

### React Application

Browser-rendered single-page portfolio.

- [React Bootstrap](https://github.com/jeyasurya23/portfolio/blob/main/src/index.js): entry module · Mounts React and applies global styles. · `src/index.js`
- [Global Styles](https://github.com/jeyasurya23/portfolio/blob/main/src/index.css): stylesheet · `src/index.css`
- [App Shell](https://github.com/jeyasurya23/portfolio/blob/main/src/App.js): composition root · Composes page structure and shared theme behavior. · `src/App.js`
- [App Styles](https://github.com/jeyasurya23/portfolio/blob/main/src/App.css): stylesheet · Application layout and theme styling. · `src/App.css`
- [Navigation](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Navbar.js): shell component · Provides navigation links and theme switching. · `src/components/Navbar.js`
- [Footer](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Footer.js): shell component · `src/components/Footer.js`

### Portfolio Sections

- [About](https://github.com/jeyasurya23/portfolio/blob/main/src/components/About.js): content section · `src/components/About.js`
- [Education](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Education.js): content section · `src/components/Education.js`
- [Skills](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Skills.js): content section · `src/components/Skills.js`
- [Projects](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Projects.js): content section · `src/components/Projects.js`
- [Certificates & Blog](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Certificate.js): content sections · Credentials and article content. · `src/components/Certificate.js`
- [Blog](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Blog.js): content section · `src/components/Blog.js`
- [Contact Form](https://github.com/jeyasurya23/portfolio/blob/main/src/components/Contact.js): input boundary · Collects direct communication requests. · `src/components/Contact.js`

### Static Assets

- [Downloadable CV](https://github.com/jeyasurya23/portfolio/blob/main/src/components/assets/Jeyasurya-CV.pdf): portfolio artifact · `src/components/assets/Jeyasurya-CV.pdf`
- [Certificate Media](https://github.com/jeyasurya23/portfolio/tree/main/src/components/assets/certificate): portfolio artifacts · `src/components/assets/certificate`

### Other components

- [HTML Entry](https://github.com/jeyasurya23/portfolio/blob/main/public/index.html): static document · Production bundles are injected here. · `public/index.html`
- **EmailJS**: external email service · Receives client-side contact submissions.

## Connections

- HTML Entry → React Bootstrap: loads bundle
- React Bootstrap → Global Styles: applies
- React Bootstrap → App Shell: mounts
- App Shell → App Styles: uses
- App Shell → Navigation: renders
- App Shell → Footer: renders
- App Shell → About: renders
- App Shell → Education: renders
- App Shell → Skills: renders
- App Shell → Projects: renders
- App Shell → Certificates & Blog: renders
- App Shell → Blog: renders
- App Shell → Contact Form: renders
- Navigation → App Shell: navigates within
- Navigation → App Styles: switches theme
- Contact Form → EmailJS: submits email
- Projects → Downloadable CV: links artifact
- Certificates & Blog → Certificate Media: displays
