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. 1
      content/roadmaps/114-software-architect/meta.json
  5. 2
      public/sitemap.xml

@ -13,7 +13,19 @@ export const upcomingRoadmaps = [
title: 'React Native', title: 'React Native',
description: 'Step by step guide to become a React Native Developer', description: 'Step by step guide to become a React Native Developer',
id: 'react-native' 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) { export function FeaturedRoadmapsList(props: FeaturedRoadmapsListProps) {
@ -30,7 +42,7 @@ export function FeaturedRoadmapsList(props: FeaturedRoadmapsListProps) {
url={`/${roadmap.id}`} url={`/${roadmap.id}`}
key={roadmap.id} key={roadmap.id}
colorIndex={counter} colorIndex={counter}
title={roadmap.featuredTitle} title={roadmap.featuredTitle === 'Software Design and Architecture' ? 'Software Design' : roadmap.featuredTitle}
isCommunity={roadmap.isCommunity} isCommunity={roadmap.isCommunity}
isNew={roadmap.isNew} isNew={roadmap.isNew}
subtitle={roadmap.featuredDescription} subtitle={roadmap.featuredDescription}

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

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

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

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

Loading…
Cancel
Save