diff --git a/src/components/TopicOverlay.astro b/src/components/TopicOverlay.astro index 943feff2d..160fba5a4 100644 --- a/src/components/TopicOverlay.astro +++ b/src/components/TopicOverlay.astro @@ -24,7 +24,7 @@ import Loader from "./Loader.astro"; -
+ diff --git a/src/lib/topic.ts b/src/lib/topic.ts index c95662a83..c716ab2eb 100644 --- a/src/lib/topic.ts +++ b/src/lib/topic.ts @@ -87,6 +87,10 @@ export interface TopicFileType { breadcrumbs: BreadcrumbItem[]; } +/** + * Gets all the topic files available for all the roadmaps + * @returns Hashmap containing the topic slug and the topic file content + */ export async function getTopicFiles(): Promise