Feat/wiki #40
+3
-4
@@ -5,14 +5,13 @@ export default async function WikiIndexPage() {
|
|||||||
const allPages = await getAllWikiPages();
|
const allPages = await getAllWikiPages();
|
||||||
return (
|
return (
|
||||||
<Article title="Wiki">
|
<Article title="Wiki">
|
||||||
|
<div className="flex flex-col gap-2">
|
||||||
{allPages.map(({ title, path }) => (
|
{allPages.map(({ title, path }) => (
|
||||||
<>
|
<a key={path} href={`/wiki/${path}`} className="hover:underline">
|
||||||
<a key={path} href={`/wiki/${path}`}>
|
|
||||||
{title}
|
{title}
|
||||||
</a>
|
</a>
|
||||||
<br />
|
|
||||||
</>
|
|
||||||
))}
|
))}
|
||||||
|
</div>
|
||||||
</Article>
|
</Article>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user