/** * WORK_ITEMS — from the original d59f7a97fb1c563f.js (module 28116), * including the passcode-protected first entry (the grid filters it via * `WORK_ITEMS.filter(t => !t.passcodeProtected || lookup(t.href))` — the * locked one reveals the brand label "小红书"; see WorkSection). * * Internal detail routes render app/work/[slug]/page.tsx; clicks go through * the cover/reveal transition (startNavigation). */ import { revealBrandLabel } from "@/lib/passcode"; export type WorkItem = { name: string; imageUrl: string; hoverImageUrl: string; href: string; year: string; type: "post" | "tools" | "event"; gridClass: string; codingProject?: boolean; passcodeProtected?: boolean; }; export const SELECTED_WORK_SECTION_ID = "selected-work"; /** * 作品数据已迁移至 SQLite(site_config + works 表),由后台管理。 * 此处保留类型定义;运行时数据通过 lib/siteConfig.ts 从 DB 读取。 */ export const WORK_ITEMS: WorkItem[] = [];