feat: 北极新一中文个人站 — MiSans 分片字体 + 全站内容国内化

- 字体: cn-font-split 分片 MiSans(4字重×~88片, unicode-range 按需加载)
  接入 --font-sans/--font-mono/--font-mono-2 栈尾; 修复 next/font 与
  Tailwind @theme 变量重名导致的死规则(--font-geist-mono/--font-departure-mono)
- 内容: 品牌名/首屏/关于/导航/页脚/滚动段/文章页 UI/解锁屏全部中文化;
  元数据 title 北极新一©2026, lang=zh-CN; 日期中文格式
- 彩蛋: 品牌标签 TikTok→小红书(保留 char-code 混淆与口令机制), /2026
  文案改为个人创作手记语境
- 页脚: 邮箱 + 抖音/微信/小红书; 有链接项点击新开主页, 全部支持悬停
  二维码卡片(正方形白衬+object-contain 防变形); 无链接项(微信)点击弹
  二维码浮层
- 移除原作者手写签名动画(AboutMedia)
- 构建: cn-font-split devDependency + onlyBuiltDependencies 允许列表
This commit is contained in:
2026-09-02 17:18:22 +08:00
parent 1860bc9f41
commit 285028c61d
380 changed files with 1189 additions and 181 deletions
+11 -11
View File
@@ -45,9 +45,9 @@ const STAGES = [
type Stage = (typeof STAGES)[number]["stage"];
const SEG0_PRIMARY = ["Innovate", "with", "purpose"];
const SEG0_SECONDARY = ["Innovate", "with a", "human touch"];
const END_LINES = ["FUTURE-FIRST", "ALWAYS"];
const SEG0_PRIMARY = ["以创新", "拥抱", "目标"];
const SEG0_SECONDARY = ["以创新", "怀抱一份", "人情的温度"];
const END_LINES = ["面向未来", "始终如一"];
const clamp = (v: number, min: number, max: number) =>
Math.min(max, Math.max(min, v));
@@ -470,24 +470,24 @@ function Seg1({ ringProgress01 }: { ringProgress01: number }) {
<>
<Ring progress01={ringProgress01} />
<div className="col-span-8 lg:col-span-4 col-start-1 lg:col-start-7 row-start-2 p-2 font-medium text-[5.6svw] lg:text-3xl leading-tight">
<StaggerText text="Building tomorrow's" />
<StaggerText text="构建明天的" />
<br />
<StaggerText text="digital products." />
<StaggerText text="数字产品。" />
</div>
<div className="col-span-8 lg:col-span-4 col-start-5 lg:col-start-9 row-start-3 p-2 font-medium text-[5.6svw] lg:text-3xl leading-tight">
<StaggerText text="Independent by" />
<StaggerText text="设计与工程" />
<br />
<StaggerText text="design & engineering." />
<StaggerText text="独立完成。" />
</div>
<div className="col-span-8 lg:col-span-4 col-start-1 lg:col-start-2 row-start-4 p-2 font-medium text-[5.6svw] lg:text-3xl leading-tight">
<StaggerText text="Clarity first." />
<StaggerText text="先讲清晰。" />
<br />
<StaggerText text="Delight second." />
<StaggerText text="再谈愉悦。" />
</div>
<div className="col-span-8 lg:col-span-4 col-start-5 lg:col-start-4 row-start-5 p-2 font-medium text-[5.6svw] lg:text-3xl leading-tight">
<StaggerText text="Ship in small loops." />
<StaggerText text="小步快跑交付。" />
<br />
<StaggerText text="Aim for long arcs." />
<StaggerText text="着眼长期主义。" />
</div>
</>
);