From fe125306800ffe6db8d5b468406c340dfa3561f9 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Fri, 16 Aug 2024 16:47:38 +0200 Subject: [PATCH] feat: new CurrentVersion component; adjust styles --- src/components/CurrentVersion.astro | 17 +++++++++++++++++ src/components/Footer.astro | 3 ++- src/components/blog/BaseHead.astro | 1 + src/consts.ts | 3 ++- src/layouts/BlogPost.astro | 14 ++++++++++---- src/layouts/Layout.astro | 2 ++ src/styles/blog.css | 12 ------------ src/styles/variables.css | 12 ++++++++++++ 8 files changed, 46 insertions(+), 18 deletions(-) create mode 100644 src/components/CurrentVersion.astro create mode 100644 src/styles/variables.css diff --git a/src/components/CurrentVersion.astro b/src/components/CurrentVersion.astro new file mode 100644 index 0000000..1be778e --- /dev/null +++ b/src/components/CurrentVersion.astro @@ -0,0 +1,17 @@ +--- +import {VERSION} from '../consts' +--- + +{VERSION} + + \ No newline at end of file diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 414947d..12ccb36 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,6 +1,7 @@ --- import Icon from 'astro-iconify' import {VERSION} from '../consts'; +import CurrentVersion from './CurrentVersion.astro'; ---