@extends('layouts.main') @section('title', 'Events Calendar – World Gymnastics') @section('styles') @endsection @section('content')
World Gymnastics

Events Calendar

Upcoming gymnastics events, competitions & schedules worldwide

@if(session('success') || session('error'))
{{ session('success') ?? session('error') }}
@endif
All Disciplines @foreach(['Artistic','Rhythmic','Acrobatic','Trampoline','Aerobic','General'] as $disc) {{ $disc }} @endforeach
Scheduled Events
@forelse($events as $event) @php $dsc = strtolower($event->discipline); $day = $event->start_date->format('j'); $mon = strtoupper($event->start_date->format('M')); @endphp
{{ $day }} {{ $mon }}
{{ $event->title }}
{{ $event->discipline }}
{{ $event->start_date->format('d M Y') }} – {{ $event->end_date->format('d M Y') }}
{{ $event->city }}, {{ $event->country }}
{{ $event->type }}
@if($event->description)
{{ $event->description }}
@endif
@empty

No events found

{{ $discipline ? "No $discipline events scheduled." : 'Check back soon for upcoming events.' }}

@auth @endauth
@endforelse
@auth @endauth @endsection @section('scripts') @endsection