Skip to content

I'm Khalid Hossain Badhon, a frontend-focused full-stack developer specializing in building exceptional web experiences with Next.js, React, and TypeScript.

License

Notifications You must be signed in to change notification settings

badhon252/portfolio-v2.0

Repository files navigation

Khalid Hossain - Portfolio v2.0

Portfolio Banner

A modern, high-performance portfolio website showcasing frontend engineering excellence

Next.js TypeScript Tailwind CSS License

Live Demo β€’ LinkedIn β€’ GitHub


πŸ“‹ Table of Contents


🎯 Overview

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

πŸ‘¨β€πŸ’» About Me

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.


✨ Features

🎨 Design & User Experience

  • 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

πŸ“± Sections

  1. Hero Section: Eye-catching introduction with animated text and call-to-action
  2. About Section: Personal introduction with journey timeline and interactive map
  3. Tech Stack: Visual showcase of technologies and skills
  4. Projects: Filterable project gallery with detailed case studies
  5. Testimonials: LinkedIn recommendations carousel with auto-play
  6. FAQ: Accordion-style frequently asked questions
  7. Contact: Multi-channel contact form with validation
  8. Footer: Comprehensive footer with social links and navigation

πŸš€ Technical Features

  • 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

🎯 Performance Optimizations

  • 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


πŸ›  Technology Stack

Core Framework

Styling & UI

Animation & Effects

  • Lenis - Smooth scroll library
  • Motion - Advanced animation utilities
  • OGL - WebGL library for DarkVeil effect
  • Embla Carousel - Carousel with auto-scroll

Forms & Validation

State & Utilities

Developer Tools

Monitoring


πŸ“ Project Structure

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

--> -->

πŸ“ž Contact

Khalid Hossain Badhon


πŸ™ Acknowledgments


πŸ“Š Project Stats

GitHub stars GitHub forks GitHub issues GitHub pull requests


Made with ❀️ by Khalid Hossain Badhon

⭐ Star this repository if you found it helpful!

About

I'm Khalid Hossain Badhon, a frontend-focused full-stack developer specializing in building exceptional web experiences with Next.js, React, and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5