Change logo Add luister and kijk icons Tip de streekredactie points to whatsapp 088-8505651 Add s to Podcast Removed waterschapsverkiezingen from menu Podcast autoplay disabled Remove Gooische Courant and NH Nieuws Changed NH Gooi to Over NH Gooi Added padding and border-radios to homepage posts Changed header 12px to 14px Add now and next programs to homepage Add new button to programs Changed contact text Add fallback image to program guide Make items height equally in program guide
55 lines
2.1 KiB
PHP
55 lines
2.1 KiB
PHP
@php($program = $data[0])
|
|
<h2 class="post_title"><a href="{{route('programma') . $program->url}}" title="{{$program->name}}">{{$program->name}}</a></h2>
|
|
<span class="post_date">
|
|
<i class="fa-regular fa-clock"></i> {{$program->start->format('H:i')}} - {{$program->end->format('H:i')}}
|
|
</span>
|
|
@if($program->tagline)
|
|
<p>{{$program->tagline}}</p>
|
|
@endif
|
|
|
|
<h3 class="post_title">Daarna:</h3>
|
|
<div class="podcast_items">
|
|
<ul class="">
|
|
@php($startDay = $program->start->format('d'))
|
|
@foreach($data as $program)
|
|
@php($isToday = $program->start->format('d') == $startDay)
|
|
@if($loop->index > 5)
|
|
@break
|
|
@elseif(($loop->index >= 3) && $program->nonstop)
|
|
@break
|
|
@elseif(!$loop->first)
|
|
<li class="post" style="margin-bottom: 0">
|
|
<div class="sub_title">
|
|
<a class="program_name" href="{{route('programma') . $program->url}}" title="{{$program->name}}"><strong>{{$program->name}}</strong></a>
|
|
<span class="post_date" title="{{Formatter::relativeDate($program->start)}} om {{$program->start->format('H:i')}}.">
|
|
<i class="fa-regular fa-clock"></i> {{Formatter::relativeDate($program->start)}} om {{$program->start->format('H:i')}}.
|
|
</span>
|
|
</div>
|
|
</li>
|
|
@endif
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
|
|
@if(isset($recent))
|
|
<h3 class="post_title">Net gemist?</h3>
|
|
<div class="podcast_items">
|
|
<ul class="">
|
|
<li class="post" style="margin-bottom: 0">
|
|
<div class="sub_title">
|
|
<a class="program_name" href="{{route('programma') . $recent->url}}" title="{{$recent->name}}"><strong>{{$recent->name}}</strong></a>
|
|
<span class="post_date" title="{{Formatter::relativeDate($recent->start)}} om {{$recent->start->format('H:i')}}.">
|
|
<i class="fa-regular fa-clock"></i> {{Formatter::relativeDate($recent->start)}} om {{$recent->start->format('H:i')}}.
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
@php($duration = $recent->end->diff($recent->start)->h)
|
|
<a class="action_button player" style="margin-top: 0;" href="{{route('luister.programma') . '/' . $recent->start->format('Y/m/d/H') . '/' . $duration}}" title="Luister live">
|
|
<span class="fa fa-history"></span>
|
|
<span>Terugluisteren</span>
|
|
</a>
|
|
</p>
|
|
@endif
|