diff --git a/app/wiki/api/page.tsx b/app/wiki/api/page.tsx deleted file mode 100644 index 84618bf..0000000 --- a/app/wiki/api/page.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { getAllApis } from "@/lib/wiki"; -import Article from '@/components/wiki/Article'; -import { API } from '@/components/mdx-components'; - -export default async function Page() { - const allApis = await getAllApis(); - - // Gruppiert die APIs nach ihrer Kategorie - const groupedApis = Object.groupBy(allApis, (api) => api.category); - - return ( -
- {Object.entries(groupedApis).map(([category, apis]) => ( -
- {/* Kategorie-Überschrift wird nur EINMAL pro Kategorie gerendert */} -

- {category} -

- - {/* Routen innerhalb dieser Kategorie durchgehen */} - {apis?.map((api, index) => ( -
- {api.methods.map((method, mIndex) => ( - - {method.description} - - ))} -
- ))} -
- ))} -
- ); -} \ No newline at end of file