From b3c78b575bfa88822e4c3185535f5e3284030e1a Mon Sep 17 00:00:00 2001 From: Amanda Date: Wed, 18 Jan 2023 20:43:36 -0300 Subject: [PATCH] feat(responsividade): adiciona respondividade do footer bottom em telas menores --- src/components/button/Button.tsx | 3 +- src/components/footer/Footer.tsx | 10 ++--- .../footer-bottom/assets/{ => img}/Boleto.png | Bin .../footer-bottom/assets/{ => img}/Diners.png | Bin .../footer-bottom/assets/{ => img}/Elo.png | Bin .../footer-bottom/assets/{ => img}/Hiper.png | Bin .../footer-bottom/assets/{ => img}/Master.png | Bin .../assets/{ => img}/Pagseguro.png | Bin .../footer-bottom/assets/{ => img}/Visa.png | Bin .../assets/{ => img}/vtex-pci-200.png | Bin .../footer-bottom/assets/{ => svg}/M3.svg | 0 .../footer-bottom/assets/{ => svg}/Vtex.svg | 0 .../footer/footer-bottom/autores/autores.tsx | 11 +++--- .../footer/footer-bottom/footer-bottom.tsx | 9 ++--- .../footer/footer-bottom/img-footer/img.tsx | 7 ++-- .../footer/footer-bottom/pagamento/imgs.tsx | 22 +++++------ .../footer/footer-top/Duvidas/Duvidas.tsx | 8 ++-- .../footer-top/Fale-conosco/FaleConosco.tsx | 11 +++--- .../Institucional/Institucional.tsx | 9 ++--- .../footer-top/Rede-social/Icon/Icon.tsx | 7 ++-- .../footer-top/Rede-social/RedeSociais.tsx | 35 +++++++++++++----- .../footer/footer-top/button/button.tsx | 7 ++-- .../footer/footer-top/footerTop.tsx | 11 +++--- .../footer/footer-top/title/Title.tsx | 5 ++- src/components/footer/footer.module.scss | 23 ++++++++++-- .../footer/icon-fixed/icon-fixed.tsx | 4 +- .../footer/icon-fixed/link/Link.tsx | 7 ++-- .../footer/newsletter/Newsletter.tsx | 7 ++-- src/components/footer/text/Text.tsx | 6 +-- src/pages/Home.tsx | 2 +- 30 files changed, 119 insertions(+), 85 deletions(-) rename src/components/footer/footer-bottom/assets/{ => img}/Boleto.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Diners.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Elo.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Hiper.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Master.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Pagseguro.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/Visa.png (100%) rename src/components/footer/footer-bottom/assets/{ => img}/vtex-pci-200.png (100%) rename src/components/footer/footer-bottom/assets/{ => svg}/M3.svg (100%) rename src/components/footer/footer-bottom/assets/{ => svg}/Vtex.svg (100%) diff --git a/src/components/button/Button.tsx b/src/components/button/Button.tsx index ef5bb47..a56be77 100644 --- a/src/components/button/Button.tsx +++ b/src/components/button/Button.tsx @@ -7,6 +7,7 @@ interface ButtonProps { } const Button = (props: ButtonProps) => { + const { text } = props; return (