# mihir-techie/dhinesh_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/mihir-techie/dhinesh_portfolio
- Repository: https://github.com/mihir-techie/dhinesh_portfolio

## Overview

This repository is a personal performance-marketing portfolio and lead-generation website. Visitors browse the landing page and supporting profile, services, work, testimonial, and blog pages, then can reach the contact page to send an enquiry through their email client or use listed contact channels. TanStack routing and a shared site shell support the pages; server-side error handling provides a fallback error response. The README is only a project title, so the capability map is based on sampled routes and the source index; unsampled route details are not assumed.

Main entry points: [`dhinesh-r-growth-hub-main/src/routeTree.gen.ts`](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routeTree.gen.ts) (Route registry), [`dhinesh-r-growth-hub-main/src/routes/__root.tsx`](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/__root.tsx) (Site navigation and footer), [`dhinesh-r-growth-hub-main/src/routes/contact.tsx`](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/contact.tsx) (Contact enquiry), [`dhinesh-r-growth-hub-main/src/server.ts`](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/server.ts) (Request handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Routing and server"]
  node_router["Router setup<br/>[router.tsx]"]
  node_route_tree["Route registry<br/>[routeTree.gen.ts]"]
  node_server["Request handler<br/>[server.ts]"]
  node_start["Start configuration<br/>[start.ts]"]
end

subgraph group_content["Portfolio content"]
  node_home["Home and highlights<br/>[index.tsx]"]
  node_about["About profile<br/>[about.tsx]"]
  node_services["Marketing services<br/>[services.tsx]"]
  node_work["Case studies<br/>[work.tsx]"]
  node_testimonials["Testimonials<br/>[testimonials.tsx]"]
  node_blog["Blog<br/>[blog.tsx]"]
  node_contact["Contact enquiry<br/>[contact.tsx]"]
  node_sitemap["XML sitemap<br/>[sitemap&#91;.&#93;xml.ts]"]
end

subgraph group_shell["Shared site shell"]
  node_shared_shell["Site navigation and footer<br/>[__root.tsx]"]
  node_header["Site header<br/>[SiteHeader.tsx]"]
  node_footer["Site footer<br/>[SiteFooter.tsx]"]
  node_floating_actions["Floating actions"]
end

subgraph group_errors["Error handling"]
  node_error_capture["Error capture<br/>[error-capture.ts]"]
  node_error_page["Fallback error page<br/>[error-page.ts]"]
  node_error_reporting["Browser error reporting"]
end

node_visitor(("Visitor"))
node_mail_client(("Email client"))

node_visitor -->|"navigates"| node_router
node_router -->|"configures routes"| node_route_tree
node_route_tree -->|"registers route"| node_home
node_route_tree -->|"registers route"| node_about
node_route_tree -->|"registers route"| node_services
node_route_tree -->|"registers route"| node_work
node_route_tree -->|"registers route"| node_testimonials
node_route_tree -->|"registers route"| node_blog
node_route_tree -->|"registers route"| node_contact
node_route_tree -->|"registers route"| node_sitemap
node_shared_shell -->|"renders"| node_header
node_shared_shell -->|"renders"| node_footer
node_shared_shell -->|"renders"| node_floating_actions
node_shared_shell -->|"reports errors"| node_error_reporting
node_server -->|"consumes captured error"| node_error_capture
node_server -->|"renders fallback"| node_error_page
node_services -->|"links to"| node_contact
node_contact -->|"opens email"| node_mail_client

click node_router "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/router.tsx"
click node_route_tree "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routeTree.gen.ts"
click node_server "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/server.ts"
click node_start "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/start.ts"
click node_home "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/index.tsx"
click node_about "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/about.tsx"
click node_services "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/services.tsx"
click node_work "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/work.tsx"
click node_testimonials "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/testimonials.tsx"
click node_blog "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/blog.tsx"
click node_contact "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/contact.tsx"
click node_sitemap "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/sitemap%5B.%5Dxml.ts"
click node_shared_shell "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/__root.tsx"
click node_header "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/SiteHeader.tsx"
click node_footer "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/SiteFooter.tsx"
click node_floating_actions "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/FloatingActions.tsx"
click node_error_capture "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/error-capture.ts"
click node_error_page "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/error-page.ts"
click node_error_reporting "https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/lovable-error-reporting.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_router,node_route_tree,node_server,node_start,node_mail_client toneBlue
class node_home,node_about,node_services,node_work,node_testimonials,node_blog,node_contact,node_sitemap toneAmber
class node_shared_shell,node_header,node_footer,node_floating_actions toneMint
class node_error_capture,node_error_page,node_error_reporting toneRose
class node_visitor toneIndigo
```

## Components

### Routing and server

- [Router setup](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/router.tsx): `dhinesh-r-growth-hub-main/src/router.tsx`
- [Route registry](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routeTree.gen.ts): `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`
- [Request handler](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/server.ts): `dhinesh-r-growth-hub-main/src/server.ts`
- [Start configuration](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/start.ts): `dhinesh-r-growth-hub-main/src/start.ts`

### Portfolio content

- [Home and highlights](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/index.tsx): `dhinesh-r-growth-hub-main/src/routes/index.tsx`
- [About profile](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/about.tsx): `dhinesh-r-growth-hub-main/src/routes/about.tsx`
- [Marketing services](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/services.tsx): `dhinesh-r-growth-hub-main/src/routes/services.tsx`
- [Case studies](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/work.tsx): `dhinesh-r-growth-hub-main/src/routes/work.tsx`
- [Testimonials](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/testimonials.tsx): `dhinesh-r-growth-hub-main/src/routes/testimonials.tsx`
- [Blog](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/blog.tsx): `dhinesh-r-growth-hub-main/src/routes/blog.tsx`
- [Contact enquiry](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/contact.tsx): `dhinesh-r-growth-hub-main/src/routes/contact.tsx`
- [XML sitemap](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/sitemap%5B.%5Dxml.ts): `dhinesh-r-growth-hub-main/src/routes/sitemap[.]xml.ts`

### Shared site shell

- [Site navigation and footer](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/routes/__root.tsx): `dhinesh-r-growth-hub-main/src/routes/__root.tsx`
- [Site header](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/SiteHeader.tsx): `dhinesh-r-growth-hub-main/src/components/site/SiteHeader.tsx`
- [Site footer](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/SiteFooter.tsx): `dhinesh-r-growth-hub-main/src/components/site/SiteFooter.tsx`
- [Floating actions](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/components/site/FloatingActions.tsx): `dhinesh-r-growth-hub-main/src/components/site/FloatingActions.tsx`

### Error handling

- [Error capture](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/error-capture.ts): `dhinesh-r-growth-hub-main/src/lib/error-capture.ts`
- [Fallback error page](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/error-page.ts): `dhinesh-r-growth-hub-main/src/lib/error-page.ts`
- [Browser error reporting](https://github.com/mihir-techie/dhinesh_portfolio/blob/main/dhinesh-r-growth-hub-main/src/lib/lovable-error-reporting.ts): `dhinesh-r-growth-hub-main/src/lib/lovable-error-reporting.ts`

### Other components

- **Visitor**
- **Email client**

## Connections

- Visitor → Router setup: navigates
- Router setup → Route registry: configures routes (evidence: `dhinesh-r-growth-hub-main/src/router.tsx`)
- Route registry → Home and highlights: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → About profile: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → Marketing services: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → Case studies: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → Testimonials: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → Blog: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → Contact enquiry: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Route registry → XML sitemap: registers route (evidence: `dhinesh-r-growth-hub-main/src/routeTree.gen.ts`)
- Site navigation and footer → Site header: renders (evidence: `dhinesh-r-growth-hub-main/src/routes/__root.tsx`)
- Site navigation and footer → Site footer: renders (evidence: `dhinesh-r-growth-hub-main/src/routes/__root.tsx`)
- Site navigation and footer → Floating actions: renders (evidence: `dhinesh-r-growth-hub-main/src/routes/__root.tsx`)
- Site navigation and footer → Browser error reporting: reports errors (evidence: `dhinesh-r-growth-hub-main/src/routes/__root.tsx`)
- Request handler → Error capture: consumes captured error (evidence: `dhinesh-r-growth-hub-main/src/server.ts`)
- Request handler → Fallback error page: renders fallback (evidence: `dhinesh-r-growth-hub-main/src/server.ts`)
- Marketing services → Contact enquiry: links to (evidence: `dhinesh-r-growth-hub-main/src/routes/services.tsx`)
- Contact enquiry → Email client: opens email (evidence: `dhinesh-r-growth-hub-main/src/routes/contact.tsx`)
