feat: 作品区空状态 — 编号叙事占位卡
WORK_ITEMS 过滤后为空(含只挂锁定条目)时渲染「第一批作品正在打磨」 空状态:大字 scramble 标题 + NO.001-003 骨架卡(点阵纹理 + 虚线框 + 制作中/20XX 标签,复用真实网格不对称节奏)+ 小红书/抖音/邮箱 CTA。 - 占位卡不注册 WebGL 图层,纯 DOM 渲染,加首个真实作品自动切回 - 联系方式抽到 lib/socials.ts 供页脚与空状态共用 - lint 与基线一致(119 errors 均为存量)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { useCallback, useState } from "react";
|
||||
import ScrambleReveal from "@/components/dom/ScrambleReveal";
|
||||
import { CONTACT_EMAIL } from "@/lib/socials";
|
||||
|
||||
/**
|
||||
* #contact footer — ported from the original footer (chunk
|
||||
@@ -17,7 +18,7 @@ import ScrambleReveal from "@/components/dom/ScrambleReveal";
|
||||
* - 微信:无链接,点击弹出二维码浮层(移动端无 hover 也能查看)。
|
||||
*/
|
||||
|
||||
const CONTACT_EMAIL = "chenchun@virtheart.com";
|
||||
// CONTACT_EMAIL 来自 @/lib/socials(与空作品区 CTA 共享)。
|
||||
|
||||
const dottedLink =
|
||||
"block before:absolute relative before:inset-0 p-2 lg:hover:before:border-l1 before:border-2 before:border-transparent active:before:border-l1 before:border-dotted uppercase before:content-[''] before:transition-colors before:duration-200 cursor-pointer pointer-events-auto before:pointer-events-none";
|
||||
|
||||
Reference in New Issue
Block a user