Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified footer links styling with making home hyperlink #423

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 30 additions & 12 deletions src/components/HomeViewComponents/FooterSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Typography,
} from "@material-ui/core";
import React, { useState } from "react";
import { Link } from "react-router-dom";

function Copyright() {
return (
Expand Down Expand Up @@ -64,44 +65,52 @@ function FooterSection() {
<Box>
<Typography variant="h4">Explore</Typography>
<Box mt={3} className={classes.exploreLinks}>
<Typography gutterBottom variant="h5">
Home
</Typography>
<Typography gutterBottom variant="h5">
<Link className={classes.linkDecoration} to="/">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Home
</Typography>
</Link>
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Courses
</Typography>
<Typography gutterBottom variant="h5">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Special Offers
</Typography>
<Typography variant="h5">Events & Hackathons</Typography>
<Typography className={classes.footerLinks} variant="h5">
Events & Hackathons
</Typography>
</Box>
</Box>
</Grid>
<Grid item xs={12} md={2}>
<Box>
<Typography variant="h4">About</Typography>
<Box mt={3} className={classes.AboutLinks}>
<Typography gutterBottom variant="h5">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Privacy & Policy
</Typography>
<Typography gutterBottom variant="h5">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Terms & Conditions
</Typography>
<Typography gutterBottom variant="h5">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Support
</Typography>
<Typography variant="h5">Career</Typography>
<Typography className={classes.footerLinks} variant="h5">
Career
</Typography>
</Box>
</Box>
</Grid>
<Grid item xs={12} md={2}>
<Box>
<Typography variant="h4">Community</Typography>
<Box mt={3} className={classes.communityLinks}>
<Typography gutterBottom variant="h5">
<Typography className={classes.footerLinks} gutterBottom variant="h5">
Refer a Friend{" "}
</Typography>
<Typography variant="h5">Scholarship</Typography>
<Typography className={classes.footerLinks} variant="h5">
Scholarship
</Typography>
</Box>
</Box>
</Grid>
Expand Down Expand Up @@ -173,6 +182,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",
Expand Down