diff --git a/src/components/resources/Display.astro b/src/components/resources/Display.astro index fd00299..0472e71 100644 --- a/src/components/resources/Display.astro +++ b/src/components/resources/Display.astro @@ -21,5 +21,5 @@ const type = resource?.content?._type ?? "unknown";
- +
diff --git a/src/pages/resources/index.astro b/src/pages/resources/index.astro index 56314ec..b9dbc95 100644 --- a/src/pages/resources/index.astro +++ b/src/pages/resources/index.astro @@ -8,5 +8,11 @@ const t = useTranslations(Astro.url); --- - {resources.map((resource) => )} + {resources.map((resource) => + + )} diff --git a/src/pages/resources/resources.ts b/src/pages/resources/resources.ts index 6adda25..9bc6c00 100644 --- a/src/pages/resources/resources.ts +++ b/src/pages/resources/resources.ts @@ -6,16 +6,6 @@ export type ResourceType = { cover: string; }; -// const wiki = { -// id: "wiki", -// collection, -// body: "My knowledge base", -// data: { -// title: "Wiki", -// icon: "🧠", -// }, -// }; - const articles = { id: "articles", collection,