From 7a0d8c37400a86c29cb336e686c1514dfe95cae3 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Mon, 27 Oct 2025 18:46:09 +0800 Subject: [PATCH] update --- .vscode/{setting.json => settings.json} | 0 src/components/html.astro | 1 + src/layouts/blank.astro | 49 ++++++++++++++++++------- 3 files changed, 37 insertions(+), 13 deletions(-) rename .vscode/{setting.json => settings.json} (100%) diff --git a/.vscode/setting.json b/.vscode/settings.json similarity index 100% rename from .vscode/setting.json rename to .vscode/settings.json diff --git a/src/components/html.astro b/src/components/html.astro index ea5e9d4..5500568 100644 --- a/src/components/html.astro +++ b/src/components/html.astro @@ -1,5 +1,6 @@ --- import '../styles/global.css'; +import '../styles/theme.css'; export interface Props { title?: string; description?: string; diff --git a/src/layouts/blank.astro b/src/layouts/blank.astro index 4a4daa9..5500568 100644 --- a/src/layouts/blank.astro +++ b/src/layouts/blank.astro @@ -1,24 +1,47 @@ --- import '../styles/global.css'; import '../styles/theme.css'; +export interface Props { + title?: string; + description?: string; + lang?: string; + charset?: string; +} + +const { title = 'Light Code', description = 'A lightweight code editor', lang = 'zh-CN', charset = 'UTF-8' } = Astro.props; --- - + + - - - AI Pages - + + + + {title} + + + + + + +