<button
    type="submit"
    data-event-count="{{ count($day['events'] ?? []) }}"
    @class([
        'day'              => true,
        'day--with-events' => !empty($day['events']),
        'day--current'     =>  $day['in_month'],
        'day--outside'     => !$day['in_month'],
        'day--today'       =>  $day['is_today'],
])>
    <span class="">{{ $day['label'] }}</span>
</div>
