From 190edd09154699d7df3253911c10b8a0ddba1879 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Fri, 24 Oct 2025 15:00:08 +0200 Subject: [PATCH] fix: some stuff --- src/components/resources/Display.astro | 2 +- src/pages/resources/index.astro | 8 +++++++- src/pages/resources/resources.ts | 10 ---------- 3 files changed, 8 insertions(+), 12 deletions(-) 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,