From 3548f9fb586c7023cb964494977827c2c7cb1db6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Wed, 5 Nov 2025 07:33:01 +0000 Subject: [PATCH] Add Discord Activity support cgen-71b7ad9a20164e59b5252dc05099e201 --- client/App.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/client/App.tsx b/client/App.tsx index 7e2c2273..64587342 100644 --- a/client/App.tsx +++ b/client/App.tsx @@ -74,6 +74,9 @@ import Wix from "./pages/Wix"; import WixCaseStudies from "./pages/WixCaseStudies"; import WixFaq from "./pages/WixFaq"; import DocsSync from "./pages/DocsSync"; +import { DiscordProvider } from "./contexts/DiscordContext"; +import DiscordActivity from "./pages/DiscordActivity"; +import DiscordOAuthCallback from "./pages/DiscordOAuthCallback"; import { Analytics } from "@vercel/analytics/react"; const queryClient = new QueryClient(); @@ -81,9 +84,10 @@ const queryClient = new QueryClient(); const App = () => ( - - - + + + + @@ -219,6 +223,10 @@ const App = () => ( } /> } /> + {/* Discord routes */} + } /> + } /> + {/* Explicit 404 route for static hosting fallbacks */} } /> {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} @@ -226,7 +234,8 @@ const App = () => ( - + + );