feat(layout): 基础布局/导航/页脚/明暗不闪烁
- BaseLayout:字体三轨统持、viewport-fit=cover、theme-color 双套、skip-link - Header:≤4 项导航纪律 + sticky 毛玻璃 + aria-current;搜索 icon 占位待 T8 - Footer:ICP 备案链接(法定保留)+ built-from 具名槽位待 T7 - ThemeScript:head 内联先于首帧,手选 > 系统偏好,防白闪 验证: pnpm astro build exit 0;dist/index.html 含 ICP 文案与跳到正文链 Spec: 2026-10-24_add-blog-skeleton Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
ee53279822
commit
b50eddf2bb
5 files changed
+185
-13
No files matched your search
+4
-13
@@ -1,15 +1,6 @@
|
||||
---
|
||||
// T1 占位首页:T5 起替换为 BaseLayout + 真实首页结构
|
||||
// 字体三轨在此预挂(T5 移入 BaseLayout):unicode-range 预分片自托管
|
||||
import 'lxgw-wenkai-screen-webfont/lxgwwenkaiscreen.css';
|
||||
import '@fontsource/noto-sans-sc/400.css';
|
||||
import '@fontsource/noto-sans-sc/500.css';
|
||||
import '@fontsource/noto-sans-sc/700.css';
|
||||
import '@fontsource/jetbrains-mono/400.css';
|
||||
import '@fontsource/jetbrains-mono/700.css';
|
||||
import '../styles/global.css';
|
||||
import BaseLayout from '../layouts/BaseLayout.astro';
|
||||
---
|
||||
<html lang="zh">
|
||||
<head><meta charset="utf-8" /><title>wait4x</title></head>
|
||||
<body>Phase 1 skeleton</body>
|
||||
</html>
|
||||
<BaseLayout title="wait4x">
|
||||
<p>Phase 1 · T5 布局就绪,首页结构 T6 填充。</p>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user