From 9a822e7105a50eb2b50e972fba2319e84c6655eb Mon Sep 17 00:00:00 2001 From: dsh Date: Tue, 15 Sep 2026 17:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E9=A1=B5=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=A0=88=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删掉「关于本站」里那排 emoji 标签(🐧 Linux / 🐳 Docker / 🚀 Astro …) - 一并删掉只为它存在的 skills 数组(删掉渲染后就没引用了) - 顺手修复:手动删除时把上一节的 也一起带走了,JSX 变成 4 个
对 3 个
,构建直接报 `Unexpected closing "div" tag does not match opening "section" tag`(:165) - 清掉删除后残留的一行游离空格 验证:pnpm build 退出码 0;dist/about/index.html 里 🐧🐳🚀📋 / VS Code 均消失,章节只剩 关于我 / 关于本站 / 博客旅程 / 评论 --- src/components/pages/AboutPage.tsx | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/components/pages/AboutPage.tsx b/src/components/pages/AboutPage.tsx index a1abdf2..a561db2 100644 --- a/src/components/pages/AboutPage.tsx +++ b/src/components/pages/AboutPage.tsx @@ -2,19 +2,6 @@ import { MapPin } from "lucide-react" import { profile } from "@/data/profile" import { ProfileContactLink } from "@/components/profile-contact-link" -/** 技术栈标签 */ -const skills = [ - "🐧 Linux", - "🐳 Docker", - "🚀 Astro", - "📝 Markdown", - "🌐 Nginx", - "☁️ 服务器", - "📦 Git", - "💻 VS Code", - "📋 Obsidian", -] - /** 博客旅程。改这里就能更新关于页的时间线 */ const journey = [ { date: "2026年4月27日", title: "🌱 初次建站", desc: "用 VanBlog 搭建第一个博客" }, @@ -125,18 +112,6 @@ export default function AboutPage() { Vitepress,从动态站折腾到静态站,换来换去,可能这就是玩博客的人的必经之路。

- - {/* Tech stack */} -
- {skills.map((skill) => ( - - {skill} - - ))} -
{/* Journey Section */}