Merge branch 'main' of git.sr.ht:~ayoayco/ayco.io-astro into main

This commit is contained in:
Ayo Ayco 2023-09-09 11:09:47 +00:00
commit 222a30d985

View file

@ -6,8 +6,6 @@ import Footer from "../components/Footer.astro";
const response = await fetch('https://social.ayco.io/api/v1/accounts/109547735999980313') const response = await fetch('https://social.ayco.io/api/v1/accounts/109547735999980313')
const { const {
avatar, avatar,
followers_count,
following_count,
note note
} = await response.json(); } = await response.json();
--- ---
@ -26,10 +24,6 @@ const {
<span class="heavy-text">Ayo</span>Ayco <span class="heavy-text">Ayo</span>Ayco
</h1> </h1>
<div class="highlighted__note" set:html={note} /> <div class="highlighted__note" set:html={note} />
<ul role="list">
<li><a href="https://social.ayco.io/@ayo/followers">{followers_count}</a> Followers</li>
<li><a href="https://social.ayco.io/@ayo/following">{following_count} </a>Following</li>
</ul>
<a href="/now" class="now-wrapper"> <a href="/now" class="now-wrapper">
<span class="now-label">Now</span> <span class="now-label">Now</span>
<span class="status">Building a Cozy Web without borders...</span> <span class="status">Building a Cozy Web without borders...</span>
@ -202,6 +196,9 @@ const {
</style> </style>
<style is:inline> <style is:inline>
.invisible {
display: none;
}
.highlighted__note a { .highlighted__note a {
color: white; color: white;
} }