From 9a3a8c091b011750e4919173c70491a24a251d44 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 3 Oct 2022 21:25:23 +0400 Subject: [PATCH] Add more upcoming roadmaps --- components/home/featured-roadmaps-list.tsx | 16 ++++++++++++++-- components/related-roadmaps.tsx | 9 +++++++-- content/roadmaps.json | 1 + .../roadmaps/114-software-architect/meta.json | 3 ++- public/sitemap.xml | 2 +- 5 files changed, 25 insertions(+), 6 deletions(-) diff --git a/components/home/featured-roadmaps-list.tsx b/components/home/featured-roadmaps-list.tsx index c770a067a..64a7aeda5 100644 --- a/components/home/featured-roadmaps-list.tsx +++ b/components/home/featured-roadmaps-list.tsx @@ -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} diff --git a/components/related-roadmaps.tsx b/components/related-roadmaps.tsx index 558497965..ce3b5230f 100644 --- a/components/related-roadmaps.tsx +++ b/components/related-roadmaps.tsx @@ -17,6 +17,10 @@ const colorsList = [ 'pink.700' ]; +const roadmapTitleMapping: Record = { + "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} {roadmap.featuredDescription} diff --git a/content/roadmaps.json b/content/roadmaps.json index dbc6d319f..14b11aaf1 100644 --- a/content/roadmaps.json +++ b/content/roadmaps.json @@ -942,6 +942,7 @@ "versions": [], "relatedRoadmaps": [ "backend", + "software-design-architecture", "python", "python", "nodejs", diff --git a/content/roadmaps/114-software-architect/meta.json b/content/roadmaps/114-software-architect/meta.json index 0c0827050..5a363ec0b 100644 --- a/content/roadmaps/114-software-architect/meta.json +++ b/content/roadmaps/114-software-architect/meta.json @@ -36,6 +36,7 @@ "versions": [], "relatedRoadmaps": [ "backend", + "software-design-architecture", "python", "python", "nodejs", @@ -44,4 +45,4 @@ "devops" ], "contentPathsFilePath": "./content-paths.json" -} \ No newline at end of file +} diff --git a/public/sitemap.xml b/public/sitemap.xml index 907573c43..a1f6355b6 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -99,7 +99,7 @@ https://roadmap.sh/software-architect monthly - 2022-09-26T21:37:21.827Z + 2022-10-03T17:18:04.218Z 1.0