1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 12:10:22 +02:00

Add more upcoming roadmaps

This commit is contained in:
Kamran Ahmed
2022-10-03 21:25:23 +04:00
parent ac7f27440f
commit 9a3a8c091b
5 changed files with 25 additions and 6 deletions

View File

@@ -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}

View File

@@ -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>

View File

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

View File

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

View File

@@ -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>