1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 13:22:38 +02:00

Make golang roadmap interactive

This commit is contained in:
Kamran Ahmed
2022-08-16 18:40:40 +04:00
parent 02415a9ddd
commit 2b66154ff1
6 changed files with 5061 additions and 3771 deletions

View File

@@ -412,7 +412,6 @@
"isUpcoming": false,
"featured": true,
"jsonUrl": "/project/golang.json",
"landingPath": "/roadmaps/108-golang/landscape.md",
"resourcesPath": "/roadmaps/108-golang/resources.md",
"pdfUrl": "/pdfs/go.pdf",
"versions": [
@@ -424,6 +423,7 @@
"name": "Kamran Ahmed",
"url": "https://twitter.com/kamranahmedse"
},
"contentPathsFilePath": "/roadmaps/108-golang/content-paths.json",
"id": "golang",
"metaPath": "/roadmaps/108-golang/meta.json"
},

View File

@@ -36,7 +36,6 @@
"isUpcoming": false,
"featured": true,
"jsonUrl": "/project/golang.json",
"landingPath": "./landscape.md",
"resourcesPath": "./resources.md",
"pdfUrl": "/pdfs/go.pdf",
"versions": [
@@ -47,5 +46,6 @@
"author": {
"name": "Kamran Ahmed",
"url": "https://twitter.com/kamranahmedse"
}
}
},
"contentPathsFilePath": "./content-paths.json"
}

View File

@@ -43,5 +43,5 @@ export function getFeaturedRoadmaps(): RoadmapType[] {
}
export function isInteractiveRoadmap(id: string): boolean {
return ['frontend', 'backend', 'devops', 'react', 'vue', 'python', 'java', 'blockchain'].includes(id);
return ['frontend', 'backend', 'devops', 'react', 'vue', 'python', 'java', 'blockchain', 'golang'].includes(id);
}

View File

@@ -137,6 +137,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
minHeight = ['780px', '1120px', '1770px', '2235px', '2235px', '2235px'];
}
if (roadmap.id === 'golang') {
minHeight = ['590px', '1201px', '1201px', '1625px', '1625px', '1625px'];
}
return (
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
{(isLoading || isRendering) && <RoadmapLoader />}

File diff suppressed because it is too large Load Diff

View File

@@ -51,7 +51,7 @@
<url>
<loc>https://roadmap.sh/golang</loc>
<changefreq>monthly</changefreq>
<lastmod>2022-08-08T14:33:53.389Z</lastmod>
<lastmod>2022-08-16T14:31:54.535Z</lastmod>
<priority>1.0</priority>
</url>
<url>
@@ -261,7 +261,7 @@
<url>
<loc>https://roadmap.sh/</loc>
<changefreq>monthly</changefreq>
<lastmod>2022-08-16T12:05:01.833Z</lastmod>
<lastmod>2022-08-16T13:40:48.255Z</lastmod>
<priority>1.0</priority>
</url>
<url>