From 6e7623edb3d71c93447c719d0e1d228fd01a9c1a Mon Sep 17 00:00:00 2001 From: Aswin Asok Date: Thu, 22 Jun 2023 17:37:26 +0530 Subject: [PATCH 1/2] fix(navbar):mobile-link-added-updations --- src/Components/Navbar/Mobile.jsx | 13 ++++++++++-- src/Components/Navbar/Mylinks.jsx | 18 ++++++++-------- src/Pages/CampusChapters/CampusChapters.jsx | 2 +- src/Pages/Home/Home.jsx | 23 ++++++++++++++------- src/Pages/Home/Home.module.css | 19 ++++++++++++++++- 5 files changed, 55 insertions(+), 20 deletions(-) diff --git a/src/Components/Navbar/Mobile.jsx b/src/Components/Navbar/Mobile.jsx index f17a1db67..ca02f45cd 100644 --- a/src/Components/Navbar/Mobile.jsx +++ b/src/Components/Navbar/Mobile.jsx @@ -150,7 +150,9 @@ export const MobileNavHeader = ({ visible, test1 }) => { test1(link); }} > -

{link.name}

+ +

{link.name}

+
{ @@ -219,7 +221,14 @@ export const MobileSubHeader = ({ currentLink, goBack }) => { goBack()}> -
{currentLink.name}
+ {currentLink.link ? ( + +
{currentLink.name}
+
+ ) : ( +
{currentLink.name}
+ )} +
); diff --git a/src/Components/Navbar/Mylinks.jsx b/src/Components/Navbar/Mylinks.jsx index fff76a107..b07cdc8d2 100644 --- a/src/Components/Navbar/Mylinks.jsx +++ b/src/Components/Navbar/Mylinks.jsx @@ -184,8 +184,15 @@ export const links = [ link: "/campuschapters", sublinks: [ { - name: "User Journey", - link: "/journey", + name: "Lead a Campus", + link: "https://airtable.com/shrmtngt3zopg8eVh", + submenu: false, + sublinks: [], + foreign: false, + }, + { + name: "Find Your Campus", + link: "/campuschapters#findchapter", submenu: false, sublinks: [], foreign: false, @@ -211,13 +218,6 @@ export const links = [ name: "The Orientation", submenu: true, sublinks: [ - { - name: "Lead a Campus", - link: "https://airtable.com/shrmtngt3zopg8eVh", - submenu: false, - sublinks: [], - foreign: false, - }, { name: "Typing Mastery", link: mainlink + "/challenge/typing", diff --git a/src/Pages/CampusChapters/CampusChapters.jsx b/src/Pages/CampusChapters/CampusChapters.jsx index 561d2d4cd..c9dc3371e 100644 --- a/src/Pages/CampusChapters/CampusChapters.jsx +++ b/src/Pages/CampusChapters/CampusChapters.jsx @@ -119,7 +119,7 @@ const CampusChapters = () => { {/*Added updated contents from levels component*/} -
+

diff --git a/src/Pages/Home/Home.jsx b/src/Pages/Home/Home.jsx index a91efa98d..99beb67f6 100644 --- a/src/Pages/Home/Home.jsx +++ b/src/Pages/Home/Home.jsx @@ -27,13 +27,22 @@ const Home = () => { shackles you have grounded yourself in.

- - - +
Date: Tue, 27 Jun 2023 23:24:36 +0530 Subject: [PATCH 2/2] fix(content):minor-fixes --- src/Pages/Home/Home.jsx | 2 +- src/Pages/Home/Home.module.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pages/Home/Home.jsx b/src/Pages/Home/Home.jsx index 99beb67f6..41608cb92 100644 --- a/src/Pages/Home/Home.jsx +++ b/src/Pages/Home/Home.jsx @@ -40,7 +40,7 @@ const Home = () => { rel="noopener noreferrer" href="https://mulearn.org/journey" > - +
diff --git a/src/Pages/Home/Home.module.css b/src/Pages/Home/Home.module.css index e8e91c0e3..89247b3fc 100644 --- a/src/Pages/Home/Home.module.css +++ b/src/Pages/Home/Home.module.css @@ -88,7 +88,7 @@ a { background-color: #ffffff; color: #f78c40; padding: 0.6rem 2.75rem; - border: 2px solid #f78c40; + border: 2px solid #f59d5e; } @media only screen and (min-width: 1000px) {