first commit

This commit is contained in:
Puechberty Arthur
2026-03-30 20:36:20 +02:00
commit 68f382d8dd
21 changed files with 8481 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import type { MetadataRoute } from "next";
/**
* Fichier robots.txt généré dynamiquement par Next.js.
* Accessible à /robots.txt
*/
export default function robots(): MetadataRoute.Robots {
const baseUrl =
process.env.NEXT_PUBLIC_SITE_URL || "https://calculatrice.arthurp.fr";
return {
rules: [
{
userAgent: "*",
allow: "/",
},
],
sitemap: `${baseUrl}/sitemap.xml`,
};
}