diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-01-23 15:34:51 +0000 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-01-23 15:34:51 +0000 |
| commit | c7ccf8c5925f23a9e203edc8bf113f57033abd35 (patch) | |
| tree | 64795a95478318b5e7c8a23dfc293c9547c31db4 /src/pages | |
| parent | c3f19db172c7bd503b97492ba83cb55aaeac8ad2 (diff) | |
| download | personal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.tar.gz personal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.tar.bz2 personal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.zip | |
Started contacts page
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 |
