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.astro22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro
index 908fba8..5123bed 100644
--- a/src/pages/contacts.astro
+++ b/src/pages/contacts.astro
@@ -4,15 +4,17 @@ import { Icon } from 'astro-icon/components';
import contacts from "../components/contacts.json";
---
<Page title="Contacts" description="Follow me on other platforms">
- {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" />
- {contact.platform} ({contact.username})
- </div></a>
- )
- })}
+ <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" />
+ {contact.platform} ({contact.username})
+ </div></a>
+ )
+ })}
+ </main>
</Page>
<style>
.contacts-card {
@@ -29,4 +31,4 @@ import contacts from "../components/contacts.json";
margin-right: 0.5em;
font-size: 1.3em;
}
-</style> \ No newline at end of file
+</style>