import type { MetadataRoute } from "next";

const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL || "https://poyrazavsever.com";

export default function robots(): MetadataRoute.Robots {
  return {
    rules: [
      {
        userAgent: "*",
        allow: "/",
        disallow: ["/api/", "/_next/", "/media-kit", "/tr/media-kit", "/en/media-kit"],
      },
    ],
    sitemap: `${SITE_URL}/sitemap.xml`,
  };
}
