portfolio Tailwind Templates

Portfolio

⚡️ Modern, multilingual portfolio built with Next.js and Tailwind. Blazing-fast, responsive, and optimized for impact and elegance.

Kevin Lemniai's Portfolio

A blazing-fast, bilingual personal site template for developers looking to showcase their work with elegance and performance.

Next.js TailwindCSS Netlify

🚀 Features

  • Next.js Static Generation for optimal performance and SEO
  • Internationalization support (English/French)
  • Tailwind CSS for modern, utility-first styling
  • Image Optimization with automatic WebP conversion and responsive images
  • Google Analytics integration
  • Responsive Design that works on all devices
  • Performance Optimized with:
    • Static Site Generation
    • Image optimization
    • Font optimization
    • Code splitting
    • Lazy loading

🛠️ Tech Stack

  • Next.js: Static generation + SSR for speed and SEO
  • Tailwind CSS: Utility-first styling for fast iteration
  • i18next: Effortless multilingual support
  • Internationalization: i18next with LanguageContext
  • Image Processing: Sharp
  • Analytics: Google Analytics
  • Deployment: Netlify

📦 Project Structure

portfolio/
├── public/              # Static files
│   └── images/         # Optimized images
├── src/
│   ├── components/    # React components
│   ├── hooks/        # Custom React hooks
│   ├── locales/      # Translation files
│   ├── pages/        # Next.js pages
│   ├── styles/       # Global styles
│   ├── i18n.js       # i18next configuration
│   └── LanguageContext.js # Language context provider
├── scripts/          # Build and optimization scripts
└── .env.example     # Environment variables template

🚀 Getting Started

  1. Clone the repository

    git clone https://github.com/KevinLmn/portfolio.git
    cd portfolio
    
  2. Install dependencies

    npm install
    
  3. Set up environment variables

    cp .env.example .env
    

    Edit .env and add your Google Analytics ID

  4. Run the development server

    npm run dev
    
  5. Build for production

    npm run build
    

🖼️ Image Optimization

The project includes a custom image optimization script that:

  • Converts images to WebP format
  • Creates responsive thumbnails
  • Optimizes image quality
  • Maintains aspect ratios

Run the optimization script:

node scripts/optimize-images.js

🌍 Internationalization

The site supports multiple languages through i18next with a LanguageContext provider. Translation files are located in src/locales/ and configured in src/i18n.js. The language state is managed through src/LanguageContext.js.

🎨 Customization

  1. Colors: Edit tailwind.config.js to customize the color scheme
  2. Content: Update the content in src/components/ and src/locales/
  3. Translations: Modify files in src/locales/

🙏 Acknowledgments

🤝 Contributing

Feel free to fork this repo, use it as your own portfolio base, and ⭐ it if you like the work!

Top categories

Loading Svelte Themes