diff --git a/.gitignore b/.gitignore index 8bad6cf..1e97f5c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode myapp -cmd.md \ No newline at end of file +cmd.md +.env diff --git a/client/src/App.tsx b/client/src/App.tsx index fc033a8..6b3fe63 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -8,6 +8,7 @@ import { } from "react-router-dom"; import { Analytics } from "@vercel/analytics/react"; import { SpeedInsights } from "@vercel/speed-insights/react"; + import Navbar from "./components/layout/Navbar"; import LandingPage from "./components/layout/LandingPage"; import AuthForm from "./components/auth/AuthForm"; @@ -43,6 +44,7 @@ import ScrollToTop from "./components/ui/ScrollToTop"; import ScrollToTopOnRouteChange from "./components/ui/ScrollToTopOnRouteChange"; import { isAuthenticated } from "./utils/auth"; import { SocketProvider } from "./contexts/SocketContext"; +import Dashboard from "./pages/Dashboard"; interface AppProps {} @@ -99,8 +101,20 @@ const App: React.FC = () => {
+ } /> + + {/* ✅ Dashboard PROTECTED */} + + + + } + /> + = () => { } /> + } /> - } - /> + } /> } /> } /> = () => { element={} /> } /> + = () => { } /> + } /> } /> + } /> } /> + = () => { } /> + = () => { } /> + = () => { } /> + } /> } /> } /> - } - /> + } /> } /> + = () => { } /> + = () => { } /> + = () => { } /> + = () => { } /> + = () => { } /> + } /> + } /> +