Skip to content

Commit 201a928

Browse files
committed
refactor: update page title and template structure
Change the page title to use the language name from the model. Adjust the TrackPage::Header component to ensure proper formatting and maintainability of the template structure.
1 parent ce7bb47 commit 201a928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/track.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{page-title (concat "Join " this.model.affiliateLink.usernameForDisplay " on CodeCrafters") replace=true}}
1+
{{page-title @model.language.name}}
22

33
<div class="container mx-auto lg:max-w-screen-lg px-3 md:px-6 py-6 md:py-10">
4-
<TrackPage::Header @language={{@model.language}} @courses={{this.sortedCourses}} />
4+
<TrackPage::Header @language={{@model.language}} @courses={{this.sortedCourses}}>
55
</div>
66

77
<div class="h-px bg-gray-200 dark:bg-white/5 w-full"></div>

0 commit comments

Comments
 (0)