77 </:header >
88 <:content >
99 <div class =" prose dark:prose-invert" data-test-instructions-text>
10- <p >
11- Congratulations are in order. Only ~{{ @repository.course.roundedCompletionPercentage }} % of users that attempt this challenge end up completing
12- all stages, and you're one of them!
13- </p >
14- <p >
15- Here's what you can do next:
16- </p >
17- <ul >
18- <li >
19- <strong >Polish your code. </strong >Perhaps you took a shortcut when approaching the challenge the first time. Now is a great time to clean
20- up your code. You can simply push new commits to the existing repo, and we'll run tests just like before.
21- </li >
22- <li >
23- <strong >Publish to GitHub. </strong >Share your work with the world. With one click, you can publish your CodeCrafters project to GitHub.
24- <span role =" button" class =" underline" {{ on " click" (fn (mut this.configureGithubIntegrationModalIsOpen ) true )}} ><strong >Click here</strong ></span >
25- to get started.
26- </li >
27- <li >
28- <strong >Try a different approach. </strong >You can re-approach the same challenge with a new programming language, a new constraint, or a
29- new style. To launch the challenge again, use the dropdown on the top left.
30- </li >
31- </ul >
32- <p >
33- If you've got any feedback or feature requests, feel free to let us know at
34- <
a href =" mailto:[email protected] " >
[email protected] </
a >. We respond to every single email.
35- </p >
10+ {{! If there's no completion_message set, the backend returns null }}
11+ {{ #if (eq @repository.course.completionMessageMarkdown null )}}
12+ <p >
13+ Congratulations are in order. Only ~{{ @repository.course.roundedCompletionPercentage }} % of users that attempt this challenge end up
14+ completing all stages, and you're one of them!
15+ </p >
16+ <p >
17+ Here's what you can do next:
18+ </p >
19+ <ul >
20+ <li >
21+ <strong >Polish your code. </strong >Perhaps you took a shortcut when approaching the challenge the first time. Now is a great time to clean
22+ up your code. You can simply push new commits to the existing repo, and we'll run tests just like before.
23+ </li >
24+ <li >
25+ <strong >Publish to GitHub. </strong >Share your work with the world. With one click, you can publish your CodeCrafters project to GitHub.
26+ <span role =" button" class =" underline" {{ on " click" (fn (mut this.configureGithubIntegrationModalIsOpen ) true )}} ><strong >Click here</strong ></span >
27+ to get started.
28+ </li >
29+ <li >
30+ <strong >Try a different approach. </strong >You can re-approach the same challenge with a new programming language, a new constraint, or a
31+ new style. To launch the challenge again, use the dropdown on the top left.
32+ </li >
33+ </ul >
34+ <p >
35+ If you've got any feedback or feature requests, feel free to let us know at
36+ <
a href =" mailto:[email protected] " >
[email protected] </
a >. We respond to every single email.
37+ </p >
38+ {{ else }}
39+ {{! @glint -expect-error the else condition is guarded by a null check }}
40+ {{ markdown-to-html @repository.course.completionMessageMarkdown }}
41+ {{ /if }}
3642 </div >
3743 </:content >
3844</CoursePage::InstructionsCard >
3945
4046{{ #if this.configureGithubIntegrationModalIsOpen }}
4147 <ModalBackdrop >
42- <CoursePage::ConfigureGithubIntegrationModal @repository ={{ @repository }} @onClose ={{ fn (mut this.configureGithubIntegrationModalIsOpen ) false }} />
48+ {{! @glint -expect-error: not ts-ified yet }}
49+ <CoursePage::ConfigureGithubIntegrationModal
50+ @repository ={{ @repository }}
51+ {{! @glint -expect-error: mut not ts-ified yet }}
52+ @onClose ={{ fn (mut this.configureGithubIntegrationModalIsOpen ) false }}
53+ />
4354 </ModalBackdrop >
4455{{ /if }}
0 commit comments