s
This commit is contained in:
81
app/[locale]/changelog/page.tsx
Normal file
81
app/[locale]/changelog/page.tsx
Normal file
@@ -0,0 +1,81 @@
|
||||
import Footer from "@/app/components/Footer";
|
||||
|
||||
const entries = [
|
||||
{
|
||||
date: "2026-06-07",
|
||||
title: "数字游民指南视觉统一",
|
||||
items: [
|
||||
"将数字指南页对齐首页品牌色、导航、按钮与卡片风格。",
|
||||
"修复全量 lint 中的 React hook error。",
|
||||
"补齐主菜单与数字页 footer 的占位链接。",
|
||||
],
|
||||
},
|
||||
{
|
||||
date: "2026-06-01",
|
||||
title: "社区工作流联通",
|
||||
items: [
|
||||
"上线站内消息、活动报名、反馈、赏金任务与服务咨询入口。",
|
||||
"完善城市详情弹窗的活动、讨论、成本和成员信息模块。",
|
||||
],
|
||||
},
|
||||
{
|
||||
date: "2026-05-20",
|
||||
title: "数据化下一站",
|
||||
items: [
|
||||
"新增下一站推荐、城市数据、成员地图和年度报告页面。",
|
||||
"接入后端 API 与 PocketBase 数据源,保留前端降级数据。",
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const metadata = {
|
||||
title: "更新日志 | 游牧中国",
|
||||
description: "游牧中国产品更新、修复和功能上线记录。",
|
||||
};
|
||||
|
||||
export default function ChangelogPage() {
|
||||
return (
|
||||
<>
|
||||
<main className="min-h-screen bg-[#fafafa] dark:bg-gray-950">
|
||||
<section className="mx-auto max-w-4xl px-4 py-12 sm:px-6 sm:py-20">
|
||||
<div className="mb-10">
|
||||
<h1 className="flex items-center gap-2 text-3xl font-bold text-gray-900 dark:text-gray-100 sm:text-4xl">
|
||||
<span className="h-10 w-1 rounded-full bg-[#ff4d4f]" />
|
||||
更新日志
|
||||
</h1>
|
||||
<p className="mt-3 text-gray-600 dark:text-gray-400">
|
||||
记录产品功能、体验优化、线上修复和数据联通进展。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="space-y-5">
|
||||
{entries.map((entry) => (
|
||||
<article
|
||||
key={entry.date}
|
||||
className="rounded-2xl border border-gray-100 bg-white p-5 shadow-sm dark:border-gray-800 dark:bg-gray-900 sm:p-6"
|
||||
>
|
||||
<div className="mb-4 flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between">
|
||||
<h2 className="text-lg font-bold text-gray-900 dark:text-gray-100">
|
||||
{entry.title}
|
||||
</h2>
|
||||
<time className="text-sm text-gray-400 dark:text-gray-500" dateTime={entry.date}>
|
||||
{entry.date}
|
||||
</time>
|
||||
</div>
|
||||
<ul className="space-y-2">
|
||||
{entry.items.map((item) => (
|
||||
<li key={item} className="flex gap-2 text-sm leading-6 text-gray-600 dark:text-gray-400">
|
||||
<span className="mt-2 h-1.5 w-1.5 shrink-0 rounded-full bg-[#ff4d4f]" />
|
||||
<span>{item}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user