From a9b8be8e5d2640a2ea24e9d6f2a5032507b5a6ee Mon Sep 17 00:00:00 2001 From: Jazee6 Date: Sat, 28 Dec 2024 17:30:27 +0800 Subject: [PATCH] feat: layout --- package.json | 2 +- src/components/Header.astro | 2 +- src/components/Search.astro | 2 +- src/layouts/MainLayout.astro | 4 +- src/pages/about.astro | 2 +- src/pages/posts/[...slug].astro | 66 +++++++++++++++++---------------- src/styles/global.css | 8 +++- 7 files changed, 47 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 4d698bb..b2ec705 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "astro-blur", "type": "module", - "version": "0.3.3", + "version": "0.4.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/components/Header.astro b/src/components/Header.astro index d2a6d65..2d093b8 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -3,7 +3,7 @@ import {siteConfig, navBarConfig} from "../config"; import {Icon} from 'astro-icon/components' --- -
+
{siteConfig.title} diff --git a/src/components/Search.astro b/src/components/Search.astro index 0473819..d3cbee8 100644 --- a/src/components/Search.astro +++ b/src/components/Search.astro @@ -1,7 +1,7 @@ --- --- -