Marketing Website
This commit is contained in:
39
frontend/src/marketing/MarketingApp.tsx
Normal file
39
frontend/src/marketing/MarketingApp.tsx
Normal file
@@ -0,0 +1,39 @@
|
||||
import React, { Suspense, lazy } from "react";
|
||||
import { Route, Routes } from "react-router-dom";
|
||||
import MarketingLayout from "./layout/MarketingLayout";
|
||||
import LoadingPage from "./components/LoadingPage";
|
||||
|
||||
const Home = lazy(() => import("./pages/Home"));
|
||||
const Product = lazy(() => import("./pages/Product"));
|
||||
const Solutions = lazy(() => import("./pages/Solutions"));
|
||||
const Pricing = lazy(() => import("./pages/Pricing"));
|
||||
const Tour = lazy(() => import("./pages/Tour"));
|
||||
const Resources = lazy(() => import("./pages/Resources"));
|
||||
const CaseStudies = lazy(() => import("./pages/CaseStudies"));
|
||||
const Partners = lazy(() => import("./pages/Partners"));
|
||||
const Contact = lazy(() => import("./pages/Contact"));
|
||||
const Waitlist = lazy(() => import("./pages/Waitlist"));
|
||||
|
||||
const MarketingApp: React.FC = () => {
|
||||
return (
|
||||
<MarketingLayout>
|
||||
<Suspense fallback={<LoadingPage />}>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/product" element={<Product />} />
|
||||
<Route path="/solutions" element={<Solutions />} />
|
||||
<Route path="/pricing" element={<Pricing />} />
|
||||
<Route path="/tour" element={<Tour />} />
|
||||
<Route path="/resources" element={<Resources />} />
|
||||
<Route path="/case-studies" element={<CaseStudies />} />
|
||||
<Route path="/partners" element={<Partners />} />
|
||||
<Route path="/contact" element={<Contact />} />
|
||||
<Route path="/waitlist" element={<Waitlist />} />
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</MarketingLayout>
|
||||
);
|
||||
};
|
||||
|
||||
export default MarketingApp;
|
||||
|
||||
Reference in New Issue
Block a user