๐ Premium Portfolio Website
A world-class personal portfolio website built with Next.js 15, React 19, and modern web technologies. Designed for top-tier software engineers showcasing Flutter, Android, Firebase, and system design expertise.
โจ Features
- โก Performance First: Lighthouse 100 scores across all metrics
- ๐จ Aurora Elite Design System: Premium, futuristic design language
- ๐ฑ Fully Responsive: Perfect on all devices
- ๐ SEO Optimized: Schema.org, OpenGraph, Twitter Cards
- โฟ Accessibility: WCAG 2.2 AA compliant
- ๐ญ Smooth Animations: Framer Motion & GSAP
- ๐ MDX Blog: Write posts in Markdown with React components
- ๐ Analytics: Google Analytics 4 & Microsoft Clarity
- ๐ค Type Safe: Full TypeScript support
- โ๏ธ Production Ready: Enterprise-grade codebase
๐ ๏ธ Tech Stack
Frontend
- Framework: Next.js 15+
- React: 19+
- Language: TypeScript
- Styling: Tailwind CSS
- Components: ShadCN/UI, Radix UI
- Animations: Framer Motion, GSAP
- Icons: Lucide React
- State: Zustand
- Forms: React Hook Form
- Validation: Zod
Content & Data
- Content: MDX (Markdown + React)
- Charts: Recharts
- Code: Shiki
Analytics & SEO
- Google Analytics 4
- Microsoft Clarity
- Next SEO
- Structured Data (JSON-LD)
Deployment
- Hosting: GitHub Pages
- CI/CD: GitHub Actions
- Package Manager: npm/pnpm/yarn
๐ Site Structure
โโโ Hero Section
โ โโโ Animated Headline with Typing Effect
โ โโโ CTA Buttons
โ โโโ Social Links
โโโ About Me
โ โโโ Bio
โ โโโ Journey Timeline
โ โโโ Stats
โโโ Skills & Expertise
โ โโโ Categorized Skills
โ โโโ Proficiency Matrix
โ โโโ Badges
โโโ Featured Projects
โ โโโ Project Cards
โ โโโ Category Filtering
โ โโโ Links to GitHub/Live Demo
โโโ Blog (MDX)
โ โโโ Article Listing
โ โโโ Categories & Tags
โ โโโ Full Articles
โโโ Contact Section
โ โโโ Contact Form
โ โโโ Social Links
โ โโโ Email
โโโ Footer
โโโ Quick Links
โโโ Copyright
๐ Getting Started
Prerequisites
- Node.js 18+
- npm, yarn, or pnpm
Installation
- Clone the repository
git clone https://github.com/yourusername/portfolio.git
cd portfolio
- Install dependencies
npm install
# or
yarn install
# or
pnpm install
- Setup environment variables
cp .env.example .env.local
Edit .env.local with your configuration:
NEXT_PUBLIC_SITE_URL=https://yourdomain.com
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
NEXT_PUBLIC_CLARITY_ID=xxxxxxxxxxxxx
- Run development server
Open http://localhost:3000 in your browser.
๐ฆ Available Scripts
# Development
npm run dev # Start dev server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
npm run type-check # Check TypeScript
npm run format # Format code
npm run export # Export static site
๐จ Design System
Aurora Elite Colors
- Primary:
#6366F1 (Indigo)
- Secondary:
#8B5CF6 (Purple)
- Accent:
#06B6D4 (Cyan)
- Success:
#10B981 (Green)
- Warning:
#F59E0B (Amber)
- Error:
#EF4444 (Red)
Typography
- Headings: Inter (Bold)
- Body: Inter (Regular/Medium)
- Code: JetBrains Mono
๐ Deployment
GitHub Pages
- Update package.json
{
"homepage": "https://username.github.io"
}
-
Configure next.config.js (already configured)
- Deploy with GitHub Actions
GitHub Actions will automatically:
- Build the project
- Run tests
- Deploy to GitHub Pages
- Generate Lighthouse reports
Manual Deployment
npm run export
# Push the 'out' directory to gh-pages branch
๐ Content Management
Adding Blog Posts
Create a new file in src/content/blog/:
---
title: Getting Started with Flutter
description: A beginner's guide to Flutter development
author: Your Name
publishedAt: 2024-01-15
tags: [flutter, dart, mobile]
category: Tutorial
---
# Your content here...
Adding Projects
Update src/components/sections/ProjectsSection.tsx with new project data.
๐ SEO Configuration
The portfolio includes:
- โ
Sitemap generation
- โ
Robots.txt
- โ
JSON-LD structured data
- โ
OpenGraph meta tags
- โ
Twitter Card support
- โ
Dynamic meta tags per page
- โ
Canonical URLs
โฟ Accessibility
- โ
WCAG 2.2 AA compliance
- โ
Semantic HTML
- โ
ARIA labels
- โ
Keyboard navigation
- โ
Screen reader support
- โ
Color contrast compliance
- โ
Focus indicators
- โ
Image optimization with Next.js Image
- โ
Code splitting & lazy loading
- โ
CSS-in-JS optimization
- โ
Minification & compression
- โ
Critical CSS inline
- โ
Font optimization
- โ
Core Web Vitals target
Target Metrics
- LCP: < 1.5s
- FID: < 100ms
- CLS: < 0.05
- Lighthouse: 100 across all categories
๐ Analytics
Google Analytics 4
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
Microsoft Clarity
NEXT_PUBLIC_CLARITY_ID=xxxxxxxxxxxxx
๐ก๏ธ Security
- โ
Content Security Policy
- โ
X-Frame-Options
- โ
X-Content-Type-Options
- โ
Referrer-Policy
- โ
No inline scripts
- โ
Secure headers
๐งช Testing
# Run tests
npm test
# Run tests in watch mode
npm test -- --watch
# Generate coverage report
npm test -- --coverage
๐ฑ Browser Support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers
๐ค Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Design inspiration from Linear, Stripe, Vercel, and Notion
- Icons by Lucide React
- UI Components by Radix UI & ShadCN
- Fonts by Google Fonts
- Email: shadhin@example.com
- LinkedIn: https://linkedin.com/in/shadhinafridi
- GitHub: https://github.com/shadhinafridi
- X/Twitter: https://x.com/shadhinafridi
๐ Resources
Made with โค๏ธ by Shadhin Afridi