A modern, high-performance portfolio website showcasing frontend engineering excellence
- Overview
- Features
- Technology Stack
- Project Structure
- Getting Started
- Performance Optimizations
- SEO & Accessibility
- Development
- Deployment
- Contributing
- License
- Contact
This is a modern, high-performance portfolio website built with Next.js 14, TypeScript, and cutting-edge web technologies. The project showcases frontend engineering excellence through:
- Premium UI/UX Design: Stunning animations, smooth transitions, and interactive elements
- Performance-First Approach: Optimized for 60 FPS scrolling and minimal resource usage
- SEO Excellence: Comprehensive meta tags, structured data, and semantic HTML
- Accessibility: WCAG compliant with keyboard navigation and screen reader support
- Responsive Design: Seamless experience across all devices and screen sizes
I'm Khalid Hossain Badhon, a frontend-focused full-stack developer specializing in building exceptional web experiences with Next.js, React, and TypeScript. This portfolio demonstrates my expertise in modern web development, performance optimization, and user-centric design.
- Custom Cursor Animation: Interactive cursor with smooth animations
- Smooth Scrolling: Lenis-powered smooth scroll with performance optimizations
- Dark Mode: Theme toggle with system preference detection
- WebGL Background: Stunning DarkVeil WebGL animation with device-aware rendering
- Framer Motion Animations: Smooth, GPU-accelerated animations throughout
- Responsive Navigation: Desktop navbar with mobile bottom navigation and hamburger menu
- Interactive Components: Hover effects, micro-animations, and engaging UI elements
- Hero Section: Eye-catching introduction with animated text and call-to-action
- About Section: Personal introduction with journey timeline and interactive map
- Tech Stack: Visual showcase of technologies and skills
- Projects: Filterable project gallery with detailed case studies
- Testimonials: LinkedIn recommendations carousel with auto-play
- FAQ: Accordion-style frequently asked questions
- Contact: Multi-channel contact form with validation
- Footer: Comprehensive footer with social links and navigation
- Server-Side Rendering (SSR): Fast initial page loads with Next.js 14
- TypeScript: Type-safe development with comprehensive type definitions
- Form Validation: React Hook Form with Zod schema validation
- Email Integration: Nodemailer for contact form submissions
- Image Optimization: Next.js Image component with remote pattern support
- Code Splitting: Automatic code splitting for optimal bundle sizes
- Progressive Enhancement: Works without JavaScript, enhanced with it
- Speed Insights: Vercel Speed Insights integration for performance monitoring
- GPU Acceleration: Hardware-accelerated transforms and animations
- Visibility Detection: Pauses animations when tab is hidden or elements are off-screen
- Intersection Observer: Lazy loading and viewport-based rendering
- Optimized Particles: Reduced particle count with visibility-aware rendering
- CSS Containment: Layout isolation for faster paint operations
- Passive Event Listeners: Non-blocking scroll event handlers
- Content Visibility: Automatic content rendering optimization
- Device-Aware DPR: Adaptive pixel ratio for mobile devices
Performance Metrics: Consistent 55-60 FPS scrolling, 50% reduction in paint operations, 50-70% CPU reduction during normal usage
- Next.js 14.2.3 - React framework with App Router
- React 18 - UI library
- TypeScript 5 - Type-safe JavaScript
- Tailwind CSS 3.4.1 - Utility-first CSS framework
- Shadcn/ui - Re-usable component library
- Radix UI - Unstyled, accessible components
- Framer Motion - Animation library
- Lucide React - Icon library
- Lenis - Smooth scroll library
- Motion - Advanced animation utilities
- OGL - WebGL library for DarkVeil effect
- Embla Carousel - Carousel with auto-scroll
- React Hook Form - Form state management
- Zod - Schema validation
- Nodemailer - Email sending
- class-variance-authority - Component variant management
- clsx - Conditional className utility
- tailwind-merge - Tailwind class merging
- next-themes - Theme management
- Sonner - Toast notifications
- @vercel/speed-insights - Performance monitoring
portfolio-v2.0/
βββ app/ # Next.js App Router
β βββ about/ # About page
β βββ api/ # API routes
β β βββ send/ # Email sending endpoint
β βββ projects/ # Projects page
β β βββ [id]/ # Dynamic project detail pages
β βββ globals.css # Global styles
β βββ layout.tsx # Root layout with metadata
β βββ page.tsx # Home page
β βββ loading.tsx # Loading state
β βββ not-found.tsx # 404 page
β βββ lenis-smooth-scroll.css # Lenis scroll styles
β βββ scroll-optimizations.css # Performance optimization styles
β
βββ components/ # React components
β βββ layout/ # Layout components
β β βββ sections/ # Page sections
β β β βββ about/ # About section components
β β β βββ hero.tsx # Hero section
β β β βββ testimonial.tsx # Testimonials section
β β β βββ contact.tsx # Contact section
β β β βββ faq.tsx # FAQ section
β β β βββ footer.tsx # Footer section
β β β βββ tect-stack.tsx # Tech stack section
β β β βββ SideDock.tsx # Social media dock
β β βββ navbar.tsx # Desktop navigation
β β βββ mobile-nav.tsx # Mobile navigation
β β βββ footer-layout.tsx # Footer layout
β β βββ whatsapp-float.tsx # WhatsApp floating button
β β βββ theme-provider.tsx # Theme context provider
β β
β βββ project/ # Project components
β β βββ ProjectContainer.tsx # Project gallery container
β β βββ ProjectCard.tsx # Project card component
β β βββ ProjectFilter.tsx # Project filter
β β βββ ProjectDetail.tsx # Project detail view
β β
β βββ ui/ # Shadcn/ui components
β β βββ button.tsx # Button component
β β βββ card.tsx # Card component
β β βββ input.tsx # Input component
β β βββ accordion.tsx # Accordion component
β β βββ custom-cursor.tsx # Custom cursor
β β βββ ... # Other UI components
β β
β βββ magicui/ # Magic UI components
β β βββ scroll-progress.tsx # Scroll progress indicator
β β βββ particles.tsx # Particle animation
β β βββ ... # Other magic components
β β
β βββ icons/ # Icon components
β βββ DarkVeil.tsx # WebGL background animation
β βββ TextPressure.tsx # Text pressure effect
β βββ CurvedLoop.jsx # Curved loop animation
β
βββ data/ # Static data
β βββ projects.ts # Project data
β βββ recommendations.ts # LinkedIn recommendations
β βββ timeline.ts # Career timeline
β βββ values.ts # Core values
β βββ animated-text.tsx # Animated text data
β
βββ hooks/ # Custom React hooks
β βββ scroll-performance.ts # Scroll optimization hooks
β βββ use-mobile.tsx # Mobile detection hook
β
βββ lib/ # Utility libraries
β βββ provider/ # Context providers
β β βββ LenisProvider.tsx # Lenis scroll provider
β βββ utils.ts # Utility functions
β
βββ types/ # TypeScript type definitions
β βββ project.ts # Project type definitions
β
βββ public/ # Static assets
β βββ project/ # Project images
β βββ ... # Other public assets
β
βββ .env # Environment variables
βββ .eslintrc.json # ESLint configuration
βββ .prettierrc # Prettier configuration
βββ .gitignore # Git ignore rules
βββ components.json # Shadcn/ui configuration
βββ next.config.mjs # Next.js configuration
βββ tailwind.config.ts # Tailwind configuration
βββ tsconfig.json # TypeScript configuration
βββ postcss.config.mjs # PostCSS configuration
βββ package.json # Dependencies and scripts
βββ PERFORMANCE_OPTIMIZATIONS.md # Performance documentation
βββ SCROLL_FPS_OPTIMIZATIONS.md # Scroll optimization guide
βββ LICENSE # MIT License
βββ README.md # This file
--> -->
Khalid Hossain Badhon
- Website: khalidhossain.me
- LinkedIn: linkedin.com/in/khalidhossainbadhon
- GitHub: github.com/badhon252
- Twitter: @badhon252
- Email: [email protected]
- Shadcn/ui - For the amazing component library
- Vercel - For hosting and deployment
- Next.js Team - For the incredible framework
- Tailwind CSS - For the utility-first CSS framework
- Framer Motion - For smooth animations
- Lenis - For smooth scrolling
Made with β€οΈ by Khalid Hossain Badhon
β Star this repository if you found it helpful!
