2023-11-05 23:33:40 +00:00
|
|
|
|
import { Box, Button, Divider, Typography, useMediaQuery, useTheme } from "@mui/material"
|
|
|
|
|
import PenaLogo from "./PenaLogo"
|
|
|
|
|
import SectionWrapper from "./SectionWrapper"
|
|
|
|
|
import { Link } from "react-router-dom"
|
2022-11-17 12:25:23 +00:00
|
|
|
|
|
|
|
|
|
export default function Footer() {
|
2023-11-05 23:33:40 +00:00
|
|
|
|
const theme = useTheme()
|
|
|
|
|
const upMd = useMediaQuery(theme.breakpoints.up("md"))
|
2022-11-17 12:25:23 +00:00
|
|
|
|
|
2023-11-05 23:33:40 +00:00
|
|
|
|
return (
|
|
|
|
|
<SectionWrapper
|
|
|
|
|
component="footer"
|
|
|
|
|
maxWidth="lg"
|
|
|
|
|
outerContainerSx={{
|
|
|
|
|
backgroundColor: theme.palette.bg.dark,
|
|
|
|
|
}}
|
|
|
|
|
sx={{
|
|
|
|
|
pt: upMd ? "100px" : "80px",
|
|
|
|
|
pb: upMd ? "75px" : "24px",
|
|
|
|
|
px: upMd ? "40px" : "20px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
gap: upMd ? "90px" : undefined,
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: upMd ? "row" : "column",
|
|
|
|
|
width: "100%",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
flexBasis: upMd ? "98px" : "98px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<PenaLogo width={124} color="white" />
|
|
|
|
|
</Box>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: upMd ? "row" : "column",
|
|
|
|
|
flexWrap: "wrap",
|
|
|
|
|
flexGrow: 1,
|
|
|
|
|
flexShrink: 1,
|
|
|
|
|
flexBasis: upMd ? "600px" : undefined,
|
|
|
|
|
alignItems: upMd ? undefined : "start",
|
|
|
|
|
mb: upMd ? undefined : "30px",
|
|
|
|
|
mx: upMd ? "70px" : undefined,
|
|
|
|
|
gap: upMd ? undefined : "18px",
|
2024-03-29 06:39:25 +00:00
|
|
|
|
justifyContent: upMd ? "start" : undefined,
|
2023-11-05 23:33:40 +00:00
|
|
|
|
"& > *": {
|
2024-03-29 06:39:25 +00:00
|
|
|
|
width: upMd ? "50%" : undefined,
|
2023-11-05 23:33:40 +00:00
|
|
|
|
},
|
|
|
|
|
}}
|
|
|
|
|
>
|
2024-01-17 19:22:15 +00:00
|
|
|
|
<Link to="https://hub.pena.digital/docs/oferta" target="_blank">
|
2023-11-05 23:33:40 +00:00
|
|
|
|
<Button variant="pena-navitem-dark">Оферта</Button>
|
|
|
|
|
</Link>
|
2024-01-17 19:22:15 +00:00
|
|
|
|
<Link to="https://hub.pena.digital/docs/privacy" target="_blank">
|
2024-01-16 16:23:21 +00:00
|
|
|
|
<Button variant="pena-navitem-dark">Политика конфиденциальности</Button>
|
|
|
|
|
</Link>
|
2024-03-29 06:39:25 +00:00
|
|
|
|
<Link to="https://hub.pena.digital/docs/ofertaQuizDevelop" target="_blank">
|
|
|
|
|
<Button variant="pena-navitem-dark">Пользовательское соглашение на услугу "Разработка Квиза"</Button>
|
|
|
|
|
</Link>
|
2023-11-05 23:33:40 +00:00
|
|
|
|
{/* <Button variant="pena-navitem-dark">Меню 1</Button>
|
2023-09-01 08:27:14 +00:00
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button>
|
2023-10-24 11:49:39 +00:00
|
|
|
|
<Button variant="pena-navitem-dark">Меню 1</Button> */}
|
2023-11-05 23:33:40 +00:00
|
|
|
|
</Box>
|
|
|
|
|
<Typography
|
|
|
|
|
variant="body2"
|
|
|
|
|
sx={{
|
|
|
|
|
flexBasis: upMd ? "300px" : undefined,
|
|
|
|
|
pr: "5%",
|
|
|
|
|
mb: upMd ? undefined : "36px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
2023-10-24 11:49:39 +00:00
|
|
|
|
ООО Пена© 2023 {new Date().getFullYear() === 2023 ? "" : " - " + new Date().getFullYear()}
|
2023-11-05 23:33:40 +00:00
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
</SectionWrapper>
|
|
|
|
|
)
|
2023-09-01 08:27:14 +00:00
|
|
|
|
}
|