From defb9bd34bc5f40f38c56a0ecc5ffe4b926fd9e8 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 25 Jul 2023 13:42:09 +0400 Subject: [PATCH] NavMenu / SimpleMenu; SM in GridItem options --- src/components/ArticleCard.astro | 15 +++------------ src/components/GridItem.astro | 18 +++++------------- src/components/MenuItem.astro | 20 ++++++++++++++------ src/components/Profile.astro | 22 +++++++++++++++------- src/layouts/BlogLayout.astro | 6 +++--- src/layouts/MainLayout.astro | 6 +++--- src/layouts/{Menu.astro => NavMenu.astro} | 0 src/layouts/SimpleMenu.astro | 23 +++++++++++++++++++++++ 8 files changed, 66 insertions(+), 44 deletions(-) rename src/layouts/{Menu.astro => NavMenu.astro} (100%) create mode 100644 src/layouts/SimpleMenu.astro diff --git a/src/components/ArticleCard.astro b/src/components/ArticleCard.astro index 8ea4c4d..df2ee33 100644 --- a/src/components/ArticleCard.astro +++ b/src/components/ArticleCard.astro @@ -1,5 +1,6 @@ --- import Article from './Article.astro'; +import SimpleMenu from '../layouts/SimpleMenu.astro'; import MenuItem from './MenuItem.astro'; import postRenderer from '../post-renderer.mjs'; @@ -27,7 +28,7 @@ const link = `/blog/${post.slug}`; image={image} preview={true} /> - +