Merge branch 'main' of git.sr.ht:~ayoayco/ayco.io-astro into main
This commit is contained in:
commit
6d15d3ff34
1 changed files with 5 additions and 1 deletions
|
@ -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>
|
Loading…
Reference in a new issue