2023-08-27 17:46:42 +00:00
|
|
|
import { Box, CssBaseline, ThemeProvider, useTheme, useMediaQuery } 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";
|
2023-07-31 21:20:17 +00:00
|
|
|
import Navbar from "@root/components/NavbarOld/Navbar";
|
2023-08-22 10:28:22 +00:00
|
|
|
import { theme } from "@root/utils/theme";
|
2022-11-17 12:25:23 +00:00
|
|
|
|
2023-08-23 12:23:35 +00:00
|
|
|
export default function Landing() {
|
2023-08-25 13:26:32 +00:00
|
|
|
const muiTheme = useTheme();
|
|
|
|
const isTablet = useMediaQuery(muiTheme.breakpoints.down(900));
|
|
|
|
|
|
|
|
return (
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
<CssBaseline />
|
|
|
|
<Box
|
|
|
|
sx={{
|
|
|
|
position: "relative",
|
|
|
|
paddingTop: isTablet ? "51px" : "80px",
|
|
|
|
color: "white",
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Navbar isLoggedIn={false} />
|
|
|
|
<Section1 />
|
|
|
|
<Section2 />
|
|
|
|
<Section3 />
|
|
|
|
<Section4 />
|
|
|
|
<Section5 />
|
|
|
|
<Footer />
|
|
|
|
<FloatingSupportChat />
|
|
|
|
</Box>
|
|
|
|
</ThemeProvider>
|
|
|
|
);
|
2023-05-25 11:25:44 +00:00
|
|
|
}
|