Files
psalmtafel-webservice/app/wiki/page.tsx
T
2026-08-25 12:35:28 +02:00

18 lines
551 B
TypeScript

import Article from "@/components/wiki/Article";
import { getAllWikiPages } from "@/lib/wiki";
export default async function WikiIndexPage() {
const allPages = await getAllWikiPages();
return (
<Article title="Wiki">
{allPages.map(({ title, path }) => (
<>
<a key={path} href={`/wiki/${path}`}>
{title}
</a>
<br />
</>
))}
</Article>
);
}