Now playing en mega menu

This commit is contained in:
2020-01-25 01:50:48 +01:00
parent d6a3f5e119
commit 4322491143
10 changed files with 232 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
<h4 class="box_header"><span class="fa fa-music"></span> &nbsp; Nu op NH Gooi Radio</h4>
<h4 class="page_margin_top box_header"><span class="fa fa-music"></span> &nbsp; Nu op NH Gooi Radio</h4>
<div class="clearfix">
@@ -25,9 +25,9 @@
@php($startDay = $program->start->format('d'))
@foreach($data as $program)
@php($isToday = $program->start->format('d') == $startDay)
@if($loop->index > 10)
@if($loop->index > 5)
@break
@elseif(($loop->index > 3) && (!$isToday) && $program->nonstop)
@elseif(($loop->index >= 3) && $program->nonstop)
@break
@elseif(!$loop->first)
<li class="bullet style_2"><a href="{{url($program->url)}}" title="{{$program->name}}">
@@ -37,6 +37,7 @@
@if($program->tagline)
<li class="bullet text-muted">{{$program->tagline}}</li>
@endif
@endif
@endforeach
</ul>