import { Box, Link, Typography, useMediaQuery, useTheme } from "@mui/material"; import CustomButton from "@root/components/CustomButton"; import InputTextfield from "@root/components/InputTextfield"; import SectionWrapper from "@root/components/SectionWrapper"; import Download from "../assets/Icons/Download.svg"; import Account from "../assets/Icons/Account.svg"; import { useState } from "react"; export const AccountSetup = () => { const theme = useTheme(); const upMd = useMediaQuery(theme.breakpoints.up("md")); const [avatar, setAvatar] = useState(""); const [name, setName] = useState(""); const [email, setEmail] = useState(""); const [surname, setSurname] = useState(""); const [telephone, setTelephone] = useState(""); const [otchestvo, setOtchestvo] = useState(""); const [password, setPassword] = useState(""); const [сompanyName, setCompanyName] = useState(""); console.log(name); return ( Настройки аккаунта Настройки аккаунта Account Загрузить фото setName(event.target.value)} id="text" label="Имя" gap={upMd ? "15px" : "10px"} color={name ? "#e8badd" : ""} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} /> setEmail(event.target.value)} id="email" label="E-mail" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={email ? "#e8badd" : ""} /> setSurname(event.target.value)} id="password" label="Фамилия" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={surname ? "#e8badd" : ""} /> setTelephone(enent.target.value)} id="password" label="Телефон" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={telephone ? "#e8badd" : ""} /> setOtchestvo(enent.target.value)} id="password" label="Отчество" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={otchestvo ? "#e8badd" : ""} /> setPassword(enent.target.value)} id="email" label="Пароль" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={password ? "#e8badd" : ""} /> setCompanyName(enent.target.value)} id="text" label="Название компании" gap={upMd ? "15px" : "10px"} FormInputSx={{ width: "50%", paddingLeft: "30px", mt: "19px" }} color={сompanyName ? " #e8badd" : ""} /> Download Загрузить документы для юр лиц Download Загрузить документы для НКО Cохранить ); };