Skip to content

Commit

Permalink
Update footer.jsx
Browse files Browse the repository at this point in the history
I have enhanced the UI of footer
  • Loading branch information
Saimanjari777 committed May 25, 2024
1 parent 291e5d7 commit 4ea40de
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 11 deletions.
4 changes: 3 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function App() {
const [progress, setProgress] = useState(0);

return (
<div>
<div className='App'>
<div className="content">
<Router>
<SideBar routes={routes}>
<LoadingBar height={3} color='#f11946' progress={progress} />
Expand All @@ -28,6 +29,7 @@ function App() {
</SideBar>

</Router>
</div>
<Footer/>
</div>
);
Expand Down
55 changes: 47 additions & 8 deletions src/components/Footer/Footer.css
Original file line number Diff line number Diff line change
@@ -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;
}
7 changes: 5 additions & 2 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ const Footer = () => {

return (
<footer>
<div className="footer1">
<div class="social-section">
<h1 className="head">Web Master Log</h1>
<div>
<div className="copy">{${year} All rights Reserved.`}</div>
<div>
<b>Made with by Avdhesh </b>
<b>Made with 💟 by Avdhesh </b>
</div>
</div>
<div class="social">
Expand All @@ -30,7 +33,7 @@ const Footer = () => {
</ul>
</div>
</div>
<div>{`Copyright © Web Master Log ${year}`}</div>
</div>
</footer>
);
};
Expand Down

0 comments on commit 4ea40de

Please sign in to comment.