From 5b1fa7f4f9e542cff5ab498827ccff24e6037ae2 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Fri, 4 Oct 2024 16:07:11 -0700 Subject: [PATCH] Improve blog footer with more links, icons and layout --- src/components/Footer.astro | 114 ++++++++++---------- src/components/Header.astro | 12 +-- src/components/ThemeIcon.astro | 10 +- public/icons/logo.svg => src/icons/khoj.svg | 0 4 files changed, 65 insertions(+), 71 deletions(-) rename public/icons/logo.svg => src/icons/khoj.svg (100%) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 23cc47c..d4ea136 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -4,82 +4,80 @@ const today = new Date(); --- diff --git a/src/components/Header.astro b/src/components/Header.astro index 4940ebd..291fb9a 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -18,12 +18,7 @@ import { Icon } from 'astro-icon/components' Follow Khoj Development on GitHub - + @@ -42,17 +37,18 @@ import { Icon } from 'astro-icon/components' header { margin: 0; padding: 0 1em; - box-shadow: 0 2px 8px rgba(var(--black), 5%); + box-shadow: 0 2px 8px rgba(var(--black), 10%); } + h2 { margin: 0; font-size: 1em; } - h2 a, h2 a.active { text-decoration: none; } + nav { display: flex; align-items: center; diff --git a/src/components/ThemeIcon.astro b/src/components/ThemeIcon.astro index c45847e..5a275b5 100644 --- a/src/components/ThemeIcon.astro +++ b/src/components/ThemeIcon.astro @@ -2,7 +2,7 @@ --- -