Skip to content

Commit 11e2bab

Browse files
committed
chore: block search indexing
1 parent 81b82ff commit 11e2bab

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎src/app/layout.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export const metadata: Metadata = {
77
title: "Branda | Context.dev",
88
description: "Create on-brand ads in seconds. Powered by the Context.dev Brand API.",
99
icons: { icon: "/favicon.ico" },
10+
robots: {
11+
index: false,
12+
follow: false,
13+
},
1014
};
1115

1216
export default function RootLayout({ children }: { children: React.ReactNode }) {

‎src/app/robots.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import type { MetadataRoute } from "next";
2+
3+
export default function robots(): MetadataRoute.Robots {
4+
return {
5+
rules: {
6+
userAgent: "*",
7+
disallow: "/",
8+
},
9+
};
10+
}

0 commit comments

Comments
 (0)