From 0d24cba399816d93eca9392cde00a1db8d70c45f Mon Sep 17 00:00:00 2001 From: guiprj Date: Mon, 16 Jan 2023 23:53:27 -0300 Subject: [PATCH] feat: criando o header mobile, estilizando e criando funcionalidades, como abrir e fechar menu --- src/App.tsx | 2 + src/assets/bars.svg | 5 + src/assets/exit.svg | 4 + .../ContainerBreadCrumbs/index.tsx | 6 +- .../ContainerBreadCrumbs/style.module.css | 7 + .../Footer/ContainerNewsLetter/index.tsx | 28 ++- .../ContainerNewsLetter/style.module.css | 22 +++ .../Header/ContainerPrincipal/index.tsx | 2 +- src/components/Header/index.tsx | 5 +- src/components/Header/style.module.css | 11 ++ src/components/HeaderMobile/index.tsx | 66 ++++++++ src/components/HeaderMobile/style.module.css | 160 ++++++++++++++++++ src/components/Icon/index.tsx | 47 +++++ src/components/Main/index.tsx | 2 + src/components/Main/style.module.css | 36 +++- src/global.css | 33 +++- src/index.tsx | 3 +- src/pages/Contato/style.module.css | 6 + src/pages/Entrega/style.module.css | 6 + src/pages/FormaPagamento/style.module.css | 6 + .../SegurancaPrivacidade/style.module.css | 6 + src/pages/Sobre/style.module.css | 6 + src/pages/TrocaDevolucao/style.module.css | 6 + 23 files changed, 457 insertions(+), 18 deletions(-) create mode 100644 src/assets/bars.svg create mode 100644 src/assets/exit.svg rename src/components/{Header => }/ContainerBreadCrumbs/index.tsx (78%) rename src/components/{Header => }/ContainerBreadCrumbs/style.module.css (86%) create mode 100644 src/components/Header/style.module.css create mode 100644 src/components/HeaderMobile/index.tsx create mode 100644 src/components/HeaderMobile/style.module.css diff --git a/src/App.tsx b/src/App.tsx index 8f12451..e460567 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import { BrowserRouter } from "react-router-dom" import { Footer } from "./components/Footer"; import { Header } from "./components/Header"; +import { HeaderMobile } from "./components/HeaderMobile"; import { Main } from "./components/Main"; import { TopButton } from "./components/TopButton"; import { WhatsappButton } from "./components/WhatsappButton"; @@ -9,6 +10,7 @@ export function App() { return (
+