[taskboard] migrate fleet console to nextjs

This commit is contained in:
2026-03-06 14:44:27 -08:00
parent 94e54dc144
commit a765b3d22f
48 changed files with 5483 additions and 790 deletions

23
app/wiki/page.tsx Normal file
View File

@@ -0,0 +1,23 @@
import { WikiView } from "@/components/wiki-view";
import { listWikiPages, readWikiPage } from "@/lib/wiki";
export const dynamic = "force-dynamic";
export default async function WikiPage() {
const pages = listWikiPages();
const firstPage = pages[0] ? readWikiPage(pages[0].filename) : null;
return (
<WikiView
pages={pages}
initialPageContent={
firstPage
? {
title: firstPage.metadata.title,
content: firstPage.content,
}
: null
}
/>
);
}