Files
nhgooi.nl/resources/views.all/widgets/populairnieuws.blade.php
T
Mischa Spelt 7b9674110e feat: Add npm dependencies and update vendor paths
- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker
- Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor
- Update view templates to use vendor paths instead of old /js/ or CDN URLs
- Clean up legacy commented-out scripts in master layout
2026-08-25 16:17:01 +02:00

24 lines
854 B
PHP

<div class="vertical_carousel_container clearfix">
<ul class="blog small vertical_carousel autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
@foreach($data as $news)
<li class="post">
<a href="{{url($news->url)}}" title="{{$news->title}}">
<img src="{{$news->images && count($news->images) ? $imgBase . $news->images[0]->url : '/images/noimage.png'}}" alt="{{$news->title}}">
</a>
<div class="post_content">
<h5>
<a href="{{url($news->url)}}" title="{{$news->title}}">{{$news->title}}</a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="{{route('nieuws.regio', $news->region->slug)}}" title="{{$news->region->title}}">{{$news->region->title}}</a></li>
<li class="date">
{{Formatter::relativeDate($news->published)}}
</li>
</ul>
</div>
</li>
@endforeach
</ul>
</div>