From 76363f2a45a46b9062020901664c823738309f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=BD=87?= Date: Mon, 20 Oct 2025 03:11:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20components/html.astro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/html.astro | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 components/html.astro diff --git a/components/html.astro b/components/html.astro new file mode 100644 index 0000000..e97502c --- /dev/null +++ b/components/html.astro @@ -0,0 +1,46 @@ +--- +import '../styles/global.css'; +export interface Props { + title?: string; + description?: string; + lang?: string; + charset?: string; +} + +const { title = 'Light Code', description = 'html', lang = 'zh-CN', charset = 'UTF-8' } = Astro.props; +--- + + + + + + + + {title} + + + + + + + + + + + +