front-hub/src/pages/Landing/Landing.tsx

35 lines
1.1 KiB
TypeScript
Raw Normal View History

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
interface Props {
templaterOnly?: boolean;
}
2022-11-17 12:25:23 +00:00
export default function Landing({ templaterOnly = false }: Props) {
2022-11-17 12:25:23 +00:00
return (
2023-05-17 11:20:11 +00:00
<ThemeProvider theme={darkTheme}>
<CssBaseline />
<Box sx={{
position: "relative",
}}>
<Navbar isLoggedIn={false} />
<Section1 />
<Section2 templaterOnly={templaterOnly} />
<Section3 />
<Section4 />
<Section5 />
<Footer />
<FloatingSupportChat />
</Box>
</ThemeProvider>
2022-11-17 12:25:23 +00:00
);
}