From 7847d58841afd3fd279d98ace45d110ef8787dda Mon Sep 17 00:00:00 2001 From: Pigges Date: Wed, 10 Jan 2024 22:10:09 +0100 Subject: [PATCH] update header and footer --- src/components/Footer.astro | 2 +- src/components/Header.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 8a89d31..ffb696c 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -14,7 +14,7 @@ footer { margin-top: 2rem; padding: 20px 20px; - background-color: var(--secondary-background); + background-color: var(--tertiary-background); } footer ul { diff --git a/src/components/Header.astro b/src/components/Header.astro index a766f3f..2f6b06c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -13,7 +13,7 @@ const links = [ ] const isActive = (href: string)=>{ - return href === pathname || href === pathname.split('/').slice(0,2).join('/');; + return href === pathname || href === pathname.split('/').slice(0,2).join('/'); } ---