/** @type {import('next').NextConfig} */
const nextConfig = {
    
    experimental: {
    optimizeCss: true,
  },
  

  images: {
    remotePatterns: [
       {
        protocol: 'https',
        hostname: 'unipage-storage.s3.eu-north-1.amazonaws.com',
        pathname: '/**',
      },
      {
        protocol: 'http',
        hostname: 'localhost',
        port: '5000',
        pathname: '/uploads/**',
      },
      {
        protocol: 'http',
        hostname: 'localhost',
        port: '5000',
        pathname: '/assets/**',
      },
      {
        protocol: 'https',
        hostname: 'source.unsplash.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'images.unsplash.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'randomuser.me',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'unipage-storage.s3.eu-north-1.amazonaws.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'unipage-website.s3.eu-north-1.amazonaws.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'universitiespage.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'cdn.example.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'images.pexels.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'flagcdn.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'gocoolgroup.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'www.theigl.com.pk',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'www.go.study',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'mybucket.s3.amazonaws.com',
        pathname: '/**',
      },
      {
        protocol: 'https',
        hostname: 'thumbs.dreamstime.com',
        pathname: '/**',
      },
    ],
  },
};

module.exports = nextConfig;