content
This commit is contained in:
@ -24,13 +24,14 @@
|
||||
@foreach ($type->news->take(1) as $item)
|
||||
<div class="single-featured-reports">
|
||||
<div class="featured-reports-image">
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image"
|
||||
class="international-news-image">
|
||||
</a>
|
||||
<div class="featured-reports-content mt-30">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->short_description }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -49,7 +50,7 @@
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4 col-sm-4">
|
||||
<div class="post-image-fluid">
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
@ -58,7 +59,7 @@
|
||||
<div class="post-content">
|
||||
<h3>
|
||||
<a
|
||||
href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->short_description }}</a>
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -74,20 +75,18 @@
|
||||
<!-- Sidebar -->
|
||||
<div class="col-lg-3">
|
||||
<aside class="widget-area">
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset('hulaki/assets/img/ad/NepalLife-Final-Gif-Artwork-300x200pix2019-04-02.gif') }}"
|
||||
alt="image" class="img-fluid">
|
||||
</section>
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset('hulaki/assets/img/ad/ncell.gif') }}" alt="image" class="img-fluid">
|
||||
</section>
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset('hulaki/assets/img/ad/ime-pay-300x2502018-12-16.gif') }}" alt="image"
|
||||
class="img-fluid">
|
||||
</section>
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset('hulaki/assets/img/ad/300-x-150.png') }}" alt="image" class="img-fluid">
|
||||
</section>
|
||||
@foreach ($adsWithChildren as $ads)
|
||||
@if ($ads->children->isNotEmpty())
|
||||
@foreach ($ads->children as $item)
|
||||
@if ($item->ad_categories_id == 5)
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset($item->thumb) }}" alt="{{ $item->title }}"
|
||||
class="img-fluid">
|
||||
</section>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user