From 1c4068ff8768b0d0da4e3a3798ea3ffed6ca9dfc Mon Sep 17 00:00:00 2001 From: cirroskais Date: Thu, 18 Apr 2024 15:47:10 -0400 Subject: [PATCH] messing w/ design --- .env.example | 2 - src/lib/components/Icons/Mastodon.svelte | 10 +++ src/routes/+page.svelte | 88 ++++++++++++++---------- 3 files changed, 60 insertions(+), 40 deletions(-) create mode 100644 src/lib/components/Icons/Mastodon.svelte diff --git a/.env.example b/.env.example index fc20ab1..b02aefe 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,2 @@ DISCORD_TOKEN= - -LASTFM_KEY= LASTFM_SECRET= diff --git a/src/lib/components/Icons/Mastodon.svelte b/src/lib/components/Icons/Mastodon.svelte new file mode 100644 index 0000000..ff76eed --- /dev/null +++ b/src/lib/components/Icons/Mastodon.svelte @@ -0,0 +1,10 @@ +Mastodon diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 07ad59f..4a6ee57 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,6 +5,7 @@ import Discord from '$lib/components/Icons/Discord.svelte'; import Lastfm from '$lib/components/Icons/LastFM.svelte'; import GitHub from '$lib/components/Icons/GitHub.svelte'; + import Mastodon from '$lib/components/Icons/Mastodon.svelte'; @@ -12,56 +13,67 @@
-
-
- {$page.data.discord?.username}'s profile picture -

- {$page.data.discord?.username} -

-
- +
+
+
+ {$page.data.discord?.username}'s profile picture +
+

+ {$page.data.discord?.global_name} +

+

+ {$page.data.discord?.username} +

+
-
-
-

Full stack JavaScript developer.

-
+
- -
-
- _.size == 'extralarge' - )?.['#text']} - alt="Album art for {$page.data.lastfm?.recenttracks?.track[0]?.name}" - /> -
-

- {$page.data.lastfm?.recenttracks?.track[0]?.name} -

-

- {$page.data.lastfm?.recenttracks?.track[0]?.artist?.['#text']} -

+
+
+ _.size == 'extralarge' + )?.['#text']} + alt="Album art for {$page.data.lastfm?.recenttracks?.track[0]?.name}" + /> +
+

+ {$page.data.lastfm?.recenttracks?.track[0]?.name} +

+

+ {$page.data.lastfm?.recenttracks?.track[0]?.artist?.['#text']} +

+