mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(curriculum): add dev-playground superblock and daily challenge types (#60439)
Co-authored-by: Kolade Chris <65571316+Ksound22@users.noreply.github.com> Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,8 @@ const superBlockFolderMap = {
|
||||
'python-for-everybody': '23-python-for-everybody',
|
||||
'b1-english-for-developers': '24-b1-english-for-developers',
|
||||
'full-stack-developer': '25-front-end-development',
|
||||
'a2-professional-spanish': '26-a2-professional-spanish'
|
||||
'a2-professional-spanish': '26-a2-professional-spanish',
|
||||
'dev-playground': '99-dev-playground'
|
||||
};
|
||||
|
||||
// Adding types for getChallengesForLang is possible, but not worth the effort
|
||||
|
||||
@@ -27,7 +27,8 @@ export function getSuperBlockSubPath(superBlock: SuperBlocks): string {
|
||||
[SuperBlocks.PythonForEverybody]: '23-python-for-everybody',
|
||||
[SuperBlocks.B1English]: '24-b1-english-for-developers',
|
||||
[SuperBlocks.FullStackDeveloper]: '25-front-end-development',
|
||||
[SuperBlocks.A2Spanish]: '26-a2-professional-spanish'
|
||||
[SuperBlocks.A2Spanish]: '26-a2-professional-spanish',
|
||||
[SuperBlocks.DevPlayground]: '99-dev-playground'
|
||||
};
|
||||
return pathMap[superBlock];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user