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:
@@ -1,12 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import SvgSignature from "@/components/dom/SvgSignature";
|
||||
import { imageLayerTargets } from "@/lib/imageLayers";
|
||||
|
||||
/**
|
||||
* About-section left cell — exact original markup:
|
||||
* About-section left cell — markup follows the original layout minus the
|
||||
* original author's hand-drawn SVG signature (SvgSignature, haoqi 的手写
|
||||
* 签名动画,不属于北极新一,已移除;如需签名效果可换自己的 SVG 后再加回):
|
||||
* <div className="relative col-span-12 sm:col-span-4 lg:col-span-3 p-2">
|
||||
* <SvgSignature className="-top-1/32 -left-1/12 absolute w-3/4 pointer-events-none" />
|
||||
* <div ref={n} className="aspect-square" />
|
||||
* </div>
|
||||
* The aspect-square div is the tracked target ("about" layer) that the
|
||||
@@ -15,7 +15,6 @@ import { imageLayerTargets } from "@/lib/imageLayers";
|
||||
export default function AboutMedia() {
|
||||
return (
|
||||
<div className="relative col-span-12 sm:col-span-4 lg:col-span-3 p-2">
|
||||
<SvgSignature className="-top-1/32 -left-1/12 absolute w-3/4 pointer-events-none" />
|
||||
<div
|
||||
ref={(el) => {
|
||||
imageLayerTargets.about.current = el;
|
||||
|
||||
Reference in New Issue
Block a user