From a2281d536340ce548d839621d240da51ee9201cf Mon Sep 17 00:00:00 2001
From: Alexis
Date: Tue, 7 Jul 2026 21:25:29 +0200
Subject: [PATCH] Added gitea button
---
src/components/Navbar.astro | 4 ++--
src/layouts/HomeLayout.astro | 18 +++++++++---------
src/pages/index.astro | 16 +++++++++++++---
3 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
index ebbe255..f4015dc 100644
--- a/src/components/Navbar.astro
+++ b/src/components/Navbar.astro
@@ -28,7 +28,7 @@ const onHome = Astro.url.pathname === "/"
class="block py-2 underline-offset-4 hover:underline text-body/80 hover:text-body"
class:list={
{
- "text-primary/80 hover:text-primary": onHome,
+ "text-primary/90 hover:text-primary": onHome,
"text-body/80 hover:text-body": !onHome
}
}
@@ -44,7 +44,7 @@ const onHome = Astro.url.pathname === "/"
class="block py-2 underline-offset-4 hover:underline text-body/80 hover:text-body"
class:list={
{
- "text-primary/80 hover:text-primary": Astro.url.pathname.startsWith(link.to),
+ "text-primary/90 hover:text-primary": Astro.url.pathname.startsWith(link.to),
"text-body/80 hover:text-body": !Astro.url.pathname.startsWith(link.to)
}
}
diff --git a/src/layouts/HomeLayout.astro b/src/layouts/HomeLayout.astro
index 13eb93c..110f2d9 100644
--- a/src/layouts/HomeLayout.astro
+++ b/src/layouts/HomeLayout.astro
@@ -87,17 +87,17 @@ const websiteDomain = "alexcreates.fr"
-
-
+
+
-
+
-
+
- {hasGrid &&
-
- }
+ {hasGrid &&
+
+ }
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 558e63f..5ca02b1 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -27,8 +27,16 @@ import HomeLayout from '../layouts/HomeLayout.astro';
-
-
- @2025 · Website is currently a WIP ; some things may change !
+ @2025 · Website is currently a WIP ; some things may change !