diff --git a/package-lock.json b/package-lock.json index 13b2130b..839687c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19924,6 +19924,11 @@ "prop-types": "^15.6.1" } }, + "react-icons": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.2.0.tgz", + "integrity": "sha512-rmzEDFt+AVXRzD7zDE21gcxyBizD/3NqjbX6cmViAgdqfJ2UiLer8927/QhhrXQV7dEj/1EGuOTPp7JnLYVJKQ==" + }, "react-input-autosize": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/react-input-autosize/-/react-input-autosize-2.2.2.tgz", diff --git a/package.json b/package.json index 6b815e10..446995e1 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/HomeViewComponents/FooterSection.js b/src/components/HomeViewComponents/FooterSection.js index efcf3ed4..569fbde3 100644 --- a/src/components/HomeViewComponents/FooterSection.js +++ b/src/components/HomeViewComponents/FooterSection.js @@ -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 ( @@ -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(); @@ -52,11 +46,18 @@ function FooterSection() { learning pattern. - {iconList.map((items, index) => ( - - - - ))} + + + + + + + + + + + + @@ -64,7 +65,7 @@ function FooterSection() { Explore - + Home