From 3aec0acac79bc7c2a6a0bb4b806559f33c3de5e7 Mon Sep 17 00:00:00 2001 From: Yahia Bakour Date: Tue, 28 Jul 2026 02:17:42 -0700 Subject: [PATCH] chore: block search indexing --- app/layout.tsx | 4 ++++ app/robots.ts | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 app/robots.ts diff --git a/app/layout.tsx b/app/layout.tsx index 40a58dd..d377c49 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -50,6 +50,10 @@ export const metadata: Metadata = { ], apple: "/apple-touch-icon.png?v=sf1", }, + robots: { + index: false, + follow: false, + }, }; export default function RootLayout({ diff --git a/app/robots.ts b/app/robots.ts new file mode 100644 index 0000000..d35686e --- /dev/null +++ b/app/robots.ts @@ -0,0 +1,10 @@ +import type { MetadataRoute } from "next"; + +export default function robots(): MetadataRoute.Robots { + return { + rules: { + userAgent: "*", + disallow: "/", + }, + }; +}