landing pages

This commit is contained in:
2026-03-16 23:59:31 -05:00
parent c6931d5c5d
commit 0d7282664e
3 changed files with 340 additions and 1 deletions
+8
View File
@@ -104,6 +104,12 @@ const ShipmentFormPage = React.lazy(() =>
const GanttPage = React.lazy(() =>
import("./modules/gantt/GanttPage").then((module) => ({ default: module.GanttPage }))
);
const LandingPage = React.lazy(() =>
import("./modules/landing/LandingPage").then((module) => ({ default: module.LandingPage }))
);
const DarkLandingPage = React.lazy(() =>
import("./modules/landing/LandingPage").then((module) => ({ default: module.DarkLandingPage }))
);
function RouteFallback() {
return (
@@ -119,6 +125,8 @@ function lazyElement(element: React.ReactNode) {
const router = createBrowserRouter([
{ path: "/login", element: <LoginPage /> },
{ path: "/landing", element: lazyElement(<LandingPage />) },
{ path: "/darklanding", element: lazyElement(<DarkLandingPage />) },
{
element: <ProtectedRoute />,
children: [