aboutsummaryrefslogtreecommitdiff
path: root/src/pages/contacts.astro
blob: e917a4d671012f2e4103ac7788a2e9d210eab95e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
import Page from '../layouts/Page.astro'
import { Icon } from 'astro-icon/components';
import contacts from "../components/contacts.json";

//let icon = "fa6-brands:" + contacts[0].icon;
---
<Page title="Contacts" description="Follow me on other platforms">
    {contacts.map((contact)=> {
        return (
            <div class="contacts-card"><a href={contact.url}>
               {/*<Icon name={icon} />*/}
                {contact.platform} ({contact.username})
                </a>
            </div>
        )
    })}
</Page>