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

This commit is contained in:
Ayo Ayco 2023-09-09 11:45:07 +00:00
commit 6d15d3ff34

View file

@ -4,10 +4,13 @@ import Card from "../components/Card.astro";
import Footer from "../components/Footer.astro";
const response = await fetch('https://social.ayco.io/api/v1/accounts/109547735999980313')
const {
let {
avatar,
note
} = await response.json();
note = note.replace('<span class="">ayco.io/gh/', '<span class="">').replace('<span class="">ayco.io/sh/', '<span class="">')
---
<Layout>
@ -201,5 +204,6 @@ const {
}
.highlighted__note a {
color: white;
font-weight: normal;
}
</style>