From d9d62f962f681efe69edc438db77e9216b9f4f49 Mon Sep 17 00:00:00 2001 From: kritzl Date: Wed, 16 Sep 2026 10:28:55 +0200 Subject: [PATCH] reuse svg path --- src/components/Footer.astro | 4 +--- src/layouts/Layout.astro | 9 +++++++++ src/pages/index.astro | 12 +++--------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 3fc6da7..d4c3162 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -7,9 +7,7 @@ import path from "../utils/path.ts" viewBox="0 0 283.46457 11.338583" class="w-[200%] sm:w-[150%] lg:w-full text-(--color-base-100) mb-20" xmlns="http://www.w3.org/2000/svg"> - +

diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4e2f899..0466f12 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -17,6 +17,15 @@ const props = Astro.props DIDAYS 2026{props.title ? ` | ${props.title}` : ""} + diff --git a/src/pages/index.astro b/src/pages/index.astro index 5a9ab93..c7f74dd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -66,9 +66,7 @@ import path from "../utils/path.ts" viewBox="0 0 283.46457 11.338583" class="w-[200%] sm:w-[150%] lg:w-full text-(--color-base-200) mb-20" xmlns="http://www.w3.org/2000/svg"> - +

@@ -88,9 +86,7 @@ import path from "../utils/path.ts" viewBox="0 0 283.46457 11.338583" class="w-[200%] sm:w-[150%] lg:w-full text-(--color-base-100) mb-20" xmlns="http://www.w3.org/2000/svg"> - +

@@ -118,9 +114,7 @@ import path from "../utils/path.ts" viewBox="0 0 283.46457 11.338583" class="w-[200%] sm:w-[150%] lg:w-full text-(--color-base-200) mb-20" xmlns="http://www.w3.org/2000/svg"> - +