Lav Sarkari

Lav Sarkari - Portfolio Website

A modern, responsive portfolio website built with Next.js, featuring Three.js animations, GitHub API integration, and a sleek dark/light theme toggle.

πŸš€ Features

πŸ› οΈ Tech Stack

🚦 Getting Started

  1. Clone the repository
    git clone https://github.com/LavSarkari/lavsarkari.me.git
    cd lavsarkari.me
    
  2. Install dependencies
    npm install
    
  3. Set up environment variables Create a .env.local file:
    GITHUB_TOKEN=your_github_personal_access_token
    NEXT_PUBLIC_GITHUB_USERNAME=LavSarkari
    
  4. Run the development server
    npm run dev
    
  5. Open http://localhost:3000 in your browser

πŸ“ Project Structure

src/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ globals.css
β”‚   β”œβ”€β”€ layout.tsx
β”‚   └── page.tsx
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ About.tsx
β”‚   β”œβ”€β”€ AllRepositories.tsx
β”‚   β”œβ”€β”€ Contact.tsx
β”‚   β”œβ”€β”€ Hero.tsx
β”‚   β”œβ”€β”€ PinnedProjects.tsx
β”‚   β”œβ”€β”€ ThemeProvider.tsx
β”‚   β”œβ”€β”€ ThemeToggle.tsx
β”‚   └── ThreeBackground.tsx
└── lib/
    └── github.ts

🎨 Design Philosophy

Inspired by hamishw.com, this portfolio focuses on:

πŸ”§ Configuration

GitHub Integration

The site uses both GitHub’s GraphQL and REST APIs:

Theme System

Custom theme provider with:

πŸ“± Responsive Breakpoints

πŸš€ Deployment

  1. Connect your GitHub repository to Vercel
  2. Add environment variables in Vercel dashboard
  3. Deploy with automatic CI/CD

Environment Variables for Production

GITHUB_TOKEN=your_token_here
NEXT_PUBLIC_GITHUB_USERNAME=LavSarkari

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is open source and available under the MIT License.

πŸ‘€ Author

Lav Sarkari