Skip to content

Enhance Footer Links and Styling for Better User Interaction #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
FaInstagram,
FaLinkedinIn,
} from "react-icons/fa";
import { Link } from "react-router-dom";

export default function Footer() {
return (
Expand All @@ -16,17 +17,31 @@ export default function Footer() {
<Col md={4}>
<h5>Company</h5>
<ul className="list-unstyled">
<li>About Us</li>
<li>Careers</li>
<li>Contact Us</li>
<li>
<Link to="/about" className="footer-link">
About Us
</Link>
</li>
<li>
<Link to="/contact" className="footer-link">
Contact Us
</Link>
</li>
</ul>
</Col>
<Col md={4}>
<h5>Quick Links</h5>
<ul className="list-unstyled">
<li>Home</li>
<li>Services</li>
<li>Blog</li>
<li>
<Link to="/" className="footer-link">
Home
</Link>
</li>
<li>
<Link to="/signup" className="footer-link">
Sign Up
</Link>
</li>
</ul>
</Col>
<Col md={4}>
Expand Down
17 changes: 16 additions & 1 deletion src/styles/components/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
.footer h5 {
color: #f8f9fa;
margin-bottom: 20px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
}

.footer ul {
Expand All @@ -18,6 +21,17 @@
margin-bottom: 10px;
}

.footer .footer-link {
color: #f8f9fa;
text-decoration: none;
transition: color 0.3s ease, transform 0.3s ease;
}

.footer .footer-link:hover {
color: #007bff;
transform: translateX(5px);
}

.footer .social-icons {
display: flex;
justify-content: space-around;
Expand All @@ -27,11 +41,12 @@
.footer .social-icon {
color: #f8f9fa;
font-size: 20px;
transition: color 0.3s ease;
transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icon:hover {
color: #007bff;
transform: scale(1.2);
}

.footer p {
Expand Down
Loading