Skip to content

Commit

Permalink
fix: Remove unnecessary code and update layout in instructions.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
andy1li committed Dec 26, 2024
1 parent 4ea1d05 commit bdd2618
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions app/templates/course/stage/instructions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,9 @@
</div>
{{/if}}

{{! TODO: Bring this back? }}
{{!-- {{#if this.shouldShowPrerequisites}}
<CoursePage::CourseStageStep::PrerequisitesCard @repository={{@model.activeRepository}} @courseStage={{@model.courseStage}} class="mb-6" />
{{/if}} --}}

<CoursePage::CourseStageStep::YourTaskCard @repository={{@model.activeRepository}} @courseStage={{@model.courseStage}} />

{{! TODO: Remove this temporary card }}
{{#if (and @model.courseStage.isSecond (eq @model.courseStage.course.slug "shell"))}}
<div class="pt-12 pb-8 pr-4 flex items-start gap-4">
<div class="my-10 mx-6 flex items-start gap-4">
<img
alt="avatar"
src="https://avatars.githubusercontent.com/u/1450947"
Expand All @@ -111,13 +104,19 @@
target="_blank"
rel="noopener noreferrer"
>
this forum post
</a>?
this forum post</a>?
</p>
</div>
</div>
{{/if}}

{{! TODO: Bring this back? }}
{{!-- {{#if this.shouldShowPrerequisites}}
<CoursePage::CourseStageStep::PrerequisitesCard @repository={{@model.activeRepository}} @courseStage={{@model.courseStage}} class="mb-6" />
{{/if}} --}}

<CoursePage::CourseStageStep::YourTaskCard @repository={{@model.activeRepository}} @courseStage={{@model.courseStage}} />

<div data-percy-hints-section>
<div class="border-b dark:border-white/5 pb-2 mb-6 mt-8 flex items-center justify-between">
<h2 class="font-semibold text-lg text-gray-800 dark:text-gray-200">Hints</h2>
Expand Down

0 comments on commit bdd2618

Please sign in to comment.