mirror of
https://github.com/runyanjake/jakesphotos.git
synced 2025-10-04 23:47:30 -07:00
Style Footer
This commit is contained in:
parent
efb04c2ae2
commit
64acd0b61c
@ -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;
|
||||||
}
|
}
|
@ -4,7 +4,18 @@ import './Footer.css';
|
|||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
return (
|
return (
|
||||||
<footer className="footer">
|
<footer className="footer">
|
||||||
<p>© {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>© {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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user