2023-05-17 11:20:11 +00:00
|
|
|
import { Box, CssBaseline, ThemeProvider } from "@mui/material";
|
2022-11-17 12:25:23 +00:00
|
|
|
import Section1 from "./Section1";
|
|
|
|
import Section2 from "./Section2";
|
|
|
|
import Section3 from "./Section3";
|
|
|
|
import Section4 from "./Section4";
|
|
|
|
import Section5 from "./Section5";
|
2023-04-13 16:48:17 +00:00
|
|
|
import FloatingSupportChat from "@root/components/FloatingSupportChat/FloatingSupportChat";
|
2023-05-17 11:20:11 +00:00
|
|
|
import Footer from "@root/components/Footer";
|
|
|
|
import darkTheme from "@root/utils/themes/dark";
|
|
|
|
import Navbar from "@root/components/Navbar/Navbar";
|
2022-11-17 12:25:23 +00:00
|
|
|
|
2023-05-12 08:35:54 +00:00
|
|
|
interface Props {
|
2023-05-25 11:25:44 +00:00
|
|
|
templaterOnly?: boolean;
|
2023-05-12 08:35:54 +00:00
|
|
|
}
|
2022-11-17 12:25:23 +00:00
|
|
|
|
2023-05-12 08:35:54 +00:00
|
|
|
export default function Landing({ templaterOnly = false }: Props) {
|
2023-05-25 11:25:44 +00:00
|
|
|
return (
|
|
|
|
<ThemeProvider theme={darkTheme}>
|
|
|
|
<CssBaseline />
|
|
|
|
<Box
|
|
|
|
sx={{
|
|
|
|
position: "relative",
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Navbar isLoggedIn={false} />
|
|
|
|
<Section1 />
|
|
|
|
<Section2 templaterOnly={templaterOnly} />
|
|
|
|
<Section3 />
|
|
|
|
<Section4 />
|
|
|
|
<Section5 />
|
|
|
|
<Footer />
|
|
|
|
<FloatingSupportChat />
|
|
|
|
</Box>
|
|
|
|
</ThemeProvider>
|
|
|
|
);
|
|
|
|
}
|