diff --git a/src/components/Background.astro b/src/components/Background.astro
new file mode 100644
index 0000000..2426e45
--- /dev/null
+++ b/src/components/Background.astro
@@ -0,0 +1,45 @@
+
+
diff --git a/src/components/Badges.astro b/src/components/Badges.astro
index 1b993db..aaa0202 100644
--- a/src/components/Badges.astro
+++ b/src/components/Badges.astro
@@ -11,15 +11,15 @@ const badges = await getCollection("badges");
// ugh.
// i wish we could dedupe this, but im not sure how
return <>
- {hasHref ?
+ {hasHref ?
{typeof badge.data.path !== "string"
?
:
}
: <>
{typeof badge.data.path !== "string"
- ?
- :
+ ?
+ :
}
>}
>;
@@ -41,4 +41,16 @@ const badges = await getCollection("badges");
height: 31px;
}
}
+
+ .badge {
+ transition:
+ transform 0.15s,
+ box-shadow 0.15s,
+ background 0.15s;
+ }
+ .badge:hover {
+ transform: scale(1.5);
+ box-shadow: 0 0 0.2em var(--foreground);
+ background: var(--foreground);
+ }
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 4d9d89f..009d262 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -9,6 +9,7 @@ const { title, description } = Astro.props;
import { ClientRouter } from "astro:transitions";
import ReplacementSwap from "astro-vtbot/components/ReplacementSwap.astro";
+import Background from "../components/Background.astro";
import Sidebar from "../components/Sidebar.astro";
import "modern-normalize";
@@ -37,17 +38,16 @@ import "../styles/main.css";
+
-
-
-
-
-
-
+
+
+
+