aboutsummaryrefslogtreecommitdiff
path: root/src/pages/contacts.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/contacts.astro')
-rw-r--r--src/pages/contacts.astro3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro
index aef523d..60eeff2 100644
--- a/src/pages/contacts.astro
+++ b/src/pages/contacts.astro
@@ -6,10 +6,9 @@ import contacts from "../data/contacts.json";
<Page title="Contacts" description="Follow me on these platforms">
<main>
{contacts.map((contact)=> {
- let icon = "fa6-brands:" + contact.icon;
return (
<a href={contact.url} target="_blank" title={contact.mouseover}><div class="contacts-card">
- <Icon name={icon} class="contact-icon" />
+ <Icon name={contact.icon} class="contact-icon" />
{contact.platform} ({contact.username})
</div></a>
)