Style Footer

This commit is contained in:
Jake Runyan 2024-12-29 20:17:26 -10:00
parent efb04c2ae2
commit 64acd0b61c
2 changed files with 41 additions and 10 deletions

View File

@ -1,12 +1,32 @@
.footer { .footer {
background-color: #333; display: flex;
text-align: center; justify-content: space-evenly;
padding: 10px 0; align-items: center;
position: relative; background-color: #0b0b0b;
bottom: 0; /* Stick to the bottom */ color: white;
width: 100%; padding: 10px 20px;
} }
.footer p { .footer-links {
color: #d4d1c6; display: flex;
flex-direction: column;
align-items: center;
}
.footer-links a {
color: gray;
text-decoration: none;
margin: 5px 0;
user-select: none;
outline: none;
}
.footer-links a:hover {
text-decoration: none;
opacity: 0.8;
}
.footer-title {
text-align: center;
flex: 0 0 auto;
} }

View File

@ -4,7 +4,18 @@ import './Footer.css';
const Footer = () => { const Footer = () => {
return ( return (
<footer className="footer"> <footer className="footer">
<p>&copy; {new Date().getFullYear()} Jake Runyan</p> <div className="footer-links left">
<a href="https://github.com/runyanjake/jakesphotos" rel="noopener noreferrer">GitHub</a>
<a href="https://www.instagram.com/jakerunyanphotography" rel="noopener noreferrer">Instagram</a>
</div>
<div className="footer-title">
<p>&copy; {new Date().getFullYear()} Jake Runyan</p>
</div>
<div className="footer-links right">
<a href="/">Home</a>
<a href="/contact">Contact</a>
<a href="/about">About</a>
</div>
</footer> </footer>
); );
}; };