content
This commit is contained in:
@ -20,14 +20,15 @@
|
||||
@foreach ($type->news as $item)
|
||||
<div class="single-health-news">
|
||||
<div class="health-news-image-fluid">
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image-fluid">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="health-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -40,12 +41,24 @@
|
||||
<!-- Sidebar -->
|
||||
<div class="col-lg-4">
|
||||
<aside class="widget-area">
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset('hulaki/assets/img/add/ads5.jpg') }}" alt="image-fluid"
|
||||
style="margin-top: 5%;">
|
||||
</div>
|
||||
</section>
|
||||
@foreach ($adsWithChildren as $parentads)
|
||||
@if ($parentads->ad_categories_id == 15)
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($parentads->thumb) }}" alt="{{ $parentads->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@if ($parentads->children->isNotEmpty())
|
||||
@foreach ($parentads->children as $child)
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user