From 470b5dff74466a2fe18ed981ac11d368ae59d7bb Mon Sep 17 00:00:00 2001 From: Anton Mushnin Date: Tue, 20 Dec 2022 18:15:17 +0300 Subject: [PATCH] layout --- frontend/pages/index.js | 49 ++++++------------------ frontend/src/components/Footer.js | 12 ++++-- frontend/src/components/LandingNavbar.js | 12 ++---- 3 files changed, 25 insertions(+), 48 deletions(-) diff --git a/frontend/pages/index.js b/frontend/pages/index.js index a8d34afb..7932428d 100644 --- a/frontend/pages/index.js +++ b/frontend/pages/index.js @@ -138,13 +138,15 @@ const Homepage = () => { id="page:landing" bgColor={BACKGROUND_COLOR} textColor="white" + px="7%" > @@ -166,17 +168,12 @@ const Homepage = () => { align="center" justify="center" boxSize="full" - pt={["90px", "142px"]} + pt={["130px", "152px"]} pb={10} px="5%" flexDir="column" > - + { "row", ]} pb={10} + fontSize={["16px", "16px", "20px"]} >
- + { textAlign="center" direction={["column", "column", "row"]} > - + { - +
{
- + FAQ @@ -911,7 +893,6 @@ const Homepage = () => { {
- + { borderTop="1px" borderColor="white" px="7%" + // maxW="1238px" + mx="auto" > - + @@ -95,7 +97,11 @@ const Footer = () => { )} - + Follow Us @@ -143,7 +149,7 @@ const Footer = () => { {Object.values(SITEMAP).map((category, colIndex) => { return ( diff --git a/frontend/src/components/LandingNavbar.js b/frontend/src/components/LandingNavbar.js index e8831f05..0a4637c5 100644 --- a/frontend/src/components/LandingNavbar.js +++ b/frontend/src/components/LandingNavbar.js @@ -31,14 +31,10 @@ const LandingNavbar = () => { <> {ui.isMobileView && } {!ui.isMobileView && ( - <> + - + {SITEMAP.map((item, idx) => { return ( @@ -128,7 +124,7 @@ const LandingNavbar = () => { ); })} - + {ui.isLoggedIn && ( { )} - + )} );