diff --git a/apps/website/src/App.tsx b/apps/website/src/App.tsx
index 8378b18..bb0d72a 100644
--- a/apps/website/src/App.tsx
+++ b/apps/website/src/App.tsx
@@ -2,6 +2,7 @@ import { BrowserRouter, Routes, Route } from "react-router-dom";
import { Analytics } from "@vercel/analytics/react";
import { AuthProvider } from "./hooks/useAuth";
import { ToastProvider } from "./hooks/useToast";
+import { SplashProvider } from "./contexts/SplashProvider";
import Layout from "./components/Layout";
import AuthGuard from "./components/AuthGuard";
import LandingPage from "./pages/LandingPage";
@@ -15,39 +16,41 @@ import DocsPage from "./pages/DocsPage";
export default function App() {
return (
-
-
-
- }>
- {/* Public landing page */}
- } />
+
+
+
+
+ }>
+ {/* Public landing page */}
+ } />
- {/* Documentation */}
- } />
- } />
+ {/* Documentation */}
+ } />
+ } />
- {/* Auth */}
- } />
- } />
- }
- />
- } />
+ {/* Auth */}
+ } />
+ } />
+ }
+ />
+ } />
- {/* Early Access page - requires auth */}
-
-
-
- }
- />
-
-
-
-
+ {/* Early Access page - requires auth */}
+
+
+
+ }
+ />
+
+
+
+
+
);
diff --git a/apps/website/src/components/Layout.tsx b/apps/website/src/components/Layout.tsx
index 371f62a..22ad47d 100644
--- a/apps/website/src/components/Layout.tsx
+++ b/apps/website/src/components/Layout.tsx
@@ -1,10 +1,12 @@
import { Link, Outlet, useLocation } from "react-router-dom";
import { useAuth } from "../hooks/useAuth";
+import { useSplash } from "../hooks/useSplash";
import { ToastContainer } from "../hooks/useToast";
import { LogOut, Github } from "lucide-react";
export default function Layout() {
const { user, supabaseConfigured, loading } = useAuth();
+ const { isSplashActive } = useSplash();
const location = useLocation();
// Determine if we're on a landing page route
@@ -23,16 +25,30 @@ export default function Layout() {
return (
{/* Navigation — frosted glass */}
-
-
-
+
+
+
-