diff --git a/src/components/FrameRenderer/FrameRenderer.astro b/src/components/FrameRenderer/FrameRenderer.astro
index 949f7ee97..fb90eb446 100644
--- a/src/components/FrameRenderer/FrameRenderer.astro
+++ b/src/components/FrameRenderer/FrameRenderer.astro
@@ -1,12 +1,10 @@
---
import Loader from '../Loader.astro';
-import ShareIcons from '../ShareIcons/ShareIcons.astro';
-import TopicOverlay from './TopicOverlay.astro';
+import TopicOverlay from '../TopicOverlay/TopicOverlay.astro';
import './FrameRenderer.css';
export interface Props {
roadmapId: string;
- description: string;
jsonUrl: string;
dimensions?: {
width: number;
@@ -14,12 +12,9 @@ export interface Props {
};
}
-const { roadmapId, jsonUrl, dimensions = null, description } = Astro.props;
+const { roadmapId, jsonUrl, dimensions = null } = Astro.props;
---
-
-
-
+
+
\ No newline at end of file
diff --git a/src/components/FrameRenderer/topic.js b/src/components/TopicOverlay/topic.js
similarity index 98%
rename from src/components/FrameRenderer/topic.js
rename to src/components/TopicOverlay/topic.js
index 3f12127e9..971f142d8 100644
--- a/src/components/FrameRenderer/topic.js
+++ b/src/components/TopicOverlay/topic.js
@@ -230,3 +230,7 @@ export class Topic {
});
}
}
+
+// Initialize the topic loader
+const topic = new Topic();
+topic.init();
diff --git a/src/pages/[roadmapId]/index.astro b/src/pages/[roadmapId]/index.astro
index 81a8f26ae..ef6f06551 100644
--- a/src/pages/[roadmapId]/index.astro
+++ b/src/pages/[roadmapId]/index.astro
@@ -5,6 +5,7 @@ import FrameRenderer from '../../components/FrameRenderer/FrameRenderer.astro';
import MarkdownFile from '../../components/MarkdownFile.astro';
import RoadmapHeader from '../../components/RoadmapHeader.astro';
import ShareIcons from '../../components/ShareIcons/ShareIcons.astro';
+import TopicOverlay from '../../components/TopicOverlay/TopicOverlay.astro';
import UpcomingForm from '../../components/UpcomingForm.astro';
import BaseLayout from '../../layouts/BaseLayout.astro';
import { generateArticleSchema, generateFAQSchema } from '../../lib/jsonld-schema';
@@ -57,6 +58,9 @@ if (roadmapFAQs.length) {
noIndex={roadmapData.isUpcoming}
jsonLd={jsonLdSchema}
>
+
+
+
+
-
+
)
}
diff --git a/src/pages/best-practices/[bestPracticeId].astro b/src/pages/best-practices/[bestPracticeId].astro
index 5b9e32d58..0446f418c 100644
--- a/src/pages/best-practices/[bestPracticeId].astro
+++ b/src/pages/best-practices/[bestPracticeId].astro
@@ -51,6 +51,9 @@ if (bestPracticeData.schema) {
noIndex={bestPracticeData.isUpcoming}
jsonLd={jsonLdSchema}
>
+
+
+