From ae1b2949cefe7e4074581bcdb206dfa9c303527a Mon Sep 17 00:00:00 2001 From: Gabriel Lehmann Date: Fri, 20 Jan 2023 21:31:47 -0300 Subject: [PATCH] feat: added all responsiviness --- src/App.tsx | 20 ++++++++++++ src/assets/svg/Uppage.svg | 4 +++ src/assets/svg/Whatsapp.svg | 11 +++++++ src/components/Footer/styles.module.scss | 11 +++++++ src/components/Header/styles.module.scss | 17 ++++++++++ src/components/OverIcon/index.tsx | 20 ++++++++++++ src/components/OverIcon/styles.module.scss | 37 ++++++++++++++++++++++ 7 files changed, 120 insertions(+) create mode 100644 src/assets/svg/Uppage.svg create mode 100644 src/assets/svg/Whatsapp.svg create mode 100644 src/components/OverIcon/index.tsx create mode 100644 src/components/OverIcon/styles.module.scss diff --git a/src/App.tsx b/src/App.tsx index c163a12..41df510 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,6 +7,10 @@ import Institutional from "./components/Institutional"; import Footer from "./components/Footer"; import { AsideMenuContextProvider } from "./contexts/asideMenuContext"; import AsideMenu from "./components/AsideMenu"; +import OverIcon from "./components/OverIcon"; +import Uppage from "./assets/svg/Uppage.svg"; +import Whatsapp from "./assets/svg/Whatsapp.svg"; +import { url } from "inspector"; const router = createBrowserRouter([ { @@ -26,6 +30,22 @@ function App() {
+ { + window.scrollTo({ top: 0, behavior: "smooth" }); + }, + imgUrl: Uppage, + }, + { + action: () => { + window.open("https://wa.me/5579999959568"); + }, + imgUrl: Whatsapp, + }, + ]} + />