From 2aa8042e3db6d7bdb72cf14669bcd27c74620911 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 24 Oct 2024 19:16:56 +0000 Subject: Deleted the page headers --- src/components/Header.astro | 64 -------------------------------------------- src/layouts/BaseLayout.astro | 2 -- src/scss/_framework.scss | 4 +-- 3 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 src/components/Header.astro diff --git a/src/components/Header.astro b/src/components/Header.astro deleted file mode 100644 index a42ff2a..0000000 --- a/src/components/Header.astro +++ /dev/null @@ -1,64 +0,0 @@ ---- -import { Icon } from "astro-icon/components"; - -const { pathname } = Astro.url; ---- - - - -
- -
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a76861a..4a4efe6 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -2,7 +2,6 @@ import Analytics from "../components/Analytics.astro"; import Footer from "../components/Footer.astro"; import Head from "../components/Head.astro"; -import Header from "../components/Header.astro"; import "../scss/global.scss"; type Props = { @@ -20,7 +19,6 @@ const { description, title } = Astro.props; /> -
diff --git a/src/scss/_framework.scss b/src/scss/_framework.scss index c95a71c..7aa970e 100644 --- a/src/scss/_framework.scss +++ b/src/scss/_framework.scss @@ -35,7 +35,7 @@ body { margin: auto; max-width: 52em; min-height: 100vh; - padding: 4em; + padding: 2em 4em; position: relative; text-rendering: optimizelegibility; } @@ -43,7 +43,7 @@ body { @media (width <=684px) { body { font-size: $fontSizeBase * 0.85; - padding: 4em 1em 2em; + padding: 2em 1em; } } -- cgit v1.2.3