diff --git a/src/pages/index.astro b/src/pages/index.astro index d36657e..5e57324 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -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('ayco.io/gh/', '').replace('ayco.io/sh/', '') + --- @@ -201,5 +204,6 @@ const { } .highlighted__note a { color: white; + font-weight: normal; } \ No newline at end of file