дизайн модалки
This commit is contained in:
parent
c60b986912
commit
8717b1b10a
@ -4,6 +4,7 @@ import Button from '@mui/material/Button';
|
|||||||
import SectionStyled from './SectionStyled';
|
import SectionStyled from './SectionStyled';
|
||||||
import PenaLogo from "../../ui_kit/PenaLogo";
|
import PenaLogo from "../../ui_kit/PenaLogo";
|
||||||
import NavMenuItem from "@ui_kit/Header/NavMenuItem";
|
import NavMenuItem from "@ui_kit/Header/NavMenuItem";
|
||||||
|
import { setIsContactFormOpen } from "../../stores/contactForm";
|
||||||
|
|
||||||
const buttonMenu = ['Меню 1', 'Меню 2', 'Меню 3', 'Меню 4', 'Меню 5', 'Меню 1', 'Меню 2']
|
const buttonMenu = ['Меню 1', 'Меню 2', 'Меню 3', 'Меню 4', 'Меню 5', 'Меню 1', 'Меню 2']
|
||||||
|
|
||||||
@ -49,6 +50,7 @@ export default function Component() {
|
|||||||
))}
|
))}
|
||||||
</Box>
|
</Box>
|
||||||
<Button variant="outlined"
|
<Button variant="outlined"
|
||||||
|
onClick={() => setIsContactFormOpen(true)}
|
||||||
sx={{
|
sx={{
|
||||||
color: 'black',
|
color: 'black',
|
||||||
border: '1px solid black',
|
border: '1px solid black',
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import abstraction from '../../assets/Quiz-main.png'
|
|||||||
import SectionStyled from './SectionStyled';
|
import SectionStyled from './SectionStyled';
|
||||||
import {styled} from "@mui/material/styles";
|
import {styled} from "@mui/material/styles";
|
||||||
import { Link, redirect } from 'react-router-dom';
|
import { Link, redirect } from 'react-router-dom';
|
||||||
import { setIsContactFormOpen } from "../../stores/contactForm";
|
|
||||||
|
|
||||||
export default function Component() {
|
export default function Component() {
|
||||||
return(
|
return(
|
||||||
@ -48,7 +47,6 @@ export default function Component() {
|
|||||||
</Box>
|
</Box>
|
||||||
<Link to="/list" style={{textDecoration: "none"}}>
|
<Link to="/list" style={{textDecoration: "none"}}>
|
||||||
<Button variant="contained"
|
<Button variant="contained"
|
||||||
onClick={() => setIsContactFormOpen(true)}
|
|
||||||
>
|
>
|
||||||
Попробуйте бесплатно
|
Попробуйте бесплатно
|
||||||
|
|
||||||
|
|||||||
@ -48,6 +48,7 @@ export default () => {
|
|||||||
pb: upMd ? "40px" : "30px",
|
pb: upMd ? "40px" : "30px",
|
||||||
gap: "15px",
|
gap: "15px",
|
||||||
borderRadius: "12px",
|
borderRadius: "12px",
|
||||||
|
boxSizing: "border-box",
|
||||||
"& .MuiFormHelperText-root.Mui-error, & .MuiFormHelperText-root.Mui-error.MuiFormHelperText-filled":
|
"& .MuiFormHelperText-root.Mui-error, & .MuiFormHelperText-root.Mui-error.MuiFormHelperText-filled":
|
||||||
{
|
{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
@ -71,21 +72,27 @@ export default () => {
|
|||||||
</Box>
|
</Box>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
mt: "5px",
|
mt: "0px",
|
||||||
mb: upMd ? "10px" : "33px",
|
mb: upMd ? "13px" : "33px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Предрегистрация
|
Предрегистрация
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography
|
||||||
|
sx={{textAlign: "left",
|
||||||
|
width: "100%",
|
||||||
|
fontWeight: 500
|
||||||
|
}}
|
||||||
|
>E-mail</Typography>
|
||||||
<TextField
|
<TextField
|
||||||
value={mail}
|
value={mail}
|
||||||
onChange={(e) => setContactFormMailField(e.target.value)}
|
onChange={(e) => setContactFormMailField(e.target.value)}
|
||||||
placeholder="Имя"
|
placeholder="username@penahaub.com"
|
||||||
name="name"
|
name="name"
|
||||||
fullWidth
|
fullWidth
|
||||||
sx={{
|
sx={{
|
||||||
width: isMobile ? "266px" : "300px",
|
width: isMobile ? "266px" : "100%",
|
||||||
mt: "25px",
|
// mt: "25px",
|
||||||
mb: "10px",
|
mb: "10px",
|
||||||
"& .MuiInputBase-root": {
|
"& .MuiInputBase-root": {
|
||||||
backgroundColor: "#F2F3F7",
|
backgroundColor: "#F2F3F7",
|
||||||
@ -103,6 +110,7 @@ export default () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
variant='contained'
|
||||||
fullWidth
|
fullWidth
|
||||||
onClick={handleSendForm}
|
onClick={handleSendForm}
|
||||||
sx={{
|
sx={{
|
||||||
@ -119,8 +127,10 @@ export default () => {
|
|||||||
</Button>
|
</Button>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
mt: "5px",
|
mt: "16px",
|
||||||
mb: upMd ? "10px" : "33px",
|
mb: upMd ? "10px" : "33px",
|
||||||
|
textAlign: "center",
|
||||||
|
maxWidth: "440px"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
После запуска продукта вам придет сообщение
|
После запуска продукта вам придет сообщение
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user