import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  /* config options here */
  reactCompiler: true,
  trailingSlash: true,
  async redirects() {
    return [
      {
        source: "/blacklanne-clone",
        destination: "/blacklane-clone/",
        permanent: true,
      },
      {
        source: "/tinder-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/tiktok-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/bigolive-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/onlyfans-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/fansly-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/nextdoor-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/badoo-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/hinge-clone/",
        destination: "/",
        permanent: true,
      },
      {
        source: "/pricing",
        destination: "/",
        permanent: true,
      },
      {
        source: "/blabla-clone/",
        destination: "/blablacar-clone/",
        permanent: true,
      },
    ];
  },
};

export default nextConfig;
