|
|
|
@ -4,6 +4,7 @@ import CaptchaScripts from '../../components/Captcha/CaptchaScripts.astro'; |
|
|
|
|
import FrameRenderer from '../../components/FrameRenderer/FrameRenderer.astro'; |
|
|
|
|
import MarkdownFile from '../../components/MarkdownFile.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 { BestPracticeFrontmatter, getBestPracticeIds } from '../../lib/best-pratice'; |
|
|
|
@ -40,6 +41,8 @@ if (bestPracticeData.schema) { |
|
|
|
|
}) |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const contentContributionLink = `https://github.com/kamranahmedse/developer-roadmap/tree/master/src/best-practices/${bestPracticeId}/content`; |
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
<BaseLayout |
|
|
|
@ -69,6 +72,7 @@ if (bestPracticeData.schema) { |
|
|
|
|
description={bestPracticeData.featuredDescription} |
|
|
|
|
pageUrl={`https://roadmap.sh/best-practices/${bestPracticeId}`} |
|
|
|
|
/> |
|
|
|
|
<TopicOverlay contentContributionLink={contentContributionLink} /> |
|
|
|
|
|
|
|
|
|
<FrameRenderer |
|
|
|
|
roadmapId={bestPracticeId} |
|
|
|
|