2022-09-06 15:56:09 +00:00
|
|
|
---
|
2023-01-13 07:59:00 +00:00
|
|
|
import Icon from './Icon.astro';
|
2022-09-06 15:56:09 +00:00
|
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
---
|
|
|
|
|
|
|
|
<footer>
|
2023-01-13 07:59:00 +00:00
|
|
|
<div class="group">
|
|
|
|
<p>
|
|
|
|
Designed & Developed in Portland with <a href="https://astro.build/">Astro</a>
|
|
|
|
<Icon icon="rocket-launch" size="1.2em" />
|
|
|
|
</p>
|
|
|
|
<p>© {currentYear} Jeanine White</p>
|
|
|
|
</div>
|
|
|
|
<p class="socials">
|
|
|
|
<a href="https://twitter.com/me"> Twitter</a>
|
|
|
|
<a href="https://github.com/me"> GitHub</a>
|
|
|
|
<a href="https://codepen.io/me"> CodePen</a>
|
|
|
|
</p>
|
2022-09-06 15:56:09 +00:00
|
|
|
</footer>
|
|
|
|
<style>
|
|
|
|
footer {
|
2023-01-13 07:59:00 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 3rem;
|
|
|
|
margin-top: auto;
|
|
|
|
padding: 3rem 2rem 3rem;
|
2022-09-06 15:56:09 +00:00
|
|
|
text-align: center;
|
2023-01-13 07:59:00 +00:00
|
|
|
color: var(--gray-400);
|
|
|
|
font-size: var(--text-sm);
|
2022-09-06 15:56:09 +00:00
|
|
|
}
|
|
|
|
|
2023-01-13 07:59:00 +00:00
|
|
|
footer a {
|
|
|
|
color: var(--gray-400);
|
|
|
|
text-decoration: 1px solid underline transparent;
|
|
|
|
text-underline-offset: 0.25em;
|
|
|
|
transition: text-decoration-color var(--theme-transition);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a:hover,
|
|
|
|
footer a:focus {
|
|
|
|
text-decoration-color: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.socials {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 1rem;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 50em) {
|
|
|
|
footer {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 2.5rem 5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group {
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 1rem;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.socials {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2022-09-06 15:56:09 +00:00
|
|
|
}
|
|
|
|
</style>
|