关于页移除技术栈标签
- 删掉「关于本站」里那排 emoji 标签(🐧 Linux / 🐳 Docker / 🚀 Astro …) - 一并删掉只为它存在的 skills 数组(删掉渲染后就没引用了) - 顺手修复:手动删除时把上一节的 </section> 也一起带走了,JSX 变成 4 个 <section> 对 3 个 </section>,构建直接报 `Unexpected closing "div" tag does not match opening "section" tag`(:165) - 清掉删除后残留的一行游离空格 验证:pnpm build 退出码 0;dist/about/index.html 里 🐧🐳🚀📋 / VS Code 均消失,章节只剩 关于我 / 关于本站 / 博客旅程 / 评论
This commit is contained in:
@@ -2,19 +2,6 @@ import { MapPin } from "lucide-react"
|
|||||||
import { profile } from "@/data/profile"
|
import { profile } from "@/data/profile"
|
||||||
import { ProfileContactLink } from "@/components/profile-contact-link"
|
import { ProfileContactLink } from "@/components/profile-contact-link"
|
||||||
|
|
||||||
/** 技术栈标签 */
|
|
||||||
const skills = [
|
|
||||||
"🐧 Linux",
|
|
||||||
"🐳 Docker",
|
|
||||||
"🚀 Astro",
|
|
||||||
"📝 Markdown",
|
|
||||||
"🌐 Nginx",
|
|
||||||
"☁️ 服务器",
|
|
||||||
"📦 Git",
|
|
||||||
"💻 VS Code",
|
|
||||||
"📋 Obsidian",
|
|
||||||
]
|
|
||||||
|
|
||||||
/** 博客旅程。改这里就能更新关于页的时间线 */
|
/** 博客旅程。改这里就能更新关于页的时间线 */
|
||||||
const journey = [
|
const journey = [
|
||||||
{ date: "2026年4月27日", title: "🌱 初次建站", desc: "用 VanBlog 搭建第一个博客" },
|
{ date: "2026年4月27日", title: "🌱 初次建站", desc: "用 VanBlog 搭建第一个博客" },
|
||||||
@@ -125,18 +112,6 @@ export default function AboutPage() {
|
|||||||
<strong>Vitepress</strong>,从动态站折腾到静态站,换来换去,可能这就是玩博客的人的必经之路。
|
<strong>Vitepress</strong>,从动态站折腾到静态站,换来换去,可能这就是玩博客的人的必经之路。
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Tech stack */}
|
|
||||||
<div className="flex flex-wrap gap-2.5 mt-6">
|
|
||||||
{skills.map((skill) => (
|
|
||||||
<span
|
|
||||||
key={skill}
|
|
||||||
className="px-4 py-1.5 rounded-full text-sm font-medium border border-primary/25 bg-primary/10 text-primary transition-all duration-200 hover:-translate-y-0.5 hover:bg-primary hover:text-primary-foreground"
|
|
||||||
>
|
|
||||||
{skill}
|
|
||||||
</span>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Journey Section */}
|
{/* Journey Section */}
|
||||||
|
|||||||
Reference in New Issue
Block a user