From 3a6da0bfb1d4fae2465271ce744792aabf5a424a Mon Sep 17 00:00:00 2001 From: cirroskais Date: Mon, 22 Apr 2024 05:11:56 -0400 Subject: [PATCH] turn things into components --- .../{ImgButton.svelte => Home/Button.svelte} | 0 src/lib/components/Home/HeroContainer.svelte | 7 ++ src/lib/components/Home/SocialIcon.svelte | 12 +++ src/lib/config.js | 2 +- src/routes/+page.svelte | 86 +++++++------------ 5 files changed, 50 insertions(+), 57 deletions(-) rename src/lib/components/{ImgButton.svelte => Home/Button.svelte} (100%) create mode 100644 src/lib/components/Home/HeroContainer.svelte create mode 100644 src/lib/components/Home/SocialIcon.svelte diff --git a/src/lib/components/ImgButton.svelte b/src/lib/components/Home/Button.svelte similarity index 100% rename from src/lib/components/ImgButton.svelte rename to src/lib/components/Home/Button.svelte diff --git a/src/lib/components/Home/HeroContainer.svelte b/src/lib/components/Home/HeroContainer.svelte new file mode 100644 index 0000000..b0f34a3 --- /dev/null +++ b/src/lib/components/Home/HeroContainer.svelte @@ -0,0 +1,7 @@ + + +
+ +
diff --git a/src/lib/components/Home/SocialIcon.svelte b/src/lib/components/Home/SocialIcon.svelte new file mode 100644 index 0000000..de23921 --- /dev/null +++ b/src/lib/components/Home/SocialIcon.svelte @@ -0,0 +1,12 @@ + + + +
+ +
diff --git a/src/lib/config.js b/src/lib/config.js index baa1bb1..8bf7a74 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -3,6 +3,6 @@ export default { LASTFM: 'RAAAAAAAAAAAH', BLUESKY: 'cirroskais.xyz', TWITTER: '@cirroskais', - FEDIVERSE: '@cirroskais@chadthundercock.com', + FEDIVERSE: 'https://chadthundercock.com/@cirroskais', GITHUB: 'cirroskais' }; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 50fc395..7004054 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,7 +2,9 @@ import { page } from '$app/stores'; import config from '$lib/config'; - import ImgButton from '$lib/components/ImgButton.svelte'; + import SocialIcon from '$lib/components/Home/SocialIcon.svelte'; + import HeroContainer from '$lib/components/Home/HeroContainer.svelte'; + import ImgButton from '$lib/components/Home/Button.svelte'; import Image from '$lib/components/Image.svelte'; import Discord from '$lib/components/Icons/Discord.svelte'; @@ -19,8 +21,8 @@
-
-
+
+ {$page.data.discord?.username}

-
+ - + + + + + + + + + + + + + + + + + + + + -
+
-
+ -
+ @@ -112,7 +86,7 @@ -
+