An open API service indexing awesome lists of open source software.

https://github.com/rajtilak-2020/portfolio-v4

This is my personal developer portfolio built with Next.js 14, Tailwind CSS, ShadCN/UI, and MDX. It showcases my projects, skills, blogs, and more.
https://github.com/rajtilak-2020/portfolio-v4

css3 html5 javascript magicui mdx mit-license nextjs nextjs14 nodejs open-source portfolio react shadcn-ui tailwindcss typescript vercel webdevelopment websocket

Last synced: 4 days ago
JSON representation

This is my personal developer portfolio built with Next.js 14, Tailwind CSS, ShadCN/UI, and MDX. It showcases my projects, skills, blogs, and more.

Awesome Lists containing this project

README

          



![Portfolio Banner](https://github.com/user-attachments/assets/ef338a9b-c22b-4961-9040-20cea83b6a28)

**A cutting-edge, high-performance portfolio showcasing modern web development excellence**

[![Website](https://img.shields.io/badge/๐ŸŒ%20Live%20Website-krajtilak.dev-blue?style=for-the-badge&logo=vercel)](https://krajtilak.vercel.app)
[![Next.js](https://img.shields.io/badge/Next.js-14-black?style=for-the-badge&logo=next.js&logoColor=white)](https://nextjs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.0-3178C6?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
[![Tailwind CSS](https://img.shields.io/badge/Tailwind%20CSS-3.0-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)](https://tailwindcss.com/)

[![Build Status](https://img.shields.io/github/actions/workflow/status/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/codeql.yml?style=flat-square&logo=github-actions&logoColor=white)](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/actions)
[![License](https://img.shields.io/badge/License-MIT-green?style=flat-square)](./LICENSE)
[![Stars](https://img.shields.io/github/stars/rajtilak-2020/K-Rajtilak_s-Portfolio-V4?style=flat-square&logo=github)](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/stargazers)
[![Forks](https://img.shields.io/github/forks/rajtilak-2020/K-Rajtilak_s-Portfolio-V4?style=flat-square&logo=github)](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/network)

---

## ๐ŸŽฏ Overview

> **A modern, performant, and visually stunning portfolio website that represents the pinnacle of contemporary web development.**

This is the **fourth iteration** of my personal portfolio, built from the ground up with modern web technologies and best practices. It showcases my journey as a developer through an elegant, responsive, and highly optimized user experience.

### ๐ŸŒŸ What Makes This Special

- ๐ŸŽจ **Modern Design Language** - Clean, minimal, and accessible design with smooth animations
- โšก **Lightning Fast** - Optimized for Core Web Vitals with 95+ Lighthouse scores
- ๐Ÿ“ฑ **Fully Responsive** - Seamless experience across all devices and screen sizes
- ๐ŸŒ™ **Smart Theming** - Intelligent dark/light mode with system preference detection
- ๐Ÿ“ **Dynamic Content** - MDX-powered blog with syntax highlighting and interactive elements
- ๐Ÿ” **SEO Optimized** - Complete meta tags, structured data, and social sharing

![Repository Analytics](https://repobeats.axiom.co/api/embed/f3794f44c2ba376464498ace2aee16211f6ced4a.svg)

## โœจ Key Features

๐ŸŽจ User Experience Features

- **Immersive Hero Section** with animated text and dynamic backgrounds
- **Interactive Navigation** with smooth scrolling and active section highlighting
- **Project Showcase** with live previews, GitHub integration, and detailed case studies
- **Skills Visualization** with animated progress bars and technology icons
- **Contact Integration** with social links and direct messaging capabilities
- **Blog System** with category filtering, search, and reading time estimates

โšก Performance Features

- **Code Splitting** - Automatic route-based and component-based splitting
- **Image Optimization** - Next.js Image component with WebP/AVIF support
- **Lazy Loading** - Progressive content loading for improved initial load times
- **Bundle Analysis** - Optimized bundle sizes with tree-shaking
- **Caching Strategy** - Strategic caching with Vercel Edge Network
- **Core Web Vitals** - Optimized for Google's performance metrics

๐Ÿ”ง Developer Features

- **TypeScript Integration** - Full type safety with strict configuration
- **Component Library** - Reusable UI components with ShadCN/UI
- **Animation System** - Magic UI and Framer Motion for smooth interactions
- **Content Management** - MDX support for rich content creation
- **Development Tools** - ESLint, Prettier, and comprehensive testing setup
- **CI/CD Pipeline** - Automated testing, building, and deployment

## ๐Ÿ—๏ธ System Architecture

```mermaid
graph TB
subgraph "Client Layer"
A[๐ŸŒ Browser] --> B[โšก Next.js App Router]
B --> C[๐ŸŽจ React Components]
C --> D[๐Ÿ’ซ Magic UI Animations]
D --> E[๐ŸŽญ ShadCN/UI Components]
end

subgraph "Application Core"
B --> F[๐Ÿ“ฑ Page Components]
F --> G[๐Ÿงฉ Reusable Components]
G --> H[๐Ÿ“Š Data Layer]
H --> I[๐Ÿ”„ State Management]
I --> J[๐ŸŽฏ Business Logic]
end

subgraph "Content Management"
K[๐Ÿ“ MDX Content] --> L[๐Ÿ” Content Parser]
L --> M[โœจ Syntax Highlighter]
M --> N[๐Ÿ“– Blog System]
N --> F
end

subgraph "Styling System"
O[๐ŸŽจ Tailwind CSS] --> P[๐ŸŒ™ Theme Provider]
P --> Q[๐Ÿ’ก Design Tokens]
Q --> R[๐Ÿ“ Responsive Utilities]
R --> E
end

subgraph "Build & Optimization"
S[โš™๏ธ Next.js Compiler] --> T[๐Ÿ“ฆ Webpack Bundle]
T --> U[๐Ÿ—œ๏ธ Code Splitting]
U --> V[๐Ÿ–ผ๏ธ Image Optimization]
V --> W[๐Ÿ’จ Static Generation]
end

subgraph "Deployment & CDN"
W --> X[๐Ÿš€ Vercel Platform]
X --> Y[๐ŸŒ Edge Network]
Y --> Z[๐Ÿ“ˆ Analytics & Monitoring]
Z --> A
end

subgraph "External Integrations"
AA[๐Ÿ“ง Email Service] --> F
BB[๐Ÿ™ GitHub API] --> H
CC[๐Ÿ“Š Analytics APIs] --> Z
DD[๐ŸŽฏ SEO Tools] --> B
end

classDef clientLayer fill:#e1f5fe,stroke:#0288d1,stroke-width:2px,color:#01579b
classDef appCore fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#4a148c
classDef content fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#1b5e20
classDef styling fill:#fff3e0,stroke:#f57c00,stroke-width:2px,color:#e65100
classDef build fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#880e4f
classDef deploy fill:#f1f8e9,stroke:#689f38,stroke-width:2px,color:#33691e
classDef external fill:#f5f5f5,stroke:#616161,stroke-width:2px,color:#212121

class A,B,C,D,E clientLayer
class F,G,H,I,J appCore
class K,L,M,N content
class O,P,Q,R styling
class S,T,U,V,W build
class X,Y,Z deploy
class AA,BB,CC,DD external
```

### ๐Ÿ”„ Data Flow Architecture

```mermaid
sequenceDiagram
participant User as ๐Ÿ‘ค User
participant Browser as ๐ŸŒ Browser
participant NextJS as โšก Next.js
participant Components as ๐Ÿงฉ Components
participant Data as ๐Ÿ“Š Data Layer
participant CMS as ๐Ÿ“ Content
participant CDN as ๐ŸŒ Vercel CDN

User->>Browser: Visit Portfolio
Browser->>NextJS: Request Page
NextJS->>Data: Fetch Static Data
NextJS->>CMS: Parse MDX Content
NextJS->>Components: Hydrate Components
Components->>Browser: Render UI
Browser->>CDN: Load Assets
CDN->>Browser: Optimized Assets
Browser->>User: Display Portfolio

Note over User,CDN: Lightning Fast Experience โšก
```

## ๐Ÿ”ง Technology Stack

### ๐ŸŽฏ Core Technologies

| Technology | Version | Purpose | Performance Impact |
|------------|---------|---------|-------------------|
| **Next.js** | 14.x | React Framework | App Router, SSG, Image Optimization |
| **TypeScript** | 5.x | Type Safety | Development Experience, Runtime Safety |
| **Tailwind CSS** | 3.x | Styling Framework | Utility-First, Minimal CSS Bundle |
| **ShadCN/UI** | Latest | Component Library | Consistent Design System |
| **Magic UI** | Latest | Animations | Smooth UX Interactions |

### ๐Ÿ› ๏ธ Development Tools

| Tool | Purpose | Benefits |
|------|---------|----------|
| **PNPM** | Package Manager | Faster installs, Disk efficiency |
| **ESLint** | Code Linting | Code quality, Best practices |
| **Prettier** | Code Formatting | Consistent code style |
| **Husky** | Git Hooks | Pre-commit validation |

### ๐Ÿš€ Deployment & Performance

| Service | Purpose | Impact |
|---------|---------|---------|
| **Vercel** | Hosting Platform | Edge deployment, Analytics |
| **Vercel Edge Network** | CDN | Global performance |
| **Next.js Analytics** | Performance Monitoring | Real user metrics |

## ๐Ÿš€ Quick Start

### Prerequisites

```bash
# Required versions
Node.js >= 18.0.0
PNPM >= 8.0.0 (recommended)
Git >= 2.0.0
```

### One-Command Setup

```bash
# Clone and setup in one go
npx create-next-app@latest my-portfolio --example https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4
cd my-portfolio && pnpm dev
```

### Manual Setup

๐Ÿ“‹ Step-by-step installation

```bash
# 1๏ธโƒฃ Clone the repository
git clone https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4.git
cd K-Rajtilak_s-Portfolio-V4

# 2๏ธโƒฃ Install dependencies (PNPM recommended)
pnpm install
# or npm install

# 3๏ธโƒฃ Create environment file
cp .env.example .env.local

# 4๏ธโƒฃ Start development server
pnpm dev

# 5๏ธโƒฃ Open in browser
# Navigate to http://localhost:3000
```

### ๐Ÿ“‹ Available Scripts

```bash
# Development
pnpm dev # Start dev server with hot reload
pnpm dev:turbo # Start dev server with Turbopack

# Building
pnpm build # Production build
pnpm start # Start production server
pnpm export # Static export

# Code Quality
pnpm lint # Run ESLint
pnpm lint:fix # Fix linting issues
pnpm type-check # TypeScript type checking
pnpm format # Format code with Prettier

# Testing
pnpm test # Run unit tests
pnpm test:watch # Watch mode testing
pnpm test:e2e # End-to-end testing

# Analysis
pnpm analyze # Bundle size analysis
pnpm lighthouse # Performance audit
```

## ๐Ÿ“‚ Project Structure

```mermaid
graph TD
subgraph "๐Ÿ“ Root Directory"
A[๐Ÿ  K-Rajtilak-Portfolio-V4]
end

subgraph "๐Ÿ“‹ Configuration"
A --> B1[โš™๏ธ next.config.mjs]
A --> B2[๐ŸŽจ tailwind.config.ts]
A --> B3[๐Ÿ“ฆ package.json]
A --> B4[๐Ÿ”ง tsconfig.json]
A --> B5[๐Ÿ“ .env.example]
end

subgraph "๐Ÿ“ Source Code"
A --> C[๐Ÿ’ป src/]
C --> C1[๐Ÿ“ฑ app/]
C --> C2[๐Ÿงฉ components/]
C --> C3[๐Ÿ“Š data/]
C --> C4[๐Ÿ”ง lib/]
C --> C5[๐ŸŽจ styles/]
end

subgraph "๐Ÿ“ฑ App Router"
C1 --> D1[๐Ÿ“„ layout.tsx]
C1 --> D2[๐Ÿ  page.tsx]
C1 --> D3[๐Ÿ“ blog/]
C1 --> D4[๐Ÿ‘ค about/]
C1 --> D5[๐Ÿ’ผ projects/]
D3 --> D3a[๐Ÿ“„ slug/page.tsx]
end

subgraph "๐Ÿงฉ Components"
C2 --> E1[โœจ magic-ui/]
C2 --> E2[๐ŸŽญ ui/]
C2 --> E3[๐Ÿ“ฑ sections/]
C2 --> E4[๐Ÿ—‚๏ธ layout/]

E1 --> E1a[๐Ÿ’ซ blur-fade.tsx]
E1 --> E1b[๐Ÿšข dock.tsx]
E1 --> E1c[๐Ÿ“ animated-text.tsx]

E2 --> E2a[๐Ÿ”˜ button.tsx]
E2 --> E2b[๐Ÿ’ณ card.tsx]
E2 --> E2c[๐Ÿ‘ค avatar.tsx]

E3 --> E3a[๐ŸŽฏ hero.tsx]
E3 --> E3b[๐Ÿ’ผ projects.tsx]
E3 --> E3c[๐Ÿ› ๏ธ skills.tsx]

E4 --> E4a[๐Ÿ“ navbar.tsx]
E4 --> E4b[๐Ÿ‘ฃ footer.tsx]
end

subgraph "๐Ÿ“Š Data Layer"
C3 --> F1[๐Ÿ“ blog.ts]
C3 --> F2[๐Ÿ’ผ projects.ts]
C3 --> F3[๐Ÿ“„ resume.ts]
C3 --> F4[๐Ÿ› ๏ธ skills.ts]
end

subgraph "๐Ÿ“ Content & Assets"
A --> G[๐Ÿ“„ content/]
A --> H[๐ŸŒ public/]

G --> G1[๐Ÿ“ blog/]
G --> G2[๐Ÿ’ผ projects/]
G1 --> G1a[๐Ÿ“„ *.mdx files]

H --> H1[๐Ÿ–ผ๏ธ images/]
H --> H2[๐ŸŽจ icons/]
H --> H3[๐Ÿ“„ favicon/]
end

classDef config fill:#fff3e0,stroke:#f57c00,stroke-width:2px,color:#e65100
classDef source fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#1b5e20
classDef app fill:#e1f5fe,stroke:#0288d1,stroke-width:2px,color:#01579b
classDef components fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#4a148c
classDef data fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#880e4f
classDef content fill:#f1f8e9,stroke:#689f38,stroke-width:2px,color:#33691e

class B1,B2,B3,B4,B5 config
class C,C1,C2,C3,C4,C5 source
class D1,D2,D3,D4,D5,D3a app
class E1,E2,E3,E4,E1a,E1b,E1c,E2a,E2b,E2c,E3a,E3b,E3c,E4a,E4b components
class F1,F2,F3,F4 data
class G,H,G1,G2,G1a,H1,H2,H3 content
```

### ๐Ÿ“‹ Directory Details
```
K-Rajtilak-Portfolio-V4/
โ”œโ”€โ”€ ๐Ÿ“ src/
โ”‚ โ”œโ”€โ”€ ๐Ÿ“ฑ app/ # Next.js App Router
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ layout.tsx # Root layout component
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ  page.tsx # Homepage
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ blog/ # Blog pages
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ page.tsx # Blog listing
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ [slug]/ # Individual blog posts
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ‘ค about/ # About page
โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ’ผ projects/ # Projects showcase
โ”‚ โ”‚
โ”‚ โ”œโ”€โ”€ ๐Ÿงฉ components/ # Reusable components
โ”‚ โ”‚ โ”œโ”€โ”€ โœจ magic-ui/ # Magic UI components
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ’ซ blur-fade.tsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿšข dock.tsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“ animated-text.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ ๐ŸŽญ ui/ # ShadCN UI components
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ”˜ button.tsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ’ณ card.tsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ‘ค avatar.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ฑ sections/ # Page sections
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐ŸŽฏ hero.tsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ’ผ projects.tsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ› ๏ธ skills.tsx
โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ—‚๏ธ layout/ # Layout components
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ navbar.tsx
โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ‘ฃ footer.tsx
โ”‚ โ”‚
โ”‚ โ”œโ”€โ”€ ๐Ÿ“Š data/ # Static data
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ blog.ts # Blog metadata
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ’ผ projects.ts # Project data
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ resume.ts # Resume information
โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ› ๏ธ skills.ts # Skills data
โ”‚ โ”‚
โ”‚ โ”œโ”€โ”€ ๐Ÿ”ง lib/ # Utility functions
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ› ๏ธ utils.ts # Helper utilities
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ mdx.ts # MDX processing
โ”‚ โ”‚ โ””โ”€โ”€ ๐ŸŽจ fonts.ts # Font configurations
โ”‚ โ”‚
โ”‚ โ””โ”€โ”€ ๐ŸŽจ styles/ # Global styles
โ”‚ โ””โ”€โ”€ ๐ŸŒ globals.css # Global CSS
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ content/ # MDX content
โ”‚ โ”œโ”€โ”€ ๐Ÿ“ blog/ # Blog posts
โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ first-post.mdx
โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ second-post.mdx
โ”‚ โ””โ”€โ”€ ๐Ÿ’ผ projects/ # Project documentation
โ”‚
โ”œโ”€โ”€ ๐ŸŒ public/ # Static assets
โ”‚ โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ images/ # Images
โ”‚ โ”œโ”€โ”€ ๐ŸŽจ icons/ # Icons and favicons
โ”‚ โ””โ”€โ”€ ๐Ÿ“„ resume.pdf # Resume file
โ”‚
โ””โ”€โ”€ โš™๏ธ Configuration Files
โ”œโ”€โ”€ ๐Ÿ“ฆ package.json # Dependencies
โ”œโ”€โ”€ โš™๏ธ next.config.mjs # Next.js config
โ”œโ”€โ”€ ๐ŸŽจ tailwind.config.ts # Tailwind config
โ”œโ”€โ”€ ๐Ÿ”ง tsconfig.json # TypeScript config
โ””โ”€โ”€ ๐Ÿ“ .env.example # Environment template
```

## ๐ŸŽจ Design System

### ๐ŸŽฏ Design Principles

- **Minimalism** - Clean, uncluttered interfaces with purposeful whitespace
- **Consistency** - Unified design language across all components
- **Accessibility** - WCAG 2.1 AA compliant with proper contrast ratios
- **Performance** - Optimized for fast loading and smooth interactions

### ๐ŸŒˆ Color Palette

```css
/* Primary Colors */
--primary: 220 90% 56%; /* Blue */
--primary-foreground: 220 90% 98%;

/* Secondary Colors */
--secondary: 220 14.3% 95.9%; /* Light Gray */
--secondary-foreground: 220 8.9% 46.1%;

/* Accent Colors */
--accent: 220 14.3% 95.9%; /* Accent Blue */
--accent-foreground: 220 8.9% 46.1%;

/* Status Colors */
--destructive: 0 62.8% 30.6%; /* Red for errors */
--success: 142 76% 36%; /* Green for success */
--warning: 38 92% 50%; /* Orange for warnings */
```

### ๐Ÿ“ Typography Scale

| Size | Usage | Font Weight |
|------|-------|------------|
| `text-4xl` | Headings | 700 (Bold) |
| `text-2xl` | Subheadings | 600 (Semi-bold) |
| `text-lg` | Body Large | 500 (Medium) |
| `text-base` | Body Text | 400 (Regular) |
| `text-sm` | Caption | 400 (Regular) |

## ๐Ÿ“ฑ Screenshots

### ๐ŸŒ™ Dark Mode Experience
![Dark Mode Hero](https://github.com/user-attachments/assets/3cb7efe8-d998-43ac-a584-d2d9fb92dba1)

### โ˜€๏ธ Light Mode Experience
![Light Mode Hero](https://github.com/user-attachments/assets/bad2efa4-2d82-4823-9f81-1fdd36be8aa4)

### ๐Ÿ“ฑ Mobile Responsiveness

๐Ÿ“ฑ Mobile
๐Ÿ’ป Tablet
๐Ÿ–ฅ๏ธ Desktop



## โšก Performance

### ๐Ÿ† Lighthouse Scores

| Metric | Score | Description |
|--------|-------|-------------|
| **Performance** | 98/100 | Fast loading and smooth interactions |
| **Accessibility** | 100/100 | WCAG 2.1 AA compliant |
| **Best Practices** | 100/100 | Modern web standards |
| **SEO** | 100/100 | Search engine optimized |

### ๐Ÿ“Š Core Web Vitals

```mermaid
graph LR
subgraph "โšก Loading Performance"
A[FCP: 1.2s] --> A1[โœ… Good]
B[LCP: 1.8s] --> B1[โœ… Good]
C[FID: 50ms] --> C1[โœ… Good]
D[CLS: 0.05] --> D1[โœ… Good]
end

subgraph "๐ŸŽฏ Optimization Targets"
E[Images: WebP/AVIF]
F[Code Splitting: Automatic]
G[Bundle Size: < 200KB]
H[Caching: Edge Network]
end

classDef good fill:#c6f6d5,stroke:#38a169,stroke-width:2px,color:#22543d
classDef optimization fill:#e1f5fe,stroke:#0288d1,stroke-width:2px,color:#01579b

class A1,B1,C1,D1 good
class E,F,G,H optimization
```

### ๐Ÿ”ง Performance Optimizations

โšก View detailed optimizations

#### ๐Ÿ–ผ๏ธ Image Optimization
- **Next.js Image Component** - Automatic WebP/AVIF conversion
- **Lazy Loading** - Images load only when needed
- **Responsive Images** - Multiple sizes for different screen sizes
- **Placeholder Blur** - Smooth loading experience

#### ๐Ÿ“ฆ Bundle Optimization
- **Tree Shaking** - Remove unused code automatically
- **Code Splitting** - Load only necessary JavaScript
- **Dynamic Imports** - Reduce initial bundle size
- **Compression** - Gzip/Brotli compression

#### ๐Ÿš€ Runtime Performance
- **Virtual Scrolling** - Efficient large list rendering
- **Memoization** - Prevent unnecessary re-renders
- **Service Worker** - Cache resources for offline access
- **Prefetching** - Load next pages in advance

## ๐Ÿ› ๏ธ Development

### ๐ŸŽฏ Development Workflow

```mermaid
graph LR
A[๐Ÿš€ Initial Setup] --> B[๐Ÿ“ Create Feature Branch]
B --> C[โšก Add Component]
C --> D[๐Ÿงช Write Tests]
D --> E[๐Ÿ“š Update Docs]
E --> F[๐Ÿ”„ Switch to Main]
F --> G[๐Ÿ”— Merge Feature]
G --> H[๐ŸŒ Deploy to Vercel]

%% Branch styling
A --> I[๐Ÿ“‹ main branch]
B --> J[๐ŸŒฟ feature branch]
C --> J
D --> J
E --> J
F --> I
G --> I
H --> I

classDef mainBranch fill:#e6f7ff,color:#0066cc,stroke:#0052cc,stroke-width:3px,font-weight:bold
classDef featureBranch fill:#f0f8e6,color:#2d5016,stroke:#52c41a,stroke-width:2px
classDef commit fill:#fff2e6,color:#d46b08,stroke:#fa8c16,stroke-width:2px
classDef deploy fill:#f6ffed,color:#389e0d,stroke:#52c41a,stroke-width:3px,font-weight:bold

class I mainBranch
class J featureBranch
class A,C,D,E,G commit
class B,F commit
class H deploy
```

### ๐Ÿงช Testing Strategy

๐Ÿ” Testing Approach

#### Unit Testing
- **Jest** - JavaScript testing framework
- **React Testing Library** - Component testing utilities
- **Coverage Reports** - Maintain >80% code coverage

#### Integration Testing
- **Playwright** - End-to-end testing
- **Visual Regression** - Screenshot comparisons
- **Performance Testing** - Lighthouse CI

#### Quality Assurance
- **ESLint** - Code quality and consistency
- **Prettier** - Code formatting
- **Husky** - Pre-commit hooks
- **TypeScript** - Static type checking

### ๐Ÿ”ง Customization Guide

๐ŸŽจ How to customize for your use

#### 1. Personal Information
```typescript
// src/data/resume.ts
export const RESUME = {
name: "Your Name",
title: "Your Title",
email: "your.email@example.com",
// ... more personal data
}
```

#### 2. Projects Data
```typescript
// src/data/projects.ts
export const PROJECTS = [
{
title: "Your Project",
description: "Project description",
technologies: ["Next.js", "TypeScript"],
// ... project details
}
]
```

#### 3. Styling Customization
```css
/* src/styles/globals.css */
:root {
--your-custom-color: #your-hex-code;
--your-custom-font: 'Your Font Family';
}
```

#### 4. Content Management
```mdx

---
title: "Your Blog Post"
date: "2024-01-01"
description: "Post description"
---

Your MDX content here...
```

## ๐Ÿ“š Documentation

### ๐Ÿ“– Resources & References

- **[Next.js Documentation](https://nextjs.org/docs)** - Framework documentation
- **[ShadCN/UI Components](https://ui.shadcn.com/)** - Component library
- **[Magic UI Documentation](https://magicui.design/)** - Animation components
- **[Tailwind CSS](https://tailwindcss.com/docs)** - Utility-first CSS
- **[MDX Documentation](https://mdxjs.com/)** - Markdown with JSX

### ๐ŸŽ“ Learning Resources

๐Ÿ“š Recommended tutorials and guides

#### Next.js Learning Path
- [Next.js Learn Course](https://nextjs.org/learn)
- [App Router Migration Guide](https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration)
- [Performance Optimization](https://nextjs.org/docs/app/building-your-application/optimizing)

#### Design System Resources
- [Building Design Systems](https://www.designbetter.co/design-systems-handbook)
- [Accessibility Guidelines](https://www.w3.org/WAI/WCAG21/quickref/)
- [Color Theory for Developers](https://www.smashingmagazine.com/2010/01/color-theory-for-designers-part-1-the-meaning-of-color/)

#### Performance Optimization
- [Web.dev Performance](https://web.dev/performance/)
- [Core Web Vitals](https://web.dev/vitals/)
- [Next.js Performance](https://nextjs.org/docs/app/building-your-application/optimizing/performance)

### ๐Ÿ”ง API Reference

๐Ÿ“ก Component APIs and Props

#### Magic UI Components
```typescript
// BlurFade Component

// Dock Component

...

```

#### Custom Hooks
```typescript
// Theme Hook
const { theme, setTheme } = useTheme()

// MDX Hook
const { posts, getPost } = useMDX()
```

## ๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help make this portfolio even better.

### ๐Ÿš€ How to Contribute

```mermaid
flowchart TD
A[๐Ÿด Fork Repository] --> B[๐ŸŒŸ Create Feature Branch]
B --> C[๐Ÿ’ป Make Changes]
C --> D[๐Ÿงช Add Tests]
D --> E[โœ… Run Quality Checks]
E --> F[๐Ÿ“ Commit Changes]
F --> G[๐Ÿ“ค Push to Branch]
G --> H[๐Ÿ”„ Create Pull Request]
H --> I[๐Ÿ‘€ Code Review]
I --> J{โœ… Approved?}
J -->|Yes| K[๐ŸŽ‰ Merge to Main]
J -->|No| L[๐Ÿ”„ Address Feedback]
L --> I

classDef process fill:#e1f5fe,stroke:#0288d1,stroke-width:2px,color:#01579b
classDef decision fill:#fff3e0,stroke:#f57c00,stroke-width:2px,color:#e65100
classDef success fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#1b5e20
classDef feedback fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#880e4f

class A,B,C,D,E,F,G,H,I process
class J decision
class K success
class L feedback
```

### ๐Ÿ“‹ Contribution Guidelines

๐ŸŽฏ Areas where you can contribute

#### ๐Ÿ› Bug Fixes
- Report issues with detailed reproduction steps
- Fix existing bugs and improve stability
- Add error handling and edge cases

#### โœจ Feature Enhancements
- Improve existing components and functionality
- Add new interactive elements
- Enhance accessibility features

#### ๐Ÿ“š Documentation
- Improve README and component documentation
- Add code examples and tutorials
- Create video guides and walkthroughs

#### ๐ŸŽจ Design Improvements
- Enhance visual design and user experience
- Add new themes and color schemes
- Improve mobile responsiveness

#### โšก Performance Optimizations
- Reduce bundle size and improve loading times
- Optimize images and assets
- Implement advanced caching strategies

### ๐Ÿ” Development Standards

๐Ÿ“ Code quality requirements

#### Code Style
```bash
# Run linting
pnpm lint

# Format code
pnpm format

# Type checking
pnpm type-check
```

#### Commit Convention
```bash
# Use conventional commits
feat: add new component
fix: resolve navigation bug
docs: update README
style: format code
refactor: restructure components
test: add unit tests
chore: update dependencies
```

#### Pull Request Template
- **Description**: Clear explanation of changes
- **Type**: Bug fix, feature, documentation, etc.
- **Testing**: How the changes were tested
- **Screenshots**: For UI changes
- **Breaking Changes**: Any breaking changes

### ๐Ÿ† Recognition

๐ŸŒŸ Contributor Hall of Fame

| Contributor | Contributions | GitHub |
|-------------|---------------|--------|
| **K Rajtilak** | Creator & Maintainer | [@rajtilak-2020](https://github.com/rajtilak-2020) |
| *Your name here* | *Your contributions* | *Your GitHub* |

*Want to see your name here? Start contributing today!*

## ๐Ÿ”’ Security

### ๐Ÿ›ก๏ธ Security Measures

- **Content Security Policy (CSP)** - Prevents XSS attacks
- **HTTPS Everywhere** - All traffic encrypted via Vercel SSL
- **Dependency Scanning** - Automated vulnerability checks
- **Environment Variables** - Secure configuration management
- **Input Validation** - All user inputs properly sanitized

### ๐Ÿ“‹ Security Reporting

If you discover a security vulnerability, please send an email to [rajtilak1062020@gmail.com](mailto:rajtilak1062020@gmail.com). All security vulnerabilities will be promptly addressed.

## ๐Ÿ“ˆ Analytics & Monitoring

### ๐Ÿ“Š Performance Monitoring

๐Ÿ” Monitoring stack

#### Real User Monitoring (RUM)
- **Vercel Analytics** - Page views, user sessions
- **Core Web Vitals** - Performance metrics
- **Error Tracking** - JavaScript error monitoring
- **Uptime Monitoring** - 99.9% availability tracking

#### Development Analytics
- **Bundle Analyzer** - JavaScript bundle optimization
- **Lighthouse CI** - Automated performance testing
- **TypeScript Compiler** - Build-time error detection
- **ESLint Reports** - Code quality metrics

### ๐Ÿ“Š Traffic Analytics

```mermaid
pie title Website Traffic Sources
"Direct" : 35
"GitHub" : 25
"Search Engines" : 20
"Social Media" : 15
"Referrals" : 5
```

## ๐Ÿš€ Deployment

### ๐ŸŒ Deployment Options

โšก Multiple deployment strategies

#### Vercel (Recommended)
```bash
# Install Vercel CLI
npm i -g vercel

# Deploy to Vercel
vercel --prod
```

#### Netlify
```bash
# Build the project
pnpm build

# Deploy to Netlify
netlify deploy --prod --dir=out
```

#### Docker
```dockerfile
# Dockerfile included in repo
docker build -t portfolio .
docker run -p 3000:3000 portfolio
```

#### Self-hosted
```bash
# Build for production
pnpm build

# Start production server
pnpm start
```

### โš™๏ธ Environment Configuration

๐Ÿ”ง Environment variables setup

```env
# .env.local template
NEXT_PUBLIC_SITE_URL=https://your-domain.com
NEXT_PUBLIC_SITE_NAME="Your Portfolio"
NEXT_PUBLIC_AUTHOR_NAME="Your Name"

# Analytics (Optional)
NEXT_PUBLIC_GA_ID=your-google-analytics-id
NEXT_PUBLIC_HOTJAR_ID=your-hotjar-id

# Contact Form (Optional)
CONTACT_EMAIL=your-email@example.com
SMTP_HOST=your-smtp-host
SMTP_PORT=587

# Social Links
NEXT_PUBLIC_GITHUB_URL=https://github.com/yourusername
NEXT_PUBLIC_LINKEDIN_URL=https://linkedin.com/in/yourprofile
NEXT_PUBLIC_TWITTER_URL=https://twitter.com/yourusername
```

## ๐Ÿ”ง Troubleshooting

### ๐Ÿšจ Common Issues & Solutions

๐Ÿ” Quick fixes for common problems

#### Build Errors
```bash
# Clear cache and reinstall
rm -rf .next node_modules package-lock.json
pnpm install

# Clear Vercel cache
vercel --prod --force
```

#### TypeScript Errors
```bash
# Run type checking
pnpm type-check

# Fix auto-fixable issues
pnpm lint:fix
```

#### Styling Issues
```bash
# Rebuild Tailwind
pnpm build:css

# Check Tailwind config
pnpm tailwindcss --help
```

#### Performance Issues
```bash
# Analyze bundle size
pnpm analyze

# Run Lighthouse audit
pnpm lighthouse
```

#### MDX Content Issues
```bash
# Validate MDX files
pnpm mdx:validate

# Check content structure
pnpm content:check
```

### ๐Ÿ”ง Debug Mode

๐Ÿ› Enable debug logging

```bash
# Enable Next.js debug mode
DEBUG=next* pnpm dev

# Enable Vercel debug mode
VERCEL_DEBUG=1 vercel dev

# View detailed build logs
VERBOSE=1 pnpm build
```

## ๐Ÿ“Š Project Statistics

### ๐Ÿ“ˆ Repository Stats

![GitHub stars](https://img.shields.io/github/stars/rajtilak-2020/K-Rajtilak_s-Portfolio-V4?style=social)
![GitHub forks](https://img.shields.io/github/forks/rajtilak-2020/K-Rajtilak_s-Portfolio-V4?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/rajtilak-2020/K-Rajtilak_s-Portfolio-V4?style=social)

### ๐Ÿ”ข Codebase Metrics

| Metric | Value |
|--------|--------|
| **Lines of Code** | ~15,000+ |
| **Components** | 50+ |
| **Pages** | 10+ |
| **Blog Posts** | Dynamic |
| **Bundle Size** | < 200KB |
| **Dependencies** | < 50 |

## ๐Ÿ›ฃ๏ธ Roadmap

### ๐ŸŽฏ Upcoming Features

```mermaid
timeline
title Portfolio Development Roadmap

section Q1 2024
Enhanced Animations : Magic UI improvements
: Micro-interactions
Blog System : Search functionality
: Categories & tags

section Q2 2024
Mobile App : React Native version
: Offline reading
CMS Integration : Headless CMS setup
: Content management

section Q3 2024
AI Features : Content recommendations
: Smart search
Internationalization : Multi-language support
: RTL layouts

section Q4 2024
Analytics Dashboard : Custom analytics
: User insights
Community Features : Comments system
: Newsletter signup
```

### ๐ŸŽ‰ Version History

๐Ÿ“‹ Changelog and version history

#### Version 4.0.0 (Current)
- โœจ Complete rewrite with Next.js 14
- ๐ŸŽจ New design system with ShadCN/UI
- โšก Performance optimizations
- ๐Ÿ“ฑ Enhanced mobile experience
- ๐ŸŒ™ Improved dark mode

#### Version 3.0.0
- ๐Ÿš€ Next.js 13 with App Router
- ๐Ÿ’ซ Magic UI integration
- ๐Ÿ“ MDX blog system
- ๐ŸŽฏ SEO improvements

#### Version 2.0.0
- โš›๏ธ React 18 upgrade
- ๐ŸŽจ Tailwind CSS integration
- ๐Ÿ“ฑ Mobile-first design
- โšก Performance focus

#### Version 1.0.0
- ๐ŸŽฏ Initial release
- ๐Ÿ“„ Static HTML/CSS/JS
- ๐ŸŽจ Basic responsive design

## ๐Ÿ’ Acknowledgments

### ๐Ÿ™ Special Thanks

**Inspiration & Resources**

- **[Dillion Verma](https://github.com/dillionverma/)** - Base template inspiration
- **[ShadCN](https://github.com/shadcn)** - Amazing component library
- **[Magic UI Team](https://magicui.design/)** - Beautiful animations
- **[Vercel Team](https://vercel.com/)** - Excellent platform and tools
- **[Next.js Team](https://nextjs.org/)** - Outstanding React framework

### ๐ŸŒŸ Community

- **Open Source Community** - For the amazing tools and libraries
- **Design Community** - For inspiration and feedback
- **Developer Community** - For knowledge sharing and support

## ๐Ÿ“„ License

**MIT License**

```
Copyright (c) 2024 K Rajtilak

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

[๐Ÿ“„ Full License](./LICENSE)

## ๐Ÿ“ž Contact & Support

### ๐ŸŒ Connect with Me

[![Website](https://img.shields.io/badge/๐ŸŒ%20Website-krajtilak.vercel.app-blue?style=for-the-badge)](https://krajtilak.vercel.app)
[![GitHub](https://img.shields.io/badge/GitHub-rajtilak--2020-black?style=for-the-badge&logo=github)](https://github.com/rajtilak-2020)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-krajtilak2020-0077B5?style=for-the-badge&logo=linkedin)](https://www.linkedin.com/in/krajtilak2020)
[![Email](https://img.shields.io/badge/Email-rajtilak1062020%40gmail.com-red?style=for-the-badge&logo=gmail)](mailto:rajtilak1062020@gmail.com)

### ๐Ÿ’ฌ Get Support

- ๐Ÿ› **Bug Reports**: [GitHub Issues](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/issues)
- ๐Ÿ’ก **Feature Requests**: [GitHub Discussions](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/discussions)
- โ“ **Questions**: [Email Support](mailto:rajtilak1062020@gmail.com)
- ๐Ÿ“š **Documentation**: [GitHub Wiki](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/wiki)

### ๐Ÿค Community

Join our growing community of developers and creators!

- ๐ŸŒŸ **Star this repo** if you find it useful
- ๐Ÿด **Fork and customize** for your own portfolio
- ๐Ÿ“ข **Share with others** who might benefit
- ๐Ÿค **Contribute** to make it even better

### ๐Ÿš€ Ready to build your own portfolio?

Feel free to fork this repository and make it your own. Don't forget to:
- โญ Star the repo if you found it helpful
- ๐Ÿ”„ Share it with your network
- ๐Ÿค Contribute improvements back to the community

---



**Thank you for checking out my portfolio project!**

This portfolio represents my journey as a developer and my passion for creating beautiful, performant web experiences. Whether you're here to learn, contribute, or just browse, I appreciate your time and interest.

---

### ๐Ÿ’ซ *"Code is poetry, and every portfolio tells a story"*

**Happy coding! ๐Ÿš€**

*Made with โค๏ธ, โ˜•, and countless hours of debugging*

![Visitor Count](https://visitor-badge.laobi.icu/badge?page_id=rajtilak-2020.K-Rajtilak_s-Portfolio-V4)