Interactive frontend roadmap with contribution links

This commit is contained in:
Kamran Ahmed
2021-12-05 01:50:05 +01:00
parent 16b2019d06
commit 3eb13043ce
137 changed files with 220 additions and 148 deletions

View File

@ -51,6 +51,11 @@ function RoadmapRenderer(props: RoadmapProps) {
return;
}
if (groupId.startsWith('ext_link:')) {
window.open(`https://${groupId.replace('ext_link:', '')}`);
return;
}
// e.g. 100-internet:how-does-the-internet-work
// will be translated to `internet:how-does-the-internet-work`
setGroupId(groupId.replace(/^\d+-/, ''));