feat: use animated emojis from fluent

This commit is contained in:
2023-08-09 15:20:14 +02:00
parent 95525406d1
commit 5e64edef7f
23 changed files with 53 additions and 17 deletions

View File

@ -19,8 +19,13 @@ export default function Home(props: PageProps) {
{Object.values(resources).map((m) => {
return (
<Card
title={`${m.emoji} ${m.name}`}
image="/placeholder.svg"
title={`${m.name}`}
backgroundSize={80}
image={`${
m.emoji.endsWith(".png")
? `/emojis/${encodeURIComponent(m.emoji)}`
: "/placeholder.svg"
}`}
link={m.link}
/>
);