Email COnfigs & setup

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-08 05:41:28 +00:00
parent 7da3334c03
commit 3651ee9ed4
34 changed files with 2418 additions and 77 deletions

View File

@@ -23,6 +23,12 @@ import NotFound from "./pages/OtherPage/NotFound";
const Terms = lazy(() => import("./pages/legal/Terms"));
const Privacy = lazy(() => import("./pages/legal/Privacy"));
// Auth pages - Lazy loaded (password reset, verification, etc.)
const ForgotPassword = lazy(() => import("./pages/AuthPages/ForgotPassword"));
const ResetPassword = lazy(() => import("./pages/AuthPages/ResetPassword"));
const VerifyEmail = lazy(() => import("./pages/AuthPages/VerifyEmail"));
const Unsubscribe = lazy(() => import("./pages/AuthPages/Unsubscribe"));
// Lazy load all other pages - only loads when navigated to
const Home = lazy(() => import("./pages/Dashboard/Home"));
@@ -147,6 +153,12 @@ export default function App() {
{/* Legal Pages - Public */}
<Route path="/terms" element={<Terms />} />
<Route path="/privacy" element={<Privacy />} />
{/* Auth Flow Pages - Public */}
<Route path="/forgot-password" element={<ForgotPassword />} />
<Route path="/reset-password" element={<ResetPassword />} />
<Route path="/verify-email" element={<VerifyEmail />} />
<Route path="/unsubscribe" element={<Unsubscribe />} />
{/* Protected Routes - Require Authentication */}
<Route