diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/contacts.astro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro new file mode 100644 index 0000000..e917a4d --- /dev/null +++ b/src/pages/contacts.astro @@ -0,0 +1,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>
\ No newline at end of file |
