# pranjal02garg/sharp-planck architecture

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

- Interactive diagram: https://gitdiagram.com/pranjal02garg/sharp-planck
- Repository: https://github.com/pranjal02garg/sharp-planck

## Overview

This repository is a single-page personal portfolio built with Next.js. A visitor enters through the video-led hero and can browse the about, services, projects, and contact sections; project and contact links lead outward to external destinations. The shared layout supplies the page shell, while FadeIn and AnimatedText provide presentation behavior used by sections. The graph follows imports and references shown in the excerpts and SOURCE INDEX; other asset and component relationships are included only where the excerpts show them.

Main entry points: [`src/app/page.js`](https://github.com/pranjal02garg/sharp-planck/blob/master/src/app/page.js) (Home page), [`src/components/FadeIn.js`](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/FadeIn.js) (Fade-in animation), [`src/components/AboutSection.js`](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/AboutSection.js) (About section), [`src/components/ProjectsSection.js`](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ProjectsSection.js) (Projects section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio sections"]
  node_hero["Hero section<br/>[HeroSection.js]"]
  node_about["About section<br/>[AboutSection.js]"]
  node_services["Services section<br/>[ServicesSection.js]"]
  node_projects["Projects section<br/>[ProjectsSection.js]"]
  node_contact["Contact section<br/>[ContactSection.js]"]
  node_contactbutton["Contact button<br/>[ContactButton.js]"]
  node_projectbutton["Project link button"]
end

subgraph group_motion["Motion components"]
  node_fadein["Fade-in animation<br/>[FadeIn.js]"]
  node_animatedtext["Scroll text<br/>[AnimatedText.js]"]
end

subgraph group_shell["Page shell"]
  node_page["Home page<br/>[page.js]"]
  node_layout["Root layout<br/>[layout.js]"]
end

node_visitor(("Visitor"))
node_introvideo["Hero video<br/>[intro.mp4]"]
node_projectsites(("Project websites"))
node_contactchannels(("Contact channels"))

node_visitor -->|"opens"| node_page
node_page -->|"renders"| node_hero
node_page -->|"renders"| node_about
node_page -->|"renders"| node_services
node_page -->|"renders"| node_projects
node_page -->|"renders"| node_contact
node_page -.->|"uses shell"| node_layout
node_hero -->|"loads video"| node_introvideo
node_hero -->|"uses"| node_fadein
node_about -->|"uses"| node_fadein
node_about -->|"renders"| node_animatedtext
node_about -->|"renders"| node_contactbutton
node_services -->|"uses"| node_fadein
node_projects -->|"uses"| node_fadein
node_projects -->|"renders"| node_projectbutton
node_projects -->|"links projects"| node_projectsites
node_contact -->|"uses"| node_fadein
node_contact -->|"links channels"| node_contactchannels

click node_page "https://github.com/pranjal02garg/sharp-planck/blob/master/src/app/page.js"
click node_layout "https://github.com/pranjal02garg/sharp-planck/blob/master/src/app/layout.js"
click node_hero "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/HeroSection.js"
click node_about "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/AboutSection.js"
click node_services "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ServicesSection.js"
click node_projects "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ProjectsSection.js"
click node_contact "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ContactSection.js"
click node_fadein "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/FadeIn.js"
click node_animatedtext "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/AnimatedText.js"
click node_contactbutton "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ContactButton.js"
click node_projectbutton "https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/LiveProjectButton.js"
click node_introvideo "https://github.com/pranjal02garg/sharp-planck/blob/master/public/intro.mp4"

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_hero,node_about,node_services,node_projects,node_contact,node_contactbutton,node_projectbutton toneBlue
class node_fadein,node_animatedtext toneAmber
class node_page,node_layout toneMint
class node_visitor,node_projectsites,node_contactchannels toneIndigo
class node_introvideo toneTeal
```

## Components

### Portfolio sections

- [Hero section](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/HeroSection.js): `src/components/HeroSection.js`
- [About section](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/AboutSection.js): `src/components/AboutSection.js`
- [Services section](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ServicesSection.js): `src/components/ServicesSection.js`
- [Projects section](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ProjectsSection.js): `src/components/ProjectsSection.js`
- [Contact section](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ContactSection.js): `src/components/ContactSection.js`
- [Contact button](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/ContactButton.js): `src/components/ContactButton.js`
- [Project link button](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/LiveProjectButton.js): `src/components/LiveProjectButton.js`

### Motion components

- [Fade-in animation](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/FadeIn.js): `src/components/FadeIn.js`
- [Scroll text](https://github.com/pranjal02garg/sharp-planck/blob/master/src/components/AnimatedText.js): `src/components/AnimatedText.js`

### Page shell

- [Home page](https://github.com/pranjal02garg/sharp-planck/blob/master/src/app/page.js): `src/app/page.js`
- [Root layout](https://github.com/pranjal02garg/sharp-planck/blob/master/src/app/layout.js): `src/app/layout.js`

### Other components

- **Visitor**
- [Hero video](https://github.com/pranjal02garg/sharp-planck/blob/master/public/intro.mp4): `public/intro.mp4`
- **Project websites**
- **Contact channels**

## Connections

- Visitor → Home page: opens
- Home page → Hero section: renders (evidence: `src/app/page.js`)
- Home page → About section: renders (evidence: `src/app/page.js`)
- Home page → Services section: renders (evidence: `src/app/page.js`)
- Home page → Projects section: renders (evidence: `src/app/page.js`)
- Home page → Contact section: renders (evidence: `src/app/page.js`)
- Home page → Root layout: uses shell
- Hero section → Hero video: loads video (evidence: `src/components/HeroSection.js`)
- Hero section → Fade-in animation: uses (evidence: `src/components/HeroSection.js`)
- About section → Fade-in animation: uses (evidence: `src/components/AboutSection.js`)
- About section → Scroll text: renders (evidence: `src/components/AboutSection.js`)
- About section → Contact button: renders (evidence: `src/components/AboutSection.js`)
- Services section → Fade-in animation: uses (evidence: `src/components/ServicesSection.js`)
- Projects section → Fade-in animation: uses (evidence: `src/components/ProjectsSection.js`)
- Projects section → Project link button: renders (evidence: `src/components/ProjectsSection.js`)
- Projects section → Project websites: links projects (evidence: `src/components/ProjectsSection.js`)
- Contact section → Fade-in animation: uses (evidence: `src/components/ContactSection.js`)
- Contact section → Contact channels: links channels (evidence: `src/components/ContactSection.js`)
