mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(curriculum): add C# superblock (#50646)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
codeAllyCert,
|
||||
colab,
|
||||
frontEndProject,
|
||||
msTrophyUrl,
|
||||
pythonProject
|
||||
} from '../../../../utils/challenge-types';
|
||||
import {
|
||||
@@ -60,6 +61,7 @@ export class SolutionForm extends Component<SolutionFormProps> {
|
||||
{ name: 'solution', label: t('learn.solution-link') },
|
||||
{ name: 'githubLink', label: t('learn.github-link') }
|
||||
];
|
||||
const msTrophyField = [{ name: 'solution', label: t('learn.ms-link') }];
|
||||
|
||||
const buttonCopy = t('learn.i-completed');
|
||||
|
||||
@@ -113,6 +115,13 @@ export class SolutionForm extends Component<SolutionFormProps> {
|
||||
solutionLink = solutionLink + 'https://your-git-repo.url/files';
|
||||
break;
|
||||
|
||||
case msTrophyUrl:
|
||||
formFields = msTrophyField;
|
||||
solutionLink =
|
||||
solutionLink +
|
||||
'https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-1.trophy?username=you';
|
||||
break;
|
||||
|
||||
default:
|
||||
formFields = solutionField;
|
||||
solutionLink =
|
||||
|
||||
Reference in New Issue
Block a user