yflong.dev
Tracing yflong.dev from a terminal-inspired portfolio into an unboxed, typography-first personal archive记录 yflong.dev 怎样从终端风作品集,褪回无边框、排版优先的个人档案
July 20262026年7月
1. Stripping back interface chrome1. 剥掉多余的界面外框
This site started as a terminal-themed developer portfolio complete with interactive commands, Glass surfaces, status dashboards, and algorithm playgrounds. Over time, maintaining widgets began to overshadow the actual projects and writing they were meant to present.
I stripped the surface down to warm ivory paper, Newsreader set at its 24pt optical cut, a single 38.75rem reading column, and static Next.js exports where every project and essay reads like a standalone monograph.
这个网站最早是个终端主题的开发者作品集,带命令行交互、毛玻璃卡片、状态仪表盘和算法演练场。时间一长,维护这些小组件反而盖过了它们原本要展示的项目和文章。
后来我把整站削回暖象牙纸底、24pt 光学字号的 Newsreader 字体、一条 38.75rem 宽的单栏正文,加上 Next.js 静态导出,让每个项目和每篇文章都能像独立小册子一样安安静静读完。
2. Static guarantees beneath minimal typography2. 极简排版之下的静态保证
Even as the visual surface became quiet, the engineering pipeline underneath stayed strict: Markdown posts validated with Zod and compiled through unified/rehype, build-time sitemap generation, architecture tests enforcing token hygiene, and zero-warning ESLint + TypeScript checks.
表面安静下来,底下的工程管线照旧严格:Markdown 文章走 Zod 校验与 unified/rehype 编译,构建期自动生成 sitemap,架构测试守住 Token 卫生,配合零警告 ESLint 和 TypeScript 检查。
Statically exported with Next.js 15, React 19, TypeScript, Tailwind CSS v4, and Vitest.使用 Next.js 15、React 19、TypeScript、Tailwind CSS v4 与 Vitest 静态导出构建。
Stack: Next.js, React, TypeScript, Tailwind CSS, Framer Motion.技术栈:Next.js、React、TypeScript、Tailwind CSS、Framer Motion。