aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-23 15:34:51 +0000
committerAndrew Lee <alee14498@protonmail.com>2024-01-23 15:34:51 +0000
commitc7ccf8c5925f23a9e203edc8bf113f57033abd35 (patch)
tree64795a95478318b5e7c8a23dfc293c9547c31db4 /src
parentc3f19db172c7bd503b97492ba83cb55aaeac8ad2 (diff)
downloadpersonal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.tar.gz
personal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.tar.bz2
personal-website-c7ccf8c5925f23a9e203edc8bf113f57033abd35.zip
Started contacts page
Diffstat (limited to 'src')
-rw-r--r--src/components/contacts.json57
-rw-r--r--src/pages/contacts.astro18
2 files changed, 75 insertions, 0 deletions
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;
+---
+<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