summaryrefslogtreecommitdiff
path: root/apps/web/src/app/layout.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-16 12:22:15 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-16 12:22:15 +0200
commit96f7516c94cc922519e5369ef132b62d9a52e85c (patch)
treeb6363cb3cdc0d9b5329bcbc39d9616be0d1b25cd /apps/web/src/app/layout.tsx
parenta7e23ec714faabbeaa3b6a673e7e2d86825944bd (diff)
parentccca2e8d0f94847c3877202d2940bcf57c327dbc (diff)
downloadopencut-96f7516c94cc922519e5369ef132b62d9a52e85c.tar.gz
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
Diffstat (limited to 'apps/web/src/app/layout.tsx')
-rw-r--r--apps/web/src/app/layout.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 9ac54262..1cbc3f2e 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -7,9 +7,17 @@ import { TooltipProvider } from "../components/ui/tooltip";
import { StorageProvider } from "../components/storage-provider";
import { baseMetaData } from "./metadata";
import { defaultFont } from "../lib/font-config";
+import { BotIdClient } from "botid/client";
export const metadata = baseMetaData;
+const protectedRoutes = [
+ {
+ path: "/api/waitlist",
+ method: "POST",
+ },
+];
+
export default function RootLayout({
children,
}: Readonly<{
@@ -17,6 +25,9 @@ export default function RootLayout({
}>) {
return (
<html lang="en" suppressHydrationWarning>
+ <head>
+ <BotIdClient protect={protectedRoutes} />
+ </head>
<body className={`${defaultFont.className} font-sans antialiased`}>
<ThemeProvider attribute="class" forcedTheme="dark">
<TooltipProvider>