From 50764f2a36c85c783e622e6a4f5632f68d6380f8 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 22 Sep 2023 22:49:28 -0700 Subject: added Discord activity tracking feature --- src/components/DiscordActivity.astro | 83 +++++++++++++++++++++++++++++++++++ src/components/ShapesBackground.astro | 21 +++++++-- src/pages/about.astro | 48 ++++++++++++++------ 3 files changed, 134 insertions(+), 18 deletions(-) create mode 100644 src/components/DiscordActivity.astro (limited to 'src') diff --git a/src/components/DiscordActivity.astro b/src/components/DiscordActivity.astro new file mode 100644 index 0000000..2d59c1f --- /dev/null +++ b/src/components/DiscordActivity.astro @@ -0,0 +1,83 @@ + + +
+
+
+
+
+ diff --git a/src/components/ShapesBackground.astro b/src/components/ShapesBackground.astro index fd56d72..9a518c6 100644 --- a/src/components/ShapesBackground.astro +++ b/src/components/ShapesBackground.astro @@ -20,7 +20,7 @@ .context h1 { text-align: center; color: #fff; - font-size: 50px; + font-size: 3rem; /* Using rem for scalable font size */ } .circles { @@ -37,13 +37,14 @@ position: absolute; display: block; list-style: none; - width: 20px; - height: 20px; + width: 2vw; + height: 2vw; background: rgba(255, 255, 255, 0.2); animation: animate 25s linear infinite; - bottom: -150px; + bottom: -10vw; } + .circles li:nth-child(1) { left: 25%; width: 80px; @@ -132,4 +133,16 @@ border-radius: 50%; } } + @media (max-width: 768px) { + .context h1 { + font-size: 2rem; + } + + .circles li { + width: 5vw; + height: 5vw; + bottom: -15vw; + } + + } \ No newline at end of file diff --git a/src/pages/about.astro b/src/pages/about.astro index bff10d8..4c64d69 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,8 +1,8 @@ --- import Layout from "../layouts/Layout.astro"; import SocialNavbar from "../components/SocialNavbar.astro"; -import ShapesBackground from "../components/ShapesBackground.astro"; import DiscordStatus from "../components/DiscordStatus.astro"; +import DiscordActivity from "../components/DiscordActivity.astro"; --- @@ -18,26 +18,36 @@ import DiscordStatus from "../components/DiscordStatus.astro"; much just MMOs, JRPGs, and Visual Novels.

-
Github Language Stats
- - -
- +

+

推しししししし!!!!

+ + +

+
-

- - -

+

What am I up to?

+ + + +
+
+ Github Language Stats +
+
+

My Final Fantasy XIV Character!

+
-
- -
- +