Merge pull request 'feat: adiciona links ao footer' (#18) from feature/main into main

Reviewed-on: #18
This commit is contained in:
Thiago Bronisio Damascena 2023-01-14 16:07:11 +00:00
commit 97e6b59a9a

View File

@ -16,25 +16,25 @@ const LinksFooter = () => {
const [openFaleConosco, setOpenFaleConosco] = useState<boolean>(false);
const handleListInstitucional = () => {
if (window.innerWidth < 1024) {
if (window.innerWidth < 1025) {
setOpenInstitucional(!openInstitucional);
}
};
const handleListDuvidas = () => {
if (window.innerWidth < 1024) {
if (window.innerWidth < 1025) {
setOpenDuvidas(!openDuvidas)
}
}
const handleFaleConosco = () => {
if (window.innerWidth < 1024) {
if (window.innerWidth < 1025) {
setOpenFaleConosco(!openFaleConosco)
}
}
const handleLoadResize = () => {
if (window.innerWidth > 1024) {
if (window.innerWidth > 1025) {
setOpenInstitucional(true)
setOpenDuvidas(true)
setOpenFaleConosco(true)