From d8aa33cd84aaac217a9b9e7b6c4a0c1fa0f02046 Mon Sep 17 00:00:00 2001
From: LarsVomMars
Date: Fri, 27 Dec 2024 17:21:54 +0100
Subject: welp
---
src/components/Footer.astro | 92 ++++++++++++-----------------
src/components/Header.astro | 125 +++++++++++++++-------------------------
src/components/HeaderLink.astro | 3 +-
3 files changed, 88 insertions(+), 132 deletions(-)
(limited to 'src/components')
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 96c2fce..8deac91 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -3,60 +3,44 @@ const today = new Date();
---
diff --git a/src/components/Header.astro b/src/components/Header.astro
index 8d01e09..3c05e78 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -1,85 +1,56 @@
---
-import HeaderLink from './HeaderLink.astro';
-import { SITE_TITLE } from '../consts';
+import HeaderLink from "./HeaderLink.astro";
+import { SITE_TITLE, SITE_BASE } from "../consts";
---
-
+
diff --git a/src/components/HeaderLink.astro b/src/components/HeaderLink.astro
index c53880d..a18dd3c 100644
--- a/src/components/HeaderLink.astro
+++ b/src/components/HeaderLink.astro
@@ -1,5 +1,6 @@
---
import type { HTMLAttributes } from "astro/types";
+import { SITE_BASE } from "../consts";
type Props = HTMLAttributes<"a">;
@@ -10,7 +11,7 @@ const isActive = href === pathname || href === "/" + (subpath?.[0] || "");
---
--
cgit v1.2.3