From 4ea40de38e8fccb77ea67175a70b0b9a47446af9 Mon Sep 17 00:00:00 2001 From: Saimanjari777 Date: Sat, 25 May 2024 14:07:10 +0530 Subject: [PATCH] Update footer.jsx I have enhanced the UI of footer --- src/App.jsx | 4 ++- src/components/Footer/Footer.css | 55 +++++++++++++++++++++++++++----- src/components/Footer/Footer.jsx | 7 ++-- 3 files changed, 55 insertions(+), 11 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 049f9f02..a248337f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -15,7 +15,8 @@ function App() { const [progress, setProgress] = useState(0); return ( -
+
+
@@ -28,6 +29,7 @@ function App() { +
); diff --git a/src/components/Footer/Footer.css b/src/components/Footer/Footer.css index 6da16d43..db3aa60a 100644 --- a/src/components/Footer/Footer.css +++ b/src/components/Footer/Footer.css @@ -1,24 +1,63 @@ -footer { + +html, body, #root { + height: 100%; + margin: 0; + padding: 0; +} + +body { + display: flex; + flex-direction: column; +} + +.App { + display: flex; + flex-direction: column; + flex: 1; +} + +.content { + flex: 1; + padding-bottom: 500px; +} + +.footer1 { position: fixed; - background-color: black; + background-color: rgba(39, 36, 36, 0.741); bottom: 0; - left: 0; + left: 75px; right: 0; - padding: 8px; + padding: 10px; text-align: center; width: 100%; - - border-top: 2px solid white; + border-top: 1px solid #fff; + z-index: 1; } + .social-section { display: flex; flex-direction: row; justify-content: space-around; } + +.social ul { + list-style: none; + padding: 0; + margin-top: 10px; +} + .social ul li { display: inline; padding-left: 30px; + width: 20px; + height: 20px; } -.shoutout { - padding-right: 5px; + +.head { + font-size: 2em; + color: rgb(159, 89, 225); + margin-top: 10px; } +.copy{ + margin-bottom: 10px; +} \ No newline at end of file diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 298553c8..f426776a 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -4,10 +4,13 @@ const Footer = () => { return ( ); };