Skip to content

Commit

Permalink
Update footer styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Jun 25, 2024
1 parent 058251d commit 0a6ee91
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions src/components/footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const hash = childProcess
---

<footer
style="display: flex; flex-direction: column; gap: 1rem; align-items: center; padding: 3rem 5rem; width: 100%; background-color: var(--text-dark);"
style="display: flex; flex-direction: column; gap: 1rem; align-items: center; padding: 3rem 5rem; width: 100%; background-color: var(--text-dark); font-size:0.8rem;" class="font-unbounded"
>
<style>
.sponsor:hover {
Expand All @@ -30,17 +30,30 @@ const hash = childProcess
transition-property: opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.social {
width: 1.125rem;
}

.social:hover {
opacity: 75%;
transition-duration: 0.1s;
transition-property: opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.cr {
width: 5rem;
}
</style>
<img src="/logo-light.png" />
<img src="/logo-light.png" class="cr"/>

<div style="display: flex; gap: 1rem;">
{
socialLinks.map((link) => (
<a href={link.href}>
<img src={link.icon} alt={link.name + ' logo'} />
</a>
))
}
{socialLinks.map((link) => (
<a href={link.href} class="social">
<img src={link.icon} alt={link.name + ' logo'} />
</a>
))}
</div>
<div style="display: flex; gap: 1rem;">
{footerLinks.map((link) => <a href={link.href}>{link.name}</a>)}
Expand Down

0 comments on commit 0a6ee91

Please sign in to comment.