Merge branch 'main' of git.sr.ht:~ayoayco/ayco.io-astro into main
This commit is contained in:
commit
222a30d985
1 changed files with 3 additions and 6 deletions
|
@ -6,8 +6,6 @@ import Footer from "../components/Footer.astro";
|
|||
const response = await fetch('https://social.ayco.io/api/v1/accounts/109547735999980313')
|
||||
const {
|
||||
avatar,
|
||||
followers_count,
|
||||
following_count,
|
||||
note
|
||||
} = await response.json();
|
||||
---
|
||||
|
@ -26,10 +24,6 @@ const {
|
|||
<span class="heavy-text">Ayo</span>Ayco
|
||||
</h1>
|
||||
<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">
|
||||
<span class="now-label">Now</span>
|
||||
<span class="status">Building a Cozy Web without borders...</span>
|
||||
|
@ -202,6 +196,9 @@ const {
|
|||
</style>
|
||||
|
||||
<style is:inline>
|
||||
.invisible {
|
||||
display: none;
|
||||
}
|
||||
.highlighted__note a {
|
||||
color: white;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue