frontPanel/src/pages/Landing/Collaboration.tsx

69 lines
2.5 KiB
TypeScript
Raw Normal View History

2023-12-31 02:53:25 +00:00
import { useMediaQuery, useTheme, Box, Typography } from "@mui/material";
import SectionStyled from "./SectionStyled";
import SmiLogo from "./images/icons/SmiIcon";
import PenaLogoOnly from "./images/icons/PenaLogoOnly";
export default function Collaboration() {
2023-12-31 02:53:25 +00:00
const theme = useTheme();
const isMobile = useMediaQuery(theme.breakpoints.down(600));
2024-04-25 14:53:43 +00:00
const isTablet = useMediaQuery(theme.breakpoints.down(770));
2023-12-31 02:53:25 +00:00
return (
<SectionStyled
tag={"section"}
bg={"#262835"}
2024-04-25 14:53:43 +00:00
mwidth={"1240px"}
2023-12-31 02:53:25 +00:00
sxcont={{
display: "flex",
justifyContent: "space-between",
alignItems: "flex-start",
2024-04-25 14:53:43 +00:00
padding: isMobile ? "50px 16px" : "80px 40px",
2023-12-31 02:53:25 +00:00
flexDirection: "column",
gap: "25px",
}}
>
<Box
sx={{
display: "flex",
gap: isMobile ? "15px" : "30px",
flexDirection: isMobile ? "column" : "row",
}}
>
<Typography
variant="h6"
fontSize="36px"
color="white"
lineHeight={"normal"}
>
Совместный проект
</Typography>
2024-04-25 14:53:43 +00:00
<Box sx={{ display: "flex", gap: isTablet ? "16px" : "25px" }}>
<SmiLogo width={isTablet ? 151 : 240} />
2023-12-31 02:53:25 +00:00
<Typography variant="h6" fontSize="36px" color="white">
и
</Typography>
2024-04-25 14:53:43 +00:00
<PenaLogoOnly width={isTablet ? 90 : 138} />
2023-12-31 02:53:25 +00:00
</Box>
</Box>
<Box sx={{ maxWidth: "712px" }}>
<Typography
sx={{
fontSize: "18px",
fontStyle: "normal",
fontWeight: 400,
color: "white",
}}
>
Цель двух наших сервисов предоставлять самые качественные сервисы, для
людей которые думают о завтрашнем дне и стремятся к тому, что бы их
бизнес рос и развивался. Поэтому мы решили объединить свои усилия и
теперь каждый дорогой нашему сердцу читатель может после запуска
сервиса получить не только 14 дней{" "}
<span style={{ color: "#BB86FE" }}>бесплатно</span> , но и промокод со{" "}
<span style={{ color: "#BB86FE" }}>скидкой в 20%</span> на любой тариф
сервиса PENA QUIZ
</Typography>
</Box>
</SectionStyled>
);
}