@section('title', $competition->name . ' - ' . ($competition->site->name ?? 'External Site')) @section('meta_description', 'View details and enter the draw for ' . $competition->name . ' on ' . ($competition->site->name ?? 'External Site') . '. Track ticket sales and closing dates on ' . config('app.name', 'Raffles') . '.')
@if(auth()->user() && auth()->user()->is_admin) Edit Competition @endif
@if($competition->thumbnail_path || $competition->image_url)
{{ $competition->name }} @if($competition->tickets_sold > 0 && $competition->tickets_sold <= 200)
🔥 1 in {{ $competition->tickets_sold }} Chance or better!
@endif
@else @endif
@if($competition->tickets_sold > 0 && $competition->tickets_sold <= 200)
🚀

High Probability Win!

Our analysis shows this competition currently has extremely low entries (1 in {{ $competition->tickets_sold }}).

* Based on recently imported data ({{ $competition->last_seen_at ? $competition->last_seen_at->diffForHumans() : 'recently' }}). Odds may vary. Check the remote site for live totals.

@endif @if($competition->site)
@if($competition->site->logo_url) {{ $competition->site->name }} @else {{ $competition->site->name }} @endif
@endif

{{ $competition->name }}

Price per Entry

@if($competition->is_free)

FREE

@else

£{{ number_format($competition->price_per_entry, 2) }}

@endif

Draw Date

@if($competition->draw_date) @if($competition->draw_date->isToday())

CLOSES TODAY!

{{ $competition->draw_date->format('g:ia') }}

@elseif($competition->draw_date->isTomorrow())

CLOSES TOMORROW!

{{ $competition->draw_date->format('g:ia') }}

@else

{{ $competition->draw_date->format('d M Y') }}

{{ $competition->draw_date->format('g:ia') }}

@endif @else

TBC

@endif
@if($competition->max_tickets) @php $remaining = max(0, $competition->max_tickets - ($competition->tickets_sold ?? 0)); $pct = $competition->max_tickets > 0 ? (($competition->tickets_sold ?? 0) / $competition->max_tickets) * 100 : 0; @endphp

Tickets Sold

{{ number_format($competition->tickets_sold ?? 0) }}

of {{ number_format($competition->max_tickets) }}

Tickets Left

{{ number_format($remaining) }}

{{ number_format($pct, 1) }}% sold

@endif
@if($competition->max_tickets && ($competition->tickets_sold ?? 0) > 0)
{{ number_format($competition->tickets_sold ?? 0) }} tickets sold {{ number_format($pct, 1) }}%
@endif Enter this live competition

Opens on {{ $competition->site->name ?? 'the competition site' }} in a new tab

Our Data Accuracy

We try our best to keep all competition data as accurate and up-to-date as possible to give you the best chance of winning these great competitions! However, figures for ticket sales, remaining stock, and draw dates are based on our most recent automated scan of {{ $competition->site->name }} and may not be 100% accurate.

@if($competition->site && $competition->site->last_scraped_at)

This data was last synced on {{ $competition->site->last_scraped_at->format('jS M \a\t g:ia') }} ({{ $competition->site->last_scraped_at->diffForHumans() }}).

@endif

Always check the official site directly for the final, live information before entering any draw. Good luck!