Skip to content
Merged

Dev #2706

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions resources/views/scoreboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ class="absolute inset-y-0 flex items-center px-2 text-gray-700 pointer-events-no
<div class="-mt-24 sm:-mt-20 bg-yellow-50">
<div class="relative z-10">
<div class="max-w-[1428px] mx-auto flex flex-col items-center">

@php
// re-order the collection so the highest-total ones come first
$events = $events->sortByDesc('total')->values();
@endphp
@foreach ($events as $event)
@if ($loop->first)
<!-- First Country - full width with decorations -->
Expand Down Expand Up @@ -166,7 +169,7 @@ class="text-[#1c4da1] max-xs:text-[20px] text-[30px] md:text-4xl font-medium fon
<div
class="flex gap-1 sm:gap-2.5 items-center mt-2 text-[20px] md:text-2xl font-semibold leading-none whitespace-nowrap text-zinc-800">
<span
class="flex items-center justify-center w-10 h-10 text-center text-[#20262c] text-[20px] md:text-2xl font-semibold font-['Blinker'] bg-orange-500 rounded"
class="flex items-center justify-center w-fit h-10 text-center text-[#20262c] text-[20px] md:text-2xl px-2 font-semibold font-['Blinker'] bg-orange-500 rounded"
aria-label="Activity count">
{{ $event->total }}
</span>
Expand Down
Loading