diff options
| author | Maze <167211895+mazeincoding@users.noreply.github.com> | 2025-07-16 12:00:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-16 12:00:11 +0200 |
| commit | ccca2e8d0f94847c3877202d2940bcf57c327dbc (patch) | |
| tree | 4818e76a0838f94537024c0ef41d1b328d969c04 /apps/web/src/app/layout.tsx | |
| parent | 2982293b54129e23d103052bea640ea8a45812e9 (diff) | |
| parent | 0cb26ef088d7b813bef4fd702ac26b813f1a9db1 (diff) | |
| download | opencut-ccca2e8d0f94847c3877202d2940bcf57c327dbc.tar.gz | |
Merge pull request #308 from enkeii64/feat/display-all-contributors
feat: display all contributors
Diffstat (limited to 'apps/web/src/app/layout.tsx')
| -rw-r--r-- | apps/web/src/app/layout.tsx | 11 |
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> |
