add mastodon verification link

This commit is contained in:
Ayo 2022-11-13 18:49:06 +01:00
parent 4545902cfd
commit f36241486f
3 changed files with 14 additions and 2 deletions

View file

@ -4,13 +4,14 @@ export interface Props {
body: string; body: string;
href: string; href: string;
newTab?: boolean; newTab?: boolean;
rel?: string;
} }
const { href, title, body, newTab = false } = Astro.props; const { href, title, rel, body, newTab = false } = Astro.props;
--- ---
<li class="link-card"> <li class="link-card">
<a href={href} target={newTab ? '_blank' : null}> <a rel={rel || null} href={href} target={newTab ? '_blank' : null}>
<h2> <h2>
{title} {title}
{ {

View file

@ -2,6 +2,7 @@
<ul role="list" style="list-style:none"> <ul role="list" style="list-style:none">
<li>2022 &#169; <strong>Ayo Ayco</strong>. All Rights Reserved</li> <li>2022 &#169; <strong>Ayo Ayco</strong>. All Rights Reserved</li>
<li><strong>Ayo Ayco</strong> | Software Engineer + Web Developer</li> <li><strong>Ayo Ayco</strong> | Software Engineer + Web Developer</li>
<li>Find me on <a rel="me" href="https://fosstodon.org/@ayo">Mastodon</a></li>
<li> <li>
Missing old content? I moved <a href="https://classic.ayco.io" Missing old content? I moved <a href="https://classic.ayco.io"
>my previous site</a >my previous site</a

View file

@ -12,18 +12,28 @@ import Back from "../components/Back.astro";
<ul role="list" class="link-card-grid"> <ul role="list" class="link-card-grid">
<Card <Card
newTab={true} newTab={true}
rel="me"
href="https://fosstodon.org/@ayo"
title="Fosstodon"
body="A Mastodon instance for free and open source software."
/>
<Card
newTab={true}
rel="me"
href="https://twitter.com/ayoayco/" href="https://twitter.com/ayoayco/"
title="Twitter" title="Twitter"
body="Tweets about my takes on technology and current events" body="Tweets about my takes on technology and current events"
/> />
<Card <Card
newTab={true} newTab={true}
rel="me"
href="https://www.linkedin.com/in/ayoayco/" href="https://www.linkedin.com/in/ayoayco/"
title="LinkedIn" title="LinkedIn"
body="Connect with me and my professional network" body="Connect with me and my professional network"
/> />
<Card <Card
newTab={true} newTab={true}
rel="me"
href="https://soundcloud.com/ayoayco/" href="https://soundcloud.com/ayoayco/"
title="SoundCloud" title="SoundCloud"
body="Some music I made as a hobby" body="Some music I made as a hobby"