mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 02:07:00 +08:00
feat(client/curriculum): make python live (#52628)
This commit is contained in:
@@ -53,6 +53,7 @@ const superBlockFolderMap = {
|
||||
'upcoming-python': '20-upcoming-python',
|
||||
'a2-english-for-developers': '21-a2-english-for-developers',
|
||||
'rosetta-code': '22-rosetta-code',
|
||||
'python-for-everybody': '23-python-for-everybody',
|
||||
'example-certification': '99-example-certification'
|
||||
};
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ export function getSuperBlockSubPath(superBlock: SuperBlocks): string {
|
||||
[SuperBlocks.UpcomingPython]: '20-upcoming-python',
|
||||
[SuperBlocks.A2English]: '21-a2-english-for-developers',
|
||||
[SuperBlocks.RosettaCode]: '22-rosetta-code',
|
||||
[SuperBlocks.PythonForEverybody]: '23-python-for-everybody',
|
||||
[SuperBlocks.ExampleCertification]: '99-example-certification'
|
||||
};
|
||||
return pathMap[superBlock];
|
||||
|
||||
@@ -48,7 +48,8 @@ export const orderedSuperBlockInfo = [
|
||||
{ dashedName: SuperBlocks.CodingInterviewPrep, public: false },
|
||||
{ dashedName: SuperBlocks.ProjectEuler, public: false },
|
||||
{ dashedName: SuperBlocks.RelationalDb, public: false },
|
||||
{ dashedName: SuperBlocks.RosettaCode, public: false }
|
||||
{ dashedName: SuperBlocks.RosettaCode, public: false },
|
||||
{ dashedName: SuperBlocks.PythonForEverybody, public: false }
|
||||
];
|
||||
|
||||
const dashedNames = orderedSuperBlockInfo.map(({ dashedName }) => dashedName);
|
||||
|
||||
Reference in New Issue
Block a user