From 3c4a5fccb89ef38fd5b3fbd7a91db31076a67d85 Mon Sep 17 00:00:00 2001 From: Nikita Gupta Date: Fri, 25 Mar 2022 19:15:25 +0530 Subject: [PATCH 1/2] feat(): added footer --- src/App.js | 4 +++ src/components/Footer/Footer.css | 56 ++++++++++++++++++++++++++++++++ src/components/Footer/Footer.js | 18 ++++++++++ 3 files changed, 78 insertions(+) create mode 100644 src/components/Footer/Footer.css create mode 100644 src/components/Footer/Footer.js diff --git a/src/App.js b/src/App.js index 61874a2..b6d482a 100644 --- a/src/App.js +++ b/src/App.js @@ -7,6 +7,7 @@ import HourlyForecast from "./components/HourlyForecast/HourlyForecast.js"; import Suggestions from "./components/SuggestedItems/SuggestedItems"; import SongRecommendation from "./components/SongRecommendation/SongRecommendation"; import Background from "./components/Background"; +import Footer from "./components/Footer/Footer" const App = () => { const [error, setError] = useState(null); @@ -208,6 +209,9 @@ const App = () => { {fooditems && } +
+
+
); } diff --git a/src/components/Footer/Footer.css b/src/components/Footer/Footer.css new file mode 100644 index 0000000..32a2c27 --- /dev/null +++ b/src/components/Footer/Footer.css @@ -0,0 +1,56 @@ +.MLHFooter { + padding: 20px; + border-bottom: 2px solid #888; + background-color: #133667; + margin-bottom: 0%; + margin-top: 10%; +} + +.text-center { + align-content: center; +} + +.MLHFooter .fa { + padding: 15px; + font-size: 18px; + width: 30px; + text-align: center; + text-decoration: none; + margin: 5px 10px 15px 10px; + border-radius: 50%; +} + +.MLHFooter .fa:hover { + opacity: 0.7; +} + + +.MLHFooter .fa-facebook { + background: #3B5998; + color: white; +} + +.MLHFooter .fa-twitter { + background: #55ACEE; + color: white; +} + +.MLHFooter .fa-linkedin { + background: #007bb5; + color: white; +} + +.MLHFooter .fa-youtube { + background: #bb0000; + color: white; +} + +.MLHFooter .fa-instagram { + background: #125688; + color: white; +} + +.MLHFooter .copyright{ + font-size:16px; + color:#aaa; +} \ No newline at end of file diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js new file mode 100644 index 0000000..bd2cca0 --- /dev/null +++ b/src/components/Footer/Footer.js @@ -0,0 +1,18 @@ +import './Footer.css' + +const Footer = () => { + return ( +
+ + + + + +
+ +
+
+ ); +}; + +export default Footer; \ No newline at end of file From bcc1d1d855f8ded84ec7e6128fd8e0b42cf8361f Mon Sep 17 00:00:00 2001 From: Nikita Gupta Date: Fri, 25 Mar 2022 19:18:47 +0530 Subject: [PATCH 2/2] feat(): added footer --- src/components/Footer/Footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js index bd2cca0..1321f71 100644 --- a/src/components/Footer/Footer.js +++ b/src/components/Footer/Footer.js @@ -9,7 +9,7 @@ const Footer = () => {
- +
);