aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/contacts.astro12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro
index 6847d19..098f97b 100644
--- a/src/pages/contacts.astro
+++ b/src/pages/contacts.astro
@@ -7,11 +7,10 @@ import contacts from "../components/contacts.json";
{contacts.map((contact)=> {
let icon = "fa6-brands:" + contact.icon;
return (
- <div class="contacts-card"><a href={contact.url}>
- <Icon name={icon} />
+ <a href={contact.url} target="_blank"><div class="contacts-card">
+ <Icon name={icon} class="contact-icon" />
{contact.platform} ({contact.username})
- </a>
- </div>
+ </div></a>
)
})}
</Page>
@@ -25,4 +24,9 @@ import contacts from "../components/contacts.json";
border-radius: 10px;
background-color: #3B513B;
}
+
+ .contact-icon {
+ margin-right: 0.5em;
+ font-size: 1.3em;
+ }
</style> \ No newline at end of file