diff --git a/src/components/Footer/FooterTop/FooterTop.module.scss b/src/components/Footer/FooterTop/FooterTop.scss similarity index 80% rename from src/components/Footer/FooterTop/FooterTop.module.scss rename to src/components/Footer/FooterTop/FooterTop.scss index dea2650..300deb7 100644 --- a/src/components/Footer/FooterTop/FooterTop.module.scss +++ b/src/components/Footer/FooterTop/FooterTop.scss @@ -32,6 +32,8 @@ @media #{$mq-tablet}, #{$mq-mobile} { margin: 0; + width: 100%; + align-items: flex-start; } &__title { @@ -49,7 +51,35 @@ @media #{$mq-desktop}, #{$mq-tablet}, #{$mq-mobile} { font-size: 14px; line-height: 16px; + } + @media #{$mq-tablet}, #{$mq-mobile} { + display: flex; + align-items: center; + justify-content: space-between; + + &::after { + content: '+'; + font-family: $font-family; + font-style: normal; + font-weight: 500; + font-size: 14px; + line-height: 16px; + text-transform: uppercase; + color: $color-black-500; + + } + } + + &.opened { + &::after { + content: '-'; + } + } + + &.opened ~ .footer__top__block__item-list{ + display: flex; + margin-bottom: 12px; } } diff --git a/src/components/Footer/FooterTop/FooterTop.tsx b/src/components/Footer/FooterTop/FooterTop.tsx index c0ba663..b46572a 100644 --- a/src/components/Footer/FooterTop/FooterTop.tsx +++ b/src/components/Footer/FooterTop/FooterTop.tsx @@ -1,4 +1,6 @@ -import styles from './FooterTop.module.scss' +import { useState } from 'react'; + +import './FooterTop.scss' import facebook from '../../../assets/imgs/logo-facebook.png'; import instagram from '../../../assets/imgs/logo-instagram.png'; @@ -7,118 +9,140 @@ import youtube from '../../../assets/imgs/logo-youtube.png'; import linkedin from '../../../assets/imgs/logo-linkedin.png'; const FooterTop = () => { - return ( -
-
-
-

INSTITUCIONAL

-