feat(curriculum): add C# superblock (#50646)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Tom
2023-06-14 06:36:39 -05:00
committed by GitHub
parent 6fdd146be0
commit 5e04985c93
80 changed files with 2389 additions and 42 deletions
@@ -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 =