From 162e303beeb5f2987852b543805fb6243a4ae725 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 25 Jan 2024 18:17:05 +0000 Subject: Moved json files into a dedicated folder --- src/components/contacts.json | 57 -------------------------------------------- src/components/projects.json | 46 ----------------------------------- src/data/contacts.json | 57 ++++++++++++++++++++++++++++++++++++++++++++ src/data/projects.json | 46 +++++++++++++++++++++++++++++++++++ src/pages/contacts.astro | 2 +- src/pages/projects.astro | 2 +- 6 files changed, 105 insertions(+), 105 deletions(-) delete mode 100644 src/components/contacts.json delete mode 100644 src/components/projects.json create mode 100644 src/data/contacts.json create mode 100644 src/data/projects.json (limited to 'src') diff --git a/src/components/contacts.json b/src/components/contacts.json deleted file mode 100644 index fbad4c0..0000000 --- a/src/components/contacts.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "platform": "LinkedIn", - "icon": "linkedin", - "username": "AndrewLeeCAN", - "url": "https://linkedin.alee14.me" - }, - { - "platform": "GitHub", - "icon": "github", - "username": "Alee14", - "url": "https://github.alee14.me" - }, - { - "platform": "PayPal", - "icon": "paypal", - "username": "alee14498", - "url": "https://paypal.me/alee14498" - }, - { - "platform": "YouTube", - "icon": "youtube", - "username": "AndrewLeeCAN", - "url": "https://youtube.alee14.me" - }, - { - "platform": "Mastodon", - "icon": "mastodon", - "username": "alee@mstdn.ca", - "url": "https://mstdn.ca/@alee" - }, - { - "platform": "Instagram", - "icon": "instagram", - "username": "alee14498", - "url": "https://instagram.alee14.me" - }, - { - "platform": "Reddit", - "icon": "reddit", - "username": "alee1449", - "url": "https://reddit.alee14.me" - }, - { - "platform": "Discord", - "icon": "discord", - "username": "Andrew Lee Projects", - "url": "https://discord.alee14.me" - }, - { - "platform": "X", - "icon": "x-twitter", - "username": "Alee14498", - "url": "https://twitter.alee14.me", - "mouseover": "yuck." - } -] diff --git a/src/components/projects.json b/src/components/projects.json deleted file mode 100644 index 7da01c9..0000000 --- a/src/components/projects.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "name": "AleeBot", - "description": "An all-in-one bot that's made from the Discord.JS API!", - "links": [ - { - "name": "Source Code", - "url": "https://github.com/Alee14/AleeBot" - } - ] - }, - { - "name": "DLAP", - "description": "A Discord bot that lets you play local audio tracks in your server.", - "links": [ - { - "name": "Source Code", - "url": "https://github.com/Alee14/DLAP" - } - ] - }, - { - "name": "Snug Cup", - "description": "Snug Cup was a school project that I made with my classmates back in 2021.", - "links": [ - { - "name": "Website", - "url": "https://snug-cup.alee14.me" - } - ] - }, - { - "name": "YouTube TV Client", - "description": "A electron app that goes to youtube.com/tv using a Samsung Smart TV as the user agent.", - "links": [ - { - "name": "Download", - "url": "https://github.com/Alee14/YouTube-TV-Client/releases" - }, - { - "name": "Source Code", - "url": "https://github.com/Alee14/YouTube-TV-Client" - } - ] - } -] diff --git a/src/data/contacts.json b/src/data/contacts.json new file mode 100644 index 0000000..955514e --- /dev/null +++ b/src/data/contacts.json @@ -0,0 +1,57 @@ +[ + { + "platform": "LinkedIn", + "icon": "linkedin", + "username": "AndrewLeeCAN", + "url": "https://linkedin.alee14.me" + }, + { + "platform": "GitHub", + "icon": "github", + "username": "Alee14", + "url": "https://github.alee14.me" + }, + { + "platform": "PayPal", + "icon": "paypal", + "username": "alee14498", + "url": "https://paypal.me/alee14498" + }, + { + "platform": "YouTube", + "icon": "youtube", + "username": "AndrewLeeCAN", + "url": "https://youtube.alee14.me" + }, + { + "platform": "Mastodon", + "icon": "mastodon", + "username": "alee@mstdn.ca", + "url": "https://mstdn.ca/@alee" + }, + { + "platform": "Instagram", + "icon": "instagram", + "username": "alee14498", + "url": "https://instagram.alee14.me" + }, + { + "platform": "Reddit", + "icon": "reddit", + "username": "alee1449", + "url": "https://reddit.alee14.me" + }, + { + "platform": "Discord", + "icon": "discord", + "username": "Andrew Lee Projects", + "url": "https://discord.alee14.me" + }, + { + "platform": "X", + "icon": "x-twitter", + "username": "Alee14498", + "url": "https://twitter.alee14.me", + "mouseover": "yuck." + } +] \ No newline at end of file diff --git a/src/data/projects.json b/src/data/projects.json new file mode 100644 index 0000000..dc8bbbf --- /dev/null +++ b/src/data/projects.json @@ -0,0 +1,46 @@ +[ + { + "name": "AleeBot", + "description": "An all-in-one bot that's made from the Discord.JS API!", + "links": [ + { + "name": "Source Code", + "url": "https://github.com/Alee14/AleeBot" + } + ] + }, + { + "name": "DLAP", + "description": "A Discord bot that lets you play local audio tracks in your server.", + "links": [ + { + "name": "Source Code", + "url": "https://github.com/Alee14/DLAP" + } + ] + }, + { + "name": "Snug Cup", + "description": "Snug Cup was a school project that I made with my classmates back in 2021.", + "links": [ + { + "name": "Website", + "url": "https://snug-cup.alee14.me" + } + ] + }, + { + "name": "YouTube TV Client", + "description": "A electron app that goes to youtube.com/tv using a Samsung Smart TV as the user agent.", + "links": [ + { + "name": "Download", + "url": "https://github.com/Alee14/YouTube-TV-Client/releases" + }, + { + "name": "Source Code", + "url": "https://github.com/Alee14/YouTube-TV-Client" + } + ] + } +] \ No newline at end of file diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro index 5123bed..d483f81 100644 --- a/src/pages/contacts.astro +++ b/src/pages/contacts.astro @@ -1,7 +1,7 @@ --- import Page from '../layouts/Page.astro' import { Icon } from 'astro-icon/components'; -import contacts from "../components/contacts.json"; +import contacts from "../data/contacts.json"; ---
diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 248534a..1613172 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -1,6 +1,6 @@ --- import Page from "../layouts/Page.astro"; -import projects from "../components/projects.json"; +import projects from "../data/projects.json"; ---
-- cgit v1.2.3