@extends('layouts.app') @section('title', $organizer->organization_name) @section('content')
@if ($organizer->logo_path) {{ $organizer->organization_name }} @endif

{{ $organizer->organization_name }}

{{ $organizer->city }}, {{ $organizer->region }}

@if ($organizer->description)
{!! nl2br(e($organizer->description)) !!}
@endif

{{ __('messages.home_upcoming_races') }}

@forelse ($upcoming as $race)

{{ $race->starts_at->translatedFormat('d M Y') }}

{{ $race->name }}

@empty

—

@endforelse

{{ __('messages.status_completed') }}

@forelse ($races as $race)

{{ $race->starts_at->translatedFormat('d M Y') }}

{{ $race->name }}

@empty

—

@endforelse
@include('partials.gallery-display', ['gallery' => $organizer->media()->where('type','photo')->get()])
@endsection