From a99f8d188cf046d5b93cb34c6e24706c489e4112 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Mon, 23 Jun 2025 20:05:45 +0200 Subject: [PATCH] rework homepage --- public/assets/icons/bsky.svg | 4 ++ public/assets/icons/x.svg | 4 ++ src/components/ActivityWidget.astro | 2 - src/components/SocialsWidget.astro | 12 +++- src/pages/index.astro | 85 ++++++++++++++++++++++++++--- src/styles/global.css | 10 ---- 6 files changed, 95 insertions(+), 22 deletions(-) create mode 100644 public/assets/icons/bsky.svg create mode 100644 public/assets/icons/x.svg diff --git a/public/assets/icons/bsky.svg b/public/assets/icons/bsky.svg new file mode 100644 index 0000000..7bacbc0 --- /dev/null +++ b/public/assets/icons/bsky.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/assets/icons/x.svg b/public/assets/icons/x.svg new file mode 100644 index 0000000..6d264fa --- /dev/null +++ b/public/assets/icons/x.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/components/ActivityWidget.astro b/src/components/ActivityWidget.astro index bc6acd9..f8e1a0d 100644 --- a/src/components/ActivityWidget.astro +++ b/src/components/ActivityWidget.astro @@ -57,7 +57,6 @@ import tinyYHT from '../assets/img/tiny_yht.png'; --ground-color: #8B4513; --grass-color: #4CAF50; transition: background-color 1s linear; - border-radius: 0.5rem; &.night { --sky-color: #000000; @@ -73,7 +72,6 @@ import tinyYHT from '../assets/img/tiny_yht.png'; width: 100%; background-color: var(--ground-color); transition: background-color 1s linear; - border-radius: 0.5rem; &::before { content: ''; diff --git a/src/components/SocialsWidget.astro b/src/components/SocialsWidget.astro index 4ff3d9b..b47ffb5 100644 --- a/src/components/SocialsWidget.astro +++ b/src/components/SocialsWidget.astro @@ -1,5 +1,4 @@
-

Socials

- + diff --git a/src/pages/index.astro b/src/pages/index.astro index 11f6595..6252077 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,35 +12,104 @@ const permalink = Astro?.site?.href ?? '/';
-
+

Welcome to my little corner of the interwebs

Feel free to check out what I got in store!

-
- - +
+
+ +
+
+ +
- + +