feat: list all wikiPages on the index page
This commit is contained in:
1 parent
1d34622b39
commit
675c046029
2 files changed
+64
-17
No files matched your search
+8
-4
@@ -1,7 +1,11 @@
|
||||
import Article from "@/components/wiki/Article";
|
||||
import { getAllWikiPages } from "@/lib/wiki";
|
||||
|
||||
export default function WikiIndexPage() {
|
||||
const allPages = getAllWikiPages();
|
||||
return (
|
||||
<div>
|
||||
<p>hi</p>
|
||||
</div>
|
||||
)
|
||||
<Article title="Wiki">
|
||||
<p>hi</p>
|
||||
</Article>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user