2023-10-04 22:21:17 +00:00
|
|
|
|
import React from 'react';
|
|
|
|
|
import Box from '@mui/material/Box';
|
2023-10-10 22:22:03 +00:00
|
|
|
|
import {Typography, useMediaQuery, useTheme} from "@mui/material";
|
2023-10-04 22:21:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function Counter() {
|
2023-10-10 22:22:03 +00:00
|
|
|
|
const theme = useTheme();
|
|
|
|
|
const isMobile = useMediaQuery(theme.breakpoints.down(600));
|
2023-10-11 13:17:10 +00:00
|
|
|
|
const isTablet = useMediaQuery(theme.breakpoints.down(1000))
|
2023-10-04 22:21:17 +00:00
|
|
|
|
return(
|
2023-10-10 22:22:03 +00:00
|
|
|
|
<Box
|
2023-10-23 09:37:47 +00:00
|
|
|
|
component={"section"}
|
2023-10-04 22:21:17 +00:00
|
|
|
|
sx={{
|
|
|
|
|
width: '100%',
|
|
|
|
|
fontFamily: 'Rubik',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
justifyContent: 'center',
|
2023-10-23 09:37:47 +00:00
|
|
|
|
alignItems: 'flex-start',
|
|
|
|
|
height: isMobile ? "606px" : isTablet ? "430px" : "208px",
|
2023-10-10 22:22:03 +00:00
|
|
|
|
boxSizing: "border-box",
|
2023-10-11 13:17:10 +00:00
|
|
|
|
padding: isTablet ? "0 40px" : undefined,
|
2023-10-23 09:37:47 +00:00
|
|
|
|
backgroundColor: "#333647"
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
maxWidth: '1160px',
|
2023-10-11 13:17:10 +00:00
|
|
|
|
height: isMobile ? "587px" : isTablet ? "341px" : "190px",
|
2023-10-04 22:21:17 +00:00
|
|
|
|
display: 'flex',
|
|
|
|
|
justifyContent: 'space-between',
|
2023-10-11 13:17:10 +00:00
|
|
|
|
alignItems: isTablet ? 'start' : 'center',
|
2023-10-04 22:21:17 +00:00
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
|
backgroundColor: '#7E2AEA',
|
|
|
|
|
color: '#ffffff',
|
|
|
|
|
borderRadius: '8px',
|
|
|
|
|
boxSizing: "border-box",
|
2023-10-11 13:17:10 +00:00
|
|
|
|
padding: isMobile ? '42px 60px 30px 35px' : isTablet ? '37px 99px 0px 100px' : '30px 60px 30px 20px',
|
2023-10-04 22:21:17 +00:00
|
|
|
|
width: '100%',
|
2023-10-23 09:37:47 +00:00
|
|
|
|
marginTop: isMobile ? "-50px" : isTablet ? "45px" : "-41px",
|
2023-10-11 13:17:10 +00:00
|
|
|
|
rowGap: isMobile ? undefined : (isTablet ? '51px' : undefined),
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
2023-10-11 13:17:10 +00:00
|
|
|
|
width: isTablet ? '305px' : '203px',
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
2023-10-10 22:22:03 +00:00
|
|
|
|
<Typography variant='h3' fontSize={isMobile ? '42px' : '50px'} fontWeight={'500'}>14 дней</Typography>
|
2023-10-04 22:21:17 +00:00
|
|
|
|
<Typography> бесплатно, полный функционал</Typography>
|
|
|
|
|
</Box>
|
2023-10-11 13:17:10 +00:00
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
width: isTablet ? '305px' : undefined
|
|
|
|
|
}}
|
|
|
|
|
>
|
2023-10-10 22:22:03 +00:00
|
|
|
|
<Typography variant='h3' fontSize={isMobile ? '42px' : '50px'} fontWeight={'500'}>5 мин</Typography>
|
2023-10-04 22:21:17 +00:00
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
2023-10-11 13:17:10 +00:00
|
|
|
|
width: isTablet ? '200px' : '131px',
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Typography >для создания квиза</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
2023-10-11 13:17:10 +00:00
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
width: isTablet ? '305px' : undefined
|
|
|
|
|
}}
|
|
|
|
|
>
|
2023-10-10 22:22:03 +00:00
|
|
|
|
<Typography variant='h3' fontSize={isMobile ? '42px' : '50px'} fontWeight={'500'}>482 800</Typography>
|
2023-10-04 22:21:17 +00:00
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
2023-10-11 13:17:10 +00:00
|
|
|
|
width: isMobile? '200px' : (isTablet ? '250px' : '200px'),
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Typography >квизов создано клиентами</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
2023-10-11 13:17:10 +00:00
|
|
|
|
width: isTablet ? '305px' : '177px',
|
2023-10-04 22:21:17 +00:00
|
|
|
|
}}
|
|
|
|
|
>
|
2023-10-10 22:22:03 +00:00
|
|
|
|
<Typography variant='h3' fontSize={isMobile ? '42px' : '50px'} fontWeight={'500'}>760</Typography>
|
2023-10-04 22:21:17 +00:00
|
|
|
|
<Typography>готовых шаблонов для разных ниш</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
2023-10-10 22:22:03 +00:00
|
|
|
|
</Box>
|
2023-10-04 22:21:17 +00:00
|
|
|
|
)
|
|
|
|
|
}
|