From c0a409adb39a890e943b80c78b546ce3978443b9 Mon Sep 17 00:00:00 2001 From: HenriqueSSan Date: Thu, 29 Dec 2022 01:12:43 -0300 Subject: [PATCH] feat(footer): created accordion component and styles for medium,small devices --- src/App.tsx | 5 +- src/assets/brands/Boleto.png | Bin 0 -> 817 bytes src/assets/brands/Diners.png | Bin 0 -> 1278 bytes src/assets/brands/Elo.png | Bin 0 -> 885 bytes src/assets/brands/Hiper.png | Bin 0 -> 745 bytes src/assets/brands/Master.png | Bin 0 -> 744 bytes src/assets/brands/Paypal.png | Bin 0 -> 888 bytes src/assets/brands/Visa.png | Bin 0 -> 1000 bytes src/assets/brands/svgs/M3.svg | 4 + src/assets/brands/svgs/Vtex.svg | 7 + src/assets/brands/vtex-pci-200.png | Bin 0 -> 1641 bytes src/components/Accordion/@types/index.d.ts | 22 +++ src/components/Accordion/context/Items.tsx | 27 +++ src/components/Accordion/index.scss | 66 +++++++ src/components/Accordion/index.tsx | 64 +++++++ src/settings/styles/global/_reset.scss | 1 + src/template/Footer/fragments/Lists.tsx | 163 +++++++++++++++++ src/template/Footer/index.module.scss | 203 +++++++++++++++++++++ src/template/Footer/index.tsx | 75 ++++++++ src/template/Header/index.module.scss | 1 + 20 files changed, 637 insertions(+), 1 deletion(-) create mode 100644 src/assets/brands/Boleto.png create mode 100644 src/assets/brands/Diners.png create mode 100644 src/assets/brands/Elo.png create mode 100644 src/assets/brands/Hiper.png create mode 100644 src/assets/brands/Master.png create mode 100644 src/assets/brands/Paypal.png create mode 100644 src/assets/brands/Visa.png create mode 100644 src/assets/brands/svgs/M3.svg create mode 100644 src/assets/brands/svgs/Vtex.svg create mode 100644 src/assets/brands/vtex-pci-200.png create mode 100644 src/components/Accordion/@types/index.d.ts create mode 100644 src/components/Accordion/context/Items.tsx create mode 100644 src/components/Accordion/index.scss create mode 100644 src/components/Accordion/index.tsx create mode 100644 src/template/Footer/fragments/Lists.tsx create mode 100644 src/template/Footer/index.module.scss create mode 100644 src/template/Footer/index.tsx diff --git a/src/App.tsx b/src/App.tsx index 49cf0b4..4a416eb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,6 @@ -import { Introduction } from './pages/Introduction' +import { Footer } from './template/Footer' import { Header } from './template/Header' +import { Introduction } from './pages/Introduction' import './settings/styles/index.scss' @@ -11,6 +12,8 @@ export function App() {
+ +