clean gh & sh links
This commit is contained in:
parent
bb1c663b41
commit
9ae01e3989
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";
|
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 {
|
let {
|
||||||
avatar,
|
avatar,
|
||||||
note
|
note
|
||||||
} = await response.json();
|
} = await response.json();
|
||||||
|
|
||||||
|
note = note.replace('<span class="">ayco.io/gh/', '<span class="">').replace('<span class="">ayco.io/sh/', '<span class="">')
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
|
@ -201,5 +204,6 @@ const {
|
||||||
}
|
}
|
||||||
.highlighted__note a {
|
.highlighted__note a {
|
||||||
color: white;
|
color: white;
|
||||||
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in a new issue