update footer

This commit is contained in:
Ayo 2023-03-30 16:31:31 +02:00
parent e236fdf44e
commit 644e9ba56a
4 changed files with 1276 additions and 2735 deletions

3968
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astro-reactive/form": "^0.6.7",
"astro": "^1.2.6",
"astro": "^2.1.6",
"astro-github-stats": "^0.5.0",
"astro-icon": "^0.8.0"
}

View file

@ -1,20 +1,8 @@
<footer>
<ul role="list" style="list-style:none">
<li>2022 &#169; <strong>Ayo Ayco</strong>. All Rights Reserved</li>
<li><strong>Ayo Ayco</strong> | Software Engineer + Web Developer</li>
<li style="display:none">
Find me on <a rel="me" href="https://fosstodon.org/@ayo">Mastodon</a>
</li>
<li>
Find me on the <a rel="me" href="https://social.ayco.io/@ayo"
>#Fediverse</a
>
</li>
<li>
Missing old content? I moved <a href="https://classic.ayco.io"
>my previous site</a
>
</li>
<li>This website does not track users.</li>
<li><a href="https://github.com/ayoayco/ayco.io-astro">See the source code</a></li>
</ul>
</footer>

View file

@ -50,9 +50,10 @@ const baseURL = "https://ayo.ayco.io";
{
title !== defaultTitle ? (
<script>
const title = document.title; if(title){" "}
{
(document.title = `${title} | Ayo Ayco | Software Engineer, Web Developer, Consultant`)
const title = document.title;
const defaultTitle = "Ayo Ayco | Software Engineer, Web Developer, Consultant"
if(title) {
(document.title = `${title} | ${defaultTitle}`)
}
</script>
) : (