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.
- Host: GitHub
- URL: https://github.com/rajtilak-2020/portfolio-v4
- Owner: rajtilak-2020
- License: apache-2.0
- Created: 2025-02-03T11:35:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-26T14:47:38.000Z (about 1 month ago)
- Last Synced: 2025-09-26T16:28:13.139Z (about 1 month ago)
- Topics: css3, html5, javascript, magicui, mdx, mit-license, nextjs, nextjs14, nodejs, open-source, portfolio, react, shadcn-ui, tailwindcss, typescript, vercel, webdevelopment, websocket
- Language: TypeScript
- Homepage: https://krajtilak.dev
- Size: 3.53 GB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README

**A cutting-edge, high-performance portfolio showcasing modern web development excellence**
[](https://krajtilak.vercel.app)
[](https://nextjs.org/)
[](https://www.typescriptlang.org/)
[](https://tailwindcss.com/)
[](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/actions)
[](./LICENSE)
[](https://github.com/rajtilak-2020/K-Rajtilak_s-Portfolio-V4/stargazers)
[](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

## โจ 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

### โ๏ธ Light Mode Experience

### ๐ฑ 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



### ๐ข 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
[](https://krajtilak.vercel.app)
[](https://github.com/rajtilak-2020)
[](https://www.linkedin.com/in/krajtilak2020)
[](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*
