From c7ccf8c5925f23a9e203edc8bf113f57033abd35 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 23 Jan 2024 15:34:51 +0000 Subject: Started contacts page --- src/components/contacts.json | 57 ++++++++++++++++++++++++++++++++++++++++++++ src/pages/contacts.astro | 18 ++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 src/components/contacts.json create mode 100644 src/pages/contacts.astro (limited to 'src') diff --git a/src/components/contacts.json b/src/components/contacts.json new file mode 100644 index 0000000..334808e --- /dev/null +++ b/src/components/contacts.json @@ -0,0 +1,57 @@ +[ + { + "platform": "GitHub", + "icon": "github", + "username": "Alee14", + "url": "https://github.alee14.me" + }, + { + "platform": "LinkedIn", + "icon": "linkedin", + "username": "AndrewLeeCAN", + "url": "https://linkedin.alee14.me" + }, + { + "platform": "PayPal", + "icon": "paypal", + "username": "alee14", + "url": "https://paypal.me/alee14498" + }, + { + "platform": "Discord", + "icon": "", + "username": "alee", + "url": "https://discord.alee14.me" + }, + { + "platform": "YouTube", + "icon": "", + "username": "AndrewLeeCAN", + "url": "https://youtube.alee14.me" + }, + { + "platform": "Mastodon", + "icon": "", + "username": "@alee@mstdn.ca", + "url": "https://mstdn.ca/@alee" + }, + { + "platform": "X", + "comment": "yuck.", + "icon": "", + "username": "alee", + "url": "https://twitter.alee14.me" + }, + { + "platform": "Instagram", + "icon": "", + "username": "alee14498", + "url": "https://instagram.alee14.me" + }, + { + "platform": "Reddit", + "icon": "", + "username": "alee1449", + "url": "https://reddit.alee14.me" + } +] \ No newline at end of file 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; +--- + + {contacts.map((contact)=> { + return ( + + ) + })} + \ No newline at end of file -- cgit v1.2.3