Skip to content

Commit

Permalink
Merge pull request Counselllor#773 from Amruta7203/updated
Browse files Browse the repository at this point in the history
Updated Footer
  • Loading branch information
thestarsahil authored Jun 26, 2024
2 parents e32fc02 + 0f1d846 commit 61dba50
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
20 changes: 19 additions & 1 deletion src/components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,29 @@ footer li{
align-items: stretch;
list-style: none;
text-align: center;
position: relative;
}

footer li a:before {
content: "";
position: absolute;
/* display: block; */
width: 100%;
height: 2px;
bottom: 0;
left: 0;
top: 20px;
background-color: #000;
transform: scaleX(0);
transition: transform 0.3s ease;
}

footer li a:hover::before {
transform: scaleX(1);
}

footer li:hover{
cursor: pointer;
text-decoration: underline;
}

#icons{
Expand Down
22 changes: 15 additions & 7 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ function Footer() {
About
</a>
</li>
<li>Blog</li>
<a
<li>
<a
style={{ textDecoration: "none", color: "inherit" }}
href="/">Blog
</a></li>
<li><a
style={{ textDecoration: "none", color: "inherit" }}
href="./help"
>
<li>Help</li>
Help
</a>
</li>
<li>
<a
style={{ textDecoration: "none", color: "inherit" }}
Expand All @@ -45,15 +50,18 @@ function Footer() {
Contact
</a>
</li>
<a

<li>
<a
style={{ textDecoration: "none", color: "inherit" }}
href="./join-us"
>
<li>Join Us</li>
</a>
Join Us
</a>
</li>
<li>
<a
style={{ textDecoration: "none", color: "inherit" }}
style={{display:"flex", justifyContent:"center", textDecoration: "none", color: "inherit" }}
href="./contribute"
>
Our Contributors
Expand Down

0 comments on commit 61dba50

Please sign in to comment.