Skip to content

Commit

Permalink
2 more COTM entries on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Oct 26, 2024
1 parent 600f48b commit af22838
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vzdv-site/src/endpoints/homepage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async fn snippet_cotm(State(state): State<Arc<AppState>>) -> Result<Html<String>
.await?;
let cotm: Vec<_> = activity
.iter()
.take(3)
.take(5)
.map(|activity| CotmEntry {
name: format!("{} {}", activity.first_name, activity.last_name),
hours: activity.minutes / 60,
Expand Down
1 change: 1 addition & 0 deletions vzdv-site/templates/changelog.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<li>Fix error when deleting an event position that controllers have already registered for.</li>
<li>Small homepage CSS tweaks for mobile devices</li>
<li>Fix error page</li>
<li>Add 2 more controllers to the COTM panel on the homepage</li>
</ul>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions vzdv-site/templates/homepage/cotm.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
font-weight: bolder;
color: #8C7853;
}
.rank-4 {
opacity: 0;
}
.rank-5 {
opacity: 0;
}
</style>

<p class="ms-2">
Expand Down

0 comments on commit af22838

Please sign in to comment.