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

the elements of the footer are now redirecting to the respective page for … #409

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"react-firebaseui": "^4.1.0",
"react-helmet": "^5.2.1",
"react-hook-form": "^7.1.1",
"react-icons": "^4.2.0",
"react-markdown": "^4.3.1",
"react-material-ui-carousel": "^2.2.1",
"react-modal-sheet": "^1.3.2",
Expand Down
27 changes: 14 additions & 13 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 {FaInstagram,FaYoutube,FaTwitter,FaGithub} from "react-icons/fa";

function Copyright() {
return (
Expand All @@ -18,13 +19,6 @@ function Copyright() {
);
}

const iconList = [
"/assets/icon/social icons/twitter.svg",
"/assets/icon/social icons/linkedIn.svg",
"/assets/icon/social icons/github.svg",
"/assets/icon/social icons/youtube_icon.svg",
];

function FooterSection() {
const classes = useStyles();

Expand Down Expand Up @@ -52,19 +46,26 @@ function FooterSection() {
learning pattern.
</Typography>
<Box className={classes.buttonContainer}>
{iconList.map((items, index) => (
<IconButton key={index} className={classes.socialButtons}>
<img src={items} />
</IconButton>
))}
<IconButton href="https://www.instagram.com/codeforcause/" target="_blank" aria-label="FaceBook">
<FaInstagram />
</IconButton>
<IconButton href="https://www.youtube.com/c/CodeforCause" target="_blank" aria-label="YouTube">
<FaYoutube />
</IconButton>
<IconButton href="https://twitter.com/codeforcauseIn?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" target="_blank" aria-label="Twitter">
<FaTwitter />
</IconButton>
<IconButton href="https://github.com/codeforcauseorg/edu-client" target="_blank" aria-label="Github">
<FaGithub/>
</IconButton>
</Box>
</Box>
</Grid>
<Grid item xs={12} md={2}>
<Box>
<Typography variant="h4">Explore</Typography>
<Box mt={3} className={classes.exploreLinks}>
<Typography gutterBottom variant="h5">
<Typography gutterBottom variant="h5" >
Home
</Typography>
<Typography gutterBottom variant="h5">
Expand Down