feat: add u-url in footer lins

This commit is contained in:
Ayo Ayco 2025-04-20 08:09:22 +02:00
parent 5bbdc51d72
commit 0ee8c8639d

View file

@ -5,7 +5,7 @@ import WebRings from './WebRings.astro'
const year = new Date().getFullYear() const year = new Date().getFullYear()
--- ---
<footer> <footer class="h-card">
<ul id="internal-links"> <ul id="internal-links">
<li> <li>
<a href="/about">About me</a> <a href="/about">About me</a>
@ -21,7 +21,12 @@ const year = new Date().getFullYear()
{ {
links.map((linkObj) => ( links.map((linkObj) => (
<li title={linkObj.text}> <li title={linkObj.text}>
<a href={linkObj.url} aria-label={linkObj.text}> <a
class="u-url"
rel="me"
href={linkObj.url}
aria-label={linkObj.text}
>
<Icon pack={linkObj.set ?? 'simple-icons'} name={linkObj.icon} /> <Icon pack={linkObj.set ?? 'simple-icons'} name={linkObj.icon} />
</a> </a>
</li> </li>
@ -29,8 +34,6 @@ const year = new Date().getFullYear()
} }
</ul> </ul>
<WebRings />
<p> <p>
Copyright &#169; 2022-{year} Copyright &#169; 2022-{year}
<a href="/">Ayo Ayco</a>. This website <a <a href="/">Ayo Ayco</a>. This website <a
@ -38,6 +41,8 @@ const year = new Date().getFullYear()
>does not track users</a >does not track users</a
>. See the <a href="https://sr.ht/~ayoayco/personal-site">source code</a>. >. See the <a href="https://sr.ht/~ayoayco/personal-site">source code</a>.
</p> </p>
<WebRings />
</footer> </footer>
<style> <style>