From 7d578f92826f4f933978bba25505d18aaf618887 Mon Sep 17 00:00:00 2001 From: Nazareno Oviedo Date: Mon, 4 Apr 2022 16:24:01 -0300 Subject: [PATCH] feat: refine UI --- src/components/common/footer/footer.module.scss | 6 +++++- src/components/common/footer/index.tsx | 2 +- .../sections/homepage/benefits/benefits.module.scss | 6 ++++-- src/components/sections/homepage/hero/hero.module.scss | 4 ++++ .../sections/homepage/latest-news/latest-news.module.scss | 2 +- .../homepage/what-others-say/what-others-say.module.scss | 2 +- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/components/common/footer/footer.module.scss b/src/components/common/footer/footer.module.scss index f36307a..9887fb0 100644 --- a/src/components/common/footer/footer.module.scss +++ b/src/components/common/footer/footer.module.scss @@ -117,11 +117,15 @@ .line { position: absolute; - left: 50%; top: 0; + left: calc(50% - (tovw(3px, 'default', 2px) / 2)); width: tovw(3px, 'default', 2px); height: tovw(276px, 'default', 270px); margin: tovw(37px, 'default', 20px) auto tovw(23px, 'default', 20px) auto; + + @media screen and (max-width: 800px) { + display: none; + } } .footer { diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 4da7954..d8d9f3a 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -40,7 +40,7 @@ export const Footer = () => { centered style={{ textTransform: 'capitalize' }} > - Sign-up to our newsletter to stay in touch with
the latest. + Sign-up to our
Newsletter