From 61e7f5d5b4bf366dbf77b62e788f2aac251a6e1e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 18 Sep 2024 00:35:18 +0000 Subject: Refactor Footer and Header components, update layout styles, and adjust Analytics placement --- src/components/Footer.astro | 17 ++++++++-------- src/components/Header.astro | 48 ++++++++++++++++++++++++++------------------ src/layouts/BaseLayout.astro | 2 +- src/pages/[...page].astro | 2 +- src/scss/_variables.scss | 1 - 5 files changed, 38 insertions(+), 32 deletions(-) (limited to 'src') diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ea53b25..3dd3745 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -15,6 +15,14 @@ import dayjs from "dayjs"; right: 0; } + a { + color: $colorText; + + &:visited { + color: $colorText; + } + } + .left-nav, .right-nav { display: inline-block; @@ -38,14 +46,6 @@ import dayjs from "dayjs"; padding: 4em 1em 2em; } } - - a { - color: $colorText; - - &:visited { - color: $colorText; - } - }