Merge pull request 'feature/development' (#2) from feature/development into main

Reviewed-on: #2
This commit is contained in:
José Carlos Lins 2022-12-30 19:02:20 +00:00
commit 89fc0aaedd
3 changed files with 19 additions and 2 deletions

View File

@ -26,6 +26,13 @@ export default function Contato() {
const [validSubmit, setValidSubmit] = useState(false);
const handleFormikSubmit = (values: IFormikValues) => {
setValidSubmit(true);
values.name = "";
values.email = "";
values.cpf = "";
values.dataNasc = "";
values.phone = "";
values.instagram = "";
};
return (

View File

@ -27,6 +27,10 @@ export const MenuToggle = ({
</div>
<MenuNav />
</div>
<div
onClick={() => setShowMenuToggle((prev) => !prev)}
className={styles.closeMenu}
></div>
</div>
) : null}
</>

View File

@ -7,9 +7,8 @@
left: 0;
z-index: 50;
background: rgba(69, 69, 69, 0.7);
.contentMenuToogle {
position: absolute;
width: 96.4843%;
height: 585px;
@ -43,6 +42,13 @@
}
}
}
.closeMenu {
width: 100%;
height: 100vh;
background: rgba(69, 69, 69, 0.7);
}
}
@media screen and (max-width: 540px) {