Add more upcoming roadmaps

pull/2078/head
Kamran Ahmed 2 years ago
parent ac7f27440f
commit 9a3a8c091b
  1. 16
      components/home/featured-roadmaps-list.tsx
  2. 9
      components/related-roadmaps.tsx
  3. 1
      content/roadmaps.json
  4. 3
      content/roadmaps/114-software-architect/meta.json
  5. 2
      public/sitemap.xml

@ -13,7 +13,19 @@ export const upcomingRoadmaps = [
title: 'React Native',
description: 'Step by step guide to become a React Native Developer',
id: 'react-native'
}
},
{
type: 'Skill Based',
title: 'TypeScript',
description: 'Step by step guide to learn TypeScript in 2022',
id: 'typescript'
},
{
type: 'Skill Based',
title: 'Rust',
description: 'Step by step guide to learn Rust in 2022',
id: 'rust'
},
];
export function FeaturedRoadmapsList(props: FeaturedRoadmapsListProps) {
@ -30,7 +42,7 @@ export function FeaturedRoadmapsList(props: FeaturedRoadmapsListProps) {
url={`/${roadmap.id}`}
key={roadmap.id}
colorIndex={counter}
title={roadmap.featuredTitle}
title={roadmap.featuredTitle === 'Software Design and Architecture' ? 'Software Design' : roadmap.featuredTitle}
isCommunity={roadmap.isCommunity}
isNew={roadmap.isNew}
subtitle={roadmap.featuredDescription}

@ -17,6 +17,10 @@ const colorsList = [
'pink.700'
];
const roadmapTitleMapping: Record<string, string> = {
"Software Design and Architecture": "Software Design",
}
export function RelatedRoadmaps(props: RelatedRoadmapsProps) {
const { roadmaps } = props;
if (!roadmaps.length) {
@ -61,9 +65,10 @@ export function RelatedRoadmaps(props: RelatedRoadmapsProps) {
as='span'
fontWeight='bold'
display={['inline-block']}
minWidth='140px'
minWidth='150px'
mr='10px'
>
{roadmap.featuredTitle}
{roadmapTitleMapping[roadmap.featuredTitle] || roadmap.featuredTitle}
</Text>
<Text as='span' display={['block', 'inline']} isTruncated maxWidth='100%' fontSize={['sm', 'sm', 'md']} color='gray.700'>{roadmap.featuredDescription}</Text>
</Link>

@ -942,6 +942,7 @@
"versions": [],
"relatedRoadmaps": [
"backend",
"software-design-architecture",
"python",
"python",
"nodejs",

@ -36,6 +36,7 @@
"versions": [],
"relatedRoadmaps": [
"backend",
"software-design-architecture",
"python",
"python",
"nodejs",
@ -44,4 +45,4 @@
"devops"
],
"contentPathsFilePath": "./content-paths.json"
}
}

@ -99,7 +99,7 @@
<url>
<loc>https://roadmap.sh/software-architect</loc>
<changefreq>monthly</changefreq>
<lastmod>2022-09-26T21:37:21.827Z</lastmod>
<lastmod>2022-10-03T17:18:04.218Z</lastmod>
<priority>1.0</priority>
</url>
<url>

Loading…
Cancel
Save