From 9a13d54964bce663345a6e40502a216892ea751c Mon Sep 17 00:00:00 2001 From: QihanNX Date: Sat, 13 Jun 2026 16:33:30 +0800 Subject: [PATCH] Update Footer.astro --- src/components/Footer.astro | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 77ce307..2ec79e8 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,28 +1,13 @@ --- -// --- 1. 组件脚本 (Frontmatter) --- -// 在这里编写JavaScript逻辑,这部分代码只在构建时运行,不会发送到浏览器 -import { YOUR_ICP_NUMBER } from '../config'; // 假设你将备案号存在了配置文件中 const currentYear = new Date().getFullYear(); -// 你也可以直接从组件属性(props)获取数据,这里为了简洁,先写为固定值 -// 更多关于在组件脚本中编写JS的内容:https://www.astrojs.cn/zh-cn/basics/astro-components/[reference:2] --- - - -