frontPanel/src/pages/Landing/Landing.tsx

41 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-10-04 22:21:17 +00:00
import React from 'react';
import {CssBaseline, useMediaQuery, useTheme} from "@mui/material";
2023-10-04 22:21:17 +00:00
import Header from './HeaderLanding';
import Footer from './FooterLanding';
import Hero from './Hero';
import Questions from './Questions';
import Counter from './Counter';
import Blog from './Blog';
import HowItWorks from './HowItWorks';
import BusinessPluses from './BusinessPluses';
import HowToUse from './HowToUse';
import WhatTheySay from './WhatTheySay';
import StartWithTemplates from './StartWithTemplates';
import WhatTheFeatures from './WhatTheFeatures';
import FullScreenDialog from "./headerMobileLanding";
2023-10-04 22:21:17 +00:00
export default function Landing() {
const theme = useTheme();
const isTablet = useMediaQuery(theme.breakpoints.down(1000));
2023-10-04 22:21:17 +00:00
return (
<>
<CssBaseline />
{isTablet ? <FullScreenDialog/> : <Header/> }
2023-10-04 22:21:17 +00:00
<Hero/>
<Counter/>
<HowItWorks/>
<BusinessPluses/>
<HowToUse/>
{/*<WhatTheySay/>*/}
{/*<StartWithTemplates/>*/}
2023-10-04 22:21:17 +00:00
<WhatTheFeatures/>
{/*<Blog/>*/}
2023-10-04 22:21:17 +00:00
<Questions/>
<Footer />
</>
)
}