Skip to content

Commit 18e6cb4

Browse files
committed
refactor(header): comment out unused CTA block for future use
Comment out the unused CTA block in the header component to preserve the layout for future implementation. This change ensures that the code remains clean while allowing for easy reinstatement once the necessary features for concepts and challenges are available.
1 parent 23aef6a commit 18e6cb4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎app/components/track-page/header/index.hbs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
{{#if (has-block "cta")}}
3030
{{yield to="cta"}}
3131
{{else}}
32-
<div class="flex items-center flex-wrap gap-x-2 gap-y-4 mt-5">
32+
{{!-- TODO: Bring this back once we can account for both concepts & challenges --}}
33+
34+
{{!-- <div class="flex items-center flex-wrap gap-x-2 gap-y-4 mt-5">
3335
{{#if this.currentUserHasStartedTrack}}
3436
<TrackPage::ResumeTrackButton @language={{@language}} @courses={{@courses}} />
3537
{{else}}
@@ -47,7 +49,7 @@
4749
<span class="text-xs text-gray-600 dark:text-gray-400 ml-2">Join the best</span>
4850
</div>
4951
{{/if}}
50-
</div>
52+
</div> --}}
5153
{{/if}}
5254
</div>
5355
<div class="ml-4 hidden md:flex h-36 w-36 flex-shrink-0">

0 commit comments

Comments
 (0)