Skip to content

Commit

Permalink
Enhanced the UI of Footer
Browse files Browse the repository at this point in the history
I have added some description about the website, added subscribe button and changed the social media icons and added some hover effects to it.
  • Loading branch information
Saimanjari777 committed May 25, 2024
1 parent 291e5d7 commit 0c30c6e
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 18 deletions.
57 changes: 48 additions & 9 deletions src/components/Footer/Footer.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,63 @@

footer {
position: fixed;
background-color: black;
background-color: rgb(15, 15, 17);
bottom: 0;
left: 0;
right: 0;
padding: 8px;
text-align: center;
width: 100%;

border-top: 2px solid white;
padding: 16px;
text-align: center;
border-top: 1px solid silver;
}
.foot-left h1{
color: rgb(162, 112, 208);
}
.social-section {
.foot{
display: flex;
flex-direction: row;
justify-content: space-around;
text-align: left;
}
.foot-left{
width: 50%;
}
p{
text-align: justify;
}
.social{
margin-top: 80px;
}
.social-section{
margin-top: 20px;
}
.social ul li {
display: inline;
padding-left: 30px;
margin: 10px 10px;
}
.social ul li:hover svg {
fill: hsl(184, 41%, 36%);
}
.row-flex {
text-align: right;
}
.shoutout {
padding-right: 5px;
input[type="email"] {
padding: 8px;
margin-right: 8px;
border: 1px solid #ccc;
border-radius: 4px;
width: 300px;
}

input[type="submit"] {
padding: 8px 16px;
border: none;
background-color: hsl(184, 41%, 56%);
color: white;
border-radius: 4px;
cursor: pointer;
}

input[type="submit"]:hover {
background-color: hsl(184, 41%, 46%);
}
37 changes: 28 additions & 9 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,52 @@ const Footer = () => {

return (
<footer>
<div class="social-section">
<div>
<div>
<b>Made with ♡ by Avdhesh </b>
</div>
<div className="row-flex">
<input type="email" placeholder="EMAIL ADDRESS" name="email" required />
<input type="submit" placeholder="SUBSCRIBE" name="subscribe" required />
</div>
<div className="foot">
<div className="foot-left">
<h1>Web Master Log</h1>
<p>WebMasterLog serves as a comprehensive record of various web development endeavors,
highlighting the versatility and capabilities of projects built with Front-end and Back-end
Web development technologies. From interactive and responsive user interfaces to dynamic web
applications, this repository encompasses a spectrum of web development solutions</p>
</div>
<div class="social">
<ul>
<li>
<a href="https://www.linkedin.com/in/avdhesh-varshney-5314a4233/">
<i class="fa-brands fa-linkedin fa-lg"></i>
<svg xmlns="http://www.w3.org/2000/svg" width="25px" height="25px" fill="hsl(184, 41%, 56%)" className="bi bi-linkedin" viewBox="0 0 16 16">
<path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"/>
</svg>
</a>
</li>
<li>
<a href="https://twitter.com/__Avdhesh__">
<i class="fa-brands fa-square-x-twitter fa-lg"></i>
<svg xmlns="http://www.w3.org/2000/svg" width="25px" height="25px" fill="hsl(184, 41%, 56%)" className="bi bi-twitter-x" viewBox="0 0 16 16">
<path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"/>
</svg>
</a>
</li>
<li>
<a href="https://github.com/Avdhesh-Varshney">
<i class="fa-brands fa-square-github fa-lg"></i>
<svg xmlns="http://www.w3.org/2000/svg" width="25px" height="25px" fill="hsl(184, 41%,56%)" className="bi bi-github" viewBox="0 0 16 16">
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8"/>
</svg>
</a>
</li>
</ul>
<div class="social-section">
<div>
<div>{${year} All Rights Reserved`}</div>
<div>
<b>Made By Master Web Log </b>
</div>
</div>
</div>
</div>
</div>
<div>{`Copyright © Web Master Log ${year}`}</div>
</footer>
);
};
Expand Down

0 comments on commit 0c30c6e

Please sign in to comment.