From 708112a6004a4d94be8b65883822a10d512025d1 Mon Sep 17 00:00:00 2001 From: Hemant Date: Sun, 28 Aug 2022 11:29:14 +0530 Subject: [PATCH 1/2] Modified footer links styling with making home hyperlink --- .../HomeViewComponents/FooterSection.js | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/src/components/HomeViewComponents/FooterSection.js b/src/components/HomeViewComponents/FooterSection.js index efcf3ed4..72aba1d7 100644 --- a/src/components/HomeViewComponents/FooterSection.js +++ b/src/components/HomeViewComponents/FooterSection.js @@ -6,9 +6,10 @@ import { IconButton, makeStyles, Switch, - Typography, + Typography } from "@material-ui/core"; import React, { useState } from "react"; +import { Link } from "react-router-dom"; function Copyright() { return ( @@ -64,16 +65,18 @@ function FooterSection() { Explore - - Home - - + + + Home + + + Courses - + Special Offers - Events & Hackathons + Events & Hackathons @@ -81,16 +84,16 @@ function FooterSection() { About - + Privacy & Policy - + Terms & Conditions - + Support - Career + Career @@ -98,10 +101,10 @@ function FooterSection() { Community - + Refer a Friend{" "} - Scholarship + Scholarship @@ -173,6 +176,15 @@ const useStyles = makeStyles((theme) => ({ appleStore: { cursor: "pointer", }, + footerLinks: { + cursor: "pointer", + "&:hover": { + color: theme.palette.primary.main, + } + }, + linkDecoration: { + textDecoration: "none", + }, darkModeSwitcher: { display: "flex", alignItems: "center", From dc8b6b4b4549a640152a797dc551fd88f3b7e1ae Mon Sep 17 00:00:00 2001 From: Hemant Date: Sun, 28 Aug 2022 12:15:11 +0530 Subject: [PATCH 2/2] Fixed prettier issue --- .../HomeViewComponents/FooterSection.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/HomeViewComponents/FooterSection.js b/src/components/HomeViewComponents/FooterSection.js index 72aba1d7..fa0f5ddc 100644 --- a/src/components/HomeViewComponents/FooterSection.js +++ b/src/components/HomeViewComponents/FooterSection.js @@ -6,7 +6,7 @@ import { IconButton, makeStyles, Switch, - Typography + Typography, } from "@material-ui/core"; import React, { useState } from "react"; import { Link } from "react-router-dom"; @@ -76,7 +76,9 @@ function FooterSection() { Special Offers - Events & Hackathons + + Events & Hackathons + @@ -93,7 +95,9 @@ function FooterSection() { Support - Career + + Career + @@ -104,7 +108,9 @@ function FooterSection() { Refer a Friend{" "} - Scholarship + + Scholarship + @@ -180,7 +186,7 @@ const useStyles = makeStyles((theme) => ({ cursor: "pointer", "&:hover": { color: theme.palette.primary.main, - } + }, }, linkDecoration: { textDecoration: "none",