feat: use social icons
This commit is contained in:
parent
db710d5d9a
commit
6b8124d810
5 changed files with 15 additions and 11 deletions
|
@ -54,6 +54,7 @@ const { href, title, rel, body, newTab = false } = Astro.props
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
font-size: var(--font-size-base);
|
||||||
transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,17 +18,11 @@ const year = new Date().getFullYear()
|
||||||
<li>
|
<li>
|
||||||
<a href="/showcase">Some Projects</a>
|
<a href="/showcase">Some Projects</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<a href="https://ayos.blog/talks">Talks</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://ayos.blog/projects">More Projects</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
{
|
{
|
||||||
links.map((linkObj) => (
|
links.map((linkObj) => (
|
||||||
<li>
|
<li title={linkObj.text}>
|
||||||
<a href={linkObj.url}>
|
<a href={linkObj.url}>
|
||||||
<Icon pack={linkObj.set ?? 'mdi'} name={linkObj.icon} />
|
<Icon pack={linkObj.set ?? 'mdi'} name={linkObj.icon} />
|
||||||
</a>
|
</a>
|
||||||
|
@ -46,6 +40,12 @@ const year = new Date().getFullYear()
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
a {
|
||||||
|
color: var(--text-color-dark);
|
||||||
|
&:hover {
|
||||||
|
color: var(--color-brand-blue-5);
|
||||||
|
}
|
||||||
|
}
|
||||||
footer {
|
footer {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -40,6 +40,7 @@ export const footerLinks: Link[] = [
|
||||||
text: 'SourceHut',
|
text: 'SourceHut',
|
||||||
url: 'https://sr.ht/~ayoayco',
|
url: 'https://sr.ht/~ayoayco',
|
||||||
icon: 'sourcehut',
|
icon: 'sourcehut',
|
||||||
|
set: 'simple-icons',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'GitHub',
|
text: 'GitHub',
|
||||||
|
@ -54,7 +55,8 @@ export const footerLinks: Link[] = [
|
||||||
{
|
{
|
||||||
text: 'Pixelfed',
|
text: 'Pixelfed',
|
||||||
url: 'https://metapixl.com/@ayo',
|
url: 'https://metapixl.com/@ayo',
|
||||||
icon: 'pixelfed',
|
icon: 'pixelfed-fill',
|
||||||
|
set: 'ri',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'SoundCloud',
|
text: 'SoundCloud',
|
||||||
|
|
|
@ -41,8 +41,8 @@ import now from '../constants/now.json'
|
||||||
<ul class="cards-section__grid">
|
<ul class="cards-section__grid">
|
||||||
<Card
|
<Card
|
||||||
href="showcase"
|
href="showcase"
|
||||||
title="Hobby Projects"
|
title="Showcase"
|
||||||
body="See demos of my hobby projects"
|
body="See links to my hobby projects"
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab={true}
|
newTab={true}
|
||||||
|
@ -151,6 +151,7 @@ import now from '../constants/now.json'
|
||||||
|
|
||||||
.cards-section__grid {
|
.cards-section__grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ import Card from '../components/Card.astro'
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout
|
<Layout
|
||||||
title="Fun Hobby Projects"
|
title="Showcase"
|
||||||
description="See demos of hobby projects Ayo Ayco created"
|
description="See demos of hobby projects Ayo Ayco created"
|
||||||
>
|
>
|
||||||
<main>
|
<main>
|
||||||
|
|
Loading…
Reference in a new issue