# codeygodd/bishwas-new-port architecture

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

- Interactive diagram: https://gitdiagram.com/codeygodd/bishwas-new-port
- Repository: https://github.com/codeygodd/bishwas-new-port

## Overview

This is a Next.js personal portfolio site. A visitor enters through the home page, navigates portfolio sections, reviews projects and credentials, and can submit a contact form through EmailJS. The graph preserves the homepage’s documented component composition and the additional services and certifications sections present in the tree. UI primitives are grouped as an internal layer; sampled imports support the relationships shown. Several components were not sampled, so their internals and any unsampled links are omitted.

Main entry points: [`app/page.tsx`](https://github.com/codeygodd/bishwas-new-port/blob/main/app/page.tsx) (Home page), [`components/ui/sidebar.tsx`](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/sidebar.tsx) (Sidebar), [`components/contact-section.tsx`](https://github.com/codeygodd/bishwas-new-port/blob/main/components/contact-section.tsx) (Contact form), [`components/navbar.tsx`](https://github.com/codeygodd/bishwas-new-port/blob/main/components/navbar.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_home["Home page<br/>[page.tsx]"]
  node_root_layout["Root layout<br/>[layout.tsx]"]
  node_client_layout["Client layout<br/>[ClientLayout.tsx]"]
  node_navbar["Navigation<br/>[navbar.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_hero["Hero<br/>[hero-section.tsx]"]
  node_about["About<br/>[about-section.tsx]"]
  node_skills["Skills<br/>[skills-section.tsx]"]
  node_projects["Projects"]
  node_experience["Experience"]
  node_certificates["Certificates"]
  node_certifications["Certifications"]
  node_services["Services"]
end

subgraph group_engagement["Visitor interaction"]
  node_contact["Contact form"]
  node_back_to_top["Back to top<br/>[back-to-top.tsx]"]
end

subgraph group_ui["UI primitives"]
  node_button["Button primitive<br/>[button.tsx]"]
  node_card["Card primitive<br/>[card.tsx]"]
  node_input["Input primitive<br/>[input.tsx]"]
  node_ui_toolkit["UI components"]
  node_sidebar["Sidebar<br/>[sidebar.tsx]"]
  node_sheet["Sheet<br/>[sheet.tsx]"]
  node_tooltip["Tooltip<br/>[tooltip.tsx]"]
  node_mobile_hook["Mobile hook<br/>[use-mobile.ts]"]
  node_toast["Toast<br/>[toast.tsx]"]
  node_toast_hook["Toast hook<br/>[use-toast.ts]"]
end

node_visitor(("Visitor"))
node_emailjs{{"EmailJS service"}}

node_visitor -->|"opens"| node_home
node_root_layout -->|"renders"| node_client_layout
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_certificates
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_back_to_top
node_navbar -->|"uses"| node_button
node_projects -->|"uses"| node_card
node_contact -->|"uses"| node_input
node_contact -->|"sends message"| node_emailjs
node_back_to_top -->|"uses"| node_button
node_services -->|"uses"| node_card
node_sidebar -->|"checks viewport"| node_mobile_hook
node_sidebar -->|"renders on mobile"| node_sheet
node_sidebar -->|"uses"| node_tooltip
node_toast_hook -->|"uses"| node_toast

click node_home "https://github.com/codeygodd/bishwas-new-port/blob/main/app/page.tsx"
click node_root_layout "https://github.com/codeygodd/bishwas-new-port/blob/main/app/layout.tsx"
click node_client_layout "https://github.com/codeygodd/bishwas-new-port/blob/main/app/ClientLayout.tsx"
click node_navbar "https://github.com/codeygodd/bishwas-new-port/blob/main/components/navbar.tsx"
click node_hero "https://github.com/codeygodd/bishwas-new-port/blob/main/components/hero-section.tsx"
click node_about "https://github.com/codeygodd/bishwas-new-port/blob/main/components/about-section.tsx"
click node_skills "https://github.com/codeygodd/bishwas-new-port/blob/main/components/skills-section.tsx"
click node_projects "https://github.com/codeygodd/bishwas-new-port/blob/main/components/projects-section.tsx"
click node_experience "https://github.com/codeygodd/bishwas-new-port/blob/main/components/experience-section.tsx"
click node_certificates "https://github.com/codeygodd/bishwas-new-port/blob/main/components/certificates-section.tsx"
click node_certifications "https://github.com/codeygodd/bishwas-new-port/blob/main/components/certifications-section.tsx"
click node_services "https://github.com/codeygodd/bishwas-new-port/blob/main/components/services-section.tsx"
click node_contact "https://github.com/codeygodd/bishwas-new-port/blob/main/components/contact-section.tsx"
click node_footer "https://github.com/codeygodd/bishwas-new-port/blob/main/components/footer.tsx"
click node_back_to_top "https://github.com/codeygodd/bishwas-new-port/blob/main/components/back-to-top.tsx"
click node_button "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/button.tsx"
click node_card "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/card.tsx"
click node_input "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/input.tsx"
click node_ui_toolkit "https://github.com/codeygodd/bishwas-new-port/tree/main/components/ui"
click node_sidebar "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/sidebar.tsx"
click node_sheet "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/sheet.tsx"
click node_tooltip "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/tooltip.tsx"
click node_mobile_hook "https://github.com/codeygodd/bishwas-new-port/blob/main/hooks/use-mobile.ts"
click node_toast "https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/toast.tsx"
click node_toast_hook "https://github.com/codeygodd/bishwas-new-port/blob/main/hooks/use-toast.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_root_layout,node_client_layout,node_navbar,node_footer toneBlue
class node_hero,node_about,node_skills,node_projects,node_experience,node_certificates,node_certifications,node_services toneAmber
class node_contact,node_back_to_top toneMint
class node_button,node_card,node_input,node_ui_toolkit,node_sidebar,node_sheet,node_tooltip,node_mobile_hook,node_toast,node_toast_hook toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### Site shell

- [Home page](https://github.com/codeygodd/bishwas-new-port/blob/main/app/page.tsx): `app/page.tsx`
- [Root layout](https://github.com/codeygodd/bishwas-new-port/blob/main/app/layout.tsx): `app/layout.tsx`
- [Client layout](https://github.com/codeygodd/bishwas-new-port/blob/main/app/ClientLayout.tsx): `app/ClientLayout.tsx`
- [Navigation](https://github.com/codeygodd/bishwas-new-port/blob/main/components/navbar.tsx): `components/navbar.tsx`
- [Footer](https://github.com/codeygodd/bishwas-new-port/blob/main/components/footer.tsx): `components/footer.tsx`

### Portfolio content

- [Hero](https://github.com/codeygodd/bishwas-new-port/blob/main/components/hero-section.tsx): `components/hero-section.tsx`
- [About](https://github.com/codeygodd/bishwas-new-port/blob/main/components/about-section.tsx): `components/about-section.tsx`
- [Skills](https://github.com/codeygodd/bishwas-new-port/blob/main/components/skills-section.tsx): `components/skills-section.tsx`
- [Projects](https://github.com/codeygodd/bishwas-new-port/blob/main/components/projects-section.tsx): `components/projects-section.tsx`
- [Experience](https://github.com/codeygodd/bishwas-new-port/blob/main/components/experience-section.tsx): `components/experience-section.tsx`
- [Certificates](https://github.com/codeygodd/bishwas-new-port/blob/main/components/certificates-section.tsx): `components/certificates-section.tsx`
- [Certifications](https://github.com/codeygodd/bishwas-new-port/blob/main/components/certifications-section.tsx): `components/certifications-section.tsx`
- [Services](https://github.com/codeygodd/bishwas-new-port/blob/main/components/services-section.tsx): `components/services-section.tsx`

### Visitor interaction

- [Contact form](https://github.com/codeygodd/bishwas-new-port/blob/main/components/contact-section.tsx): `components/contact-section.tsx`
- [Back to top](https://github.com/codeygodd/bishwas-new-port/blob/main/components/back-to-top.tsx): `components/back-to-top.tsx`

### UI primitives

- [Button primitive](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/button.tsx): `components/ui/button.tsx`
- [Card primitive](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/card.tsx): `components/ui/card.tsx`
- [Input primitive](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/input.tsx): `components/ui/input.tsx`
- [UI components](https://github.com/codeygodd/bishwas-new-port/tree/main/components/ui): `components/ui`
- [Sidebar](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/sidebar.tsx): `components/ui/sidebar.tsx`
- [Sheet](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/sheet.tsx): `components/ui/sheet.tsx`
- [Tooltip](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/tooltip.tsx): `components/ui/tooltip.tsx`
- [Mobile hook](https://github.com/codeygodd/bishwas-new-port/blob/main/hooks/use-mobile.ts): `hooks/use-mobile.ts`
- [Toast](https://github.com/codeygodd/bishwas-new-port/blob/main/components/ui/toast.tsx): `components/ui/toast.tsx`
- [Toast hook](https://github.com/codeygodd/bishwas-new-port/blob/main/hooks/use-toast.ts): `hooks/use-toast.ts`

### Other components

- **Visitor**
- **EmailJS service**

## Connections

- Visitor → Home page: opens (evidence: `app/page.tsx`)
- Root layout → Client layout: renders (evidence: `app/layout.tsx`)
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero: renders (evidence: `app/page.tsx`)
- Home page → About: renders (evidence: `app/page.tsx`)
- Home page → Skills: renders (evidence: `app/page.tsx`)
- Home page → Projects: renders (evidence: `app/page.tsx`)
- Home page → Experience: renders (evidence: `app/page.tsx`)
- Home page → Certificates: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Home page → Back to top: renders (evidence: `app/page.tsx`)
- Navigation → Button primitive: uses (evidence: `components/navbar.tsx`)
- Projects → Card primitive: uses (evidence: `components/projects-section.tsx`)
- Contact form → Input primitive: uses (evidence: `components/contact-section.tsx`)
- Contact form → EmailJS service: sends message (evidence: `components/contact-section.tsx`)
- Back to top → Button primitive: uses (evidence: `components/back-to-top.tsx`)
- Services → Card primitive: uses (evidence: `components/services-section.tsx`)
- Sidebar → Mobile hook: checks viewport (evidence: `components/ui/sidebar.tsx`)
- Sidebar → Sheet: renders on mobile (evidence: `components/ui/sidebar.tsx`)
- Sidebar → Tooltip: uses (evidence: `components/ui/sidebar.tsx`)
- Toast hook → Toast: uses (evidence: `hooks/use-toast.ts`)
