feat: add password gate

This commit is contained in:
gosangam
2026-04-18 00:14:32 +05:30
parent 9b5823146f
commit c573c94c51
3 changed files with 206 additions and 1 deletions
+4 -1
View File
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
import { TooltipProvider } from "@/components/ui/tooltip";
import { PasswordGate } from "@/components/password-gate";
import "./globals.css";
const geistSans = Geist({
@@ -38,7 +39,9 @@ export default function RootLayout({
enableSystem
disableTransitionOnChange
>
<TooltipProvider>{children}</TooltipProvider>
<TooltipProvider>
<PasswordGate>{children}</PasswordGate>
</TooltipProvider>
</ThemeProvider>
</body>
</html>