diff --git a/src/components/UpcomingRoadmap.astro b/src/components/UpcomingForm.astro
similarity index 98%
rename from src/components/UpcomingRoadmap.astro
rename to src/components/UpcomingForm.astro
index fc6b80000..165406ecd 100644
--- a/src/components/UpcomingRoadmap.astro
+++ b/src/components/UpcomingForm.astro
@@ -8,7 +8,7 @@ import Icon from './Icon.astro';
>
-
Upcoming Roadmap
+
Upcoming
Please check back later or subscribe below.
diff --git a/src/pages/[roadmapId]/index.astro b/src/pages/[roadmapId]/index.astro
index 37835a3fd..3792e745e 100644
--- a/src/pages/[roadmapId]/index.astro
+++ b/src/pages/[roadmapId]/index.astro
@@ -3,12 +3,11 @@ import CaptchaScripts from '../../components/Captcha/CaptchaScripts.astro';
import FAQs from '../../components/FAQs/FAQs.astro';
import InteractiveRoadmap from '../../components/InteractiveRoadmap/InteractiveRoadmap.astro';
import MarkdownFile from '../../components/MarkdownFile.astro';
-import MarkdownRoadmap from '../../components/MarkdownRoadmap.astro';
import RoadmapHeader from '../../components/RoadmapHeader.astro';
-import UpcomingRoadmap from '../../components/UpcomingRoadmap.astro';
+import UpcomingForm from '../../components/UpcomingForm.astro';
import BaseLayout from '../../layouts/BaseLayout.astro';
-import { generateArticleSchema, generateFAQSchema } from '../../lib/jsonld-schema';
-import { getRoadmapIds, RoadmapFrontmatter } from '../../lib/roadmap';
+import { generateArticleSchema,generateFAQSchema } from '../../lib/jsonld-schema';
+import { getRoadmapIds,RoadmapFrontmatter } from '../../lib/roadmap';
export async function getStaticPaths() {
const roadmapIds = await getRoadmapIds();
@@ -87,7 +86,7 @@ if (roadmapFAQs.length) {
)
}
- {roadmapData.isUpcoming &&
}
+ {roadmapData.isUpcoming &&
}
diff --git a/src/pages/best-practices/[bestPracticeId].astro b/src/pages/best-practices/[bestPracticeId].astro
index 03a7a5744..93193e6e3 100644
--- a/src/pages/best-practices/[bestPracticeId].astro
+++ b/src/pages/best-practices/[bestPracticeId].astro
@@ -1,10 +1,9 @@
---
import CaptchaScripts from '../../components/Captcha/CaptchaScripts.astro';
-import FAQs from '../../components/FAQs/FAQs.astro';
import InteractiveRoadmap from '../../components/InteractiveRoadmap/InteractiveRoadmap.astro';
import MarkdownFile from '../../components/MarkdownFile.astro';
import RoadmapHeader from '../../components/RoadmapHeader.astro';
-import UpcomingRoadmap from '../../components/UpcomingRoadmap.astro';
+import UpcomingForm from '../../components/UpcomingForm.astro';
import BaseLayout from '../../layouts/BaseLayout.astro';
import { BestPracticeFrontmatter,getBestPracticeIds } from '../../lib/best-pratice';
import { generateArticleSchema } from '../../lib/jsonld-schema';
@@ -23,7 +22,6 @@ interface Params extends Record
{
const { bestPracticeId } = Astro.params as Params;
const bestPracticeFile = await import(`../../best-practices/${bestPracticeId}/${bestPracticeId}.md`);
-const { faqs: roadmapFAQs = [] } = await import(`../../roadmaps/${bestPracticeId}/faqs.astro`);
const bestPracticeData = bestPracticeFile.frontmatter as BestPracticeFrontmatter;
let jsonLdSchema = [];
@@ -78,9 +76,6 @@ if (bestPracticeData.schema) {
)
}
- {bestPracticeData.isUpcoming && }
-
-
-
+ {bestPracticeData.isUpcoming && }