@php use Illuminate\Support\Facades\Storage; $bgUrl = $page->background_image !== null ? Storage::disk('public')->url($page->background_image) : null; $logoUrl = $page->logo_image !== null ? Storage::disk('public')->url($page->logo_image) : null; $phase = $page->isBeforeStart() ? 'before' : ($page->isExpired() ? 'expired' : 'active'); @endphp @extends('layouts.public') @section('content')
@if ($bgUrl !== null) @else @endif
@if ($logoUrl !== null)
@endif

{{ $page->heading }}

{{-- Before start: intro + countdown --}}
@if (filled($page->intro_text))
{{ $page->intro_text }}
@endif
{{ __('days') }}
{{ __('hrs') }}
{{ __('mins') }}
{{ __('secs') }}
{{-- Active: registration form --}}

{{-- Thank you (after successful AJAX) --}}

{{-- Expired --}}
@if (filled($page->expired_message))
{{ $page->expired_message }}
@else

{{ __('This pre-registration period has ended.') }}

@endif @if (filled($page->ticketshop_url)) @endif
@endsection