Sindre Kjelsrud
-Student at Western University of Applied Sciences.
- -diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 509b7d5..d4df699 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,7 +1,19 @@
---
const today = new Date();
---
+
+
+
+
-
\ No newline at end of file
+
diff --git a/src/components/Header.astro b/src/components/Header.astro
index 1eeed5e..fcc0d97 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -1,18 +1,30 @@
---
-import HeaderLink from './HeaderLink.astro';
import ThemeIcon from './ThemeIcon.astro';
+
+const pathname = new URL(Astro.request.url).pathname;
+const pathSegments = pathname.slice(1).split('/').filter(segment => segment !== '');
+
+function buildHref(index) {
+ if (pathSegments.length === 0) return '/';
+ return ' /' + pathSegments.slice(0, index + 1).join('/');
+}
+
+const isLandingPage = pathSegments.length === 0;
---
Student at Western University of Applied Sciences.
- -Computer Science-student at Western University of Applied Sciences, campus Bergen.
+I like spending my free time bouldering/climbing, playing some games on my Wii or waiting for the next One Piece episode.
+This website is just a fun side-project that I actively work on, and use as my creative outlet. It's also a way for me to actually own my data, allowing me to log data, post pictures and more!
+