@extends('layouts.app') @section('title', $title ?? '') @push('styles') @stack('styles') @endpush @section('content')
@if(!$enabled)

Radio is Offline

De radio is momenteel uitgeschakeld. Kom later terug!

@if($offlineMessage)

{{ $offlineMessage }}

@endif
@else

LIVE Radio

Luister nu naar de beste muziek

@if($showListeners)
-- luisteraars
@endif Top 100
@if($currentDJ && $currentDJ->user) {{ $currentDJ->user->username }} @else 🎵 @endif

Nu draait

@if($nowPlaying && $nowPlaying['title']) {{ $nowPlaying['title'] }} @else -- @endif

@if($nowPlaying && $nowPlaying['artist'])

{{ $nowPlaying['artist'] }}

@endif
@if($showCurrentDJ && $currentDJ && $currentDJ->user)

Presentator

{{ $currentDJ->user->username }}

@endif
@if($showHistory && !empty($songHistory))

Recent Gedraaid

@foreach($songHistory as $song)

{{ $song['title'] }}

@if($song['artist'])

{{ $song['artist'] }}

@endif
{{ $song['time'] }}
@endforeach
@endif @if($showSchedule && $todaySchedule->isNotEmpty())

Vandaag op Radio

@foreach($todaySchedule as $slot)
{{ date('H:i', strtotime($slot->start_time)) }} {{ $slot->user->username ?? 'Onbekend' }}
{{ $slot->description ?? $slot->name }}
@endforeach
@endif @if(!empty($socialLinks)) @endif
@endif
@push('scripts') @endpush @endsection