import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  reactStrictMode: true,
  poweredByHeader: false, // Security: Disable X-Powered-By header
  compress: true, // Performance: Enable gzip compression
  trailingSlash: true,
  images: {
    unoptimized: true,
    remotePatterns: [
      {
        protocol: "https",
        hostname: "images.unsplash.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "loremflickr.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "placehold.co",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "your-admin-domain.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "your-domain.com",
        pathname: "/**",
      },
    ],
  },
};

export default nextConfig;
