diff --git a/src/pages/index.astro b/src/pages/index.astro
index 83c3074..9fb498f 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -11,8 +11,16 @@ const response = await fetch(
'https://m.webtoo.ls/api/v1/accounts/lookup?acct=ayo'
)
const data = await response.json()
-const { avatar, note } = data
+const { avatar, note, emojis } = data
const avatarSize = 150
+console.log(emojis)
+let description = note
+emojis.forEach((emoji) => {
+ description = description.replace(
+ `:${emoji.shortcode}:`,
+ `
`
+ )
+})
---
@@ -22,7 +30,6 @@ const avatarSize = 150
Ayo Ayco
w,
-
Ayo!
+
+
now
@@ -134,12 +143,28 @@ const avatarSize = 150
}
.highlighted-section__content {
+ .p-note {
+ font-size: var(--font-size-sm)
+ a {
+ text-decoration: none;
+ color: var(--color-brand-complement);
+ }
+ }
+
+ .emoji {
+ border: 0;
+ display: inline;
+ height: calc(1rem + 6px);
+ margin-bottom: -4px;
+ }
+
margin: auto;
padding: 1rem;
max-width: var(--content-width);
font-weight: normal;
font-size: var(--font-size-lg);
color: var(--text-color-light);
+ line-height: 1em;
}
.highlighted-section__content__profile-picture {