Skip to content

Commit

Permalink
Add delimiters on landing page (#7084)
Browse files Browse the repository at this point in the history
  • Loading branch information
dem4ron authored Oct 1, 2024
1 parent d9965dd commit badb835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/pages/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
= link_to track_path(track), class: 'track' do
= track_icon(track)
.title= track.title
.students-count #{track.num_students} students
.students-count #{number_with_delimiter(track.num_students)} students
.cta.border-t-3.border-veryLightBlue
= render ViewComponents::ProminentLink.new("See all #{@num_tracks} Language Tracks", tracks_path, with_bg: true)

Expand All @@ -57,7 +57,7 @@
= graphical_icon :exercises, hex: true
%h2.text-h2
Over
%strong #{Exercise.available.count} coding exercises.
%strong #{number_with_delimiter(Exercise.available.count)} coding exercises.
%br
From "Allergies" to "Zebra Puzzle".
%hr.c-divider
Expand Down

0 comments on commit badb835

Please sign in to comment.