|
|
@ -32,86 +32,25 @@ |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
<section class="related-article"> |
|
|
|
<section class="related-article"> |
|
|
|
<h3>Related Articles</h3> |
|
|
|
<h3>Related Articles</h3> |
|
|
|
<h2 class="mt-4">Coming soon......</h2> |
|
|
|
<!-- <h2 class="mt-4">Coming soon......</h2> --> |
|
|
|
{{-- <div class="row g-4"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-4"> |
|
|
|
|
|
|
|
@foreach(App\Models\NewsAndUpdate::where('id','!=',$news->first()->id)->where('status','1')->get() as $related) |
|
|
|
<div class="col-md-4"> |
|
|
|
<div class="col-md-4"> |
|
|
|
<div class="news-page-card"> |
|
|
|
<div class="news-page-card"> |
|
|
|
<a href="/news_detail"> |
|
|
|
<a href="{{url('news/'.$related->slug)}}"> |
|
|
|
<div class="news-card-img"> |
|
|
|
<div class="news-card-img"> |
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
<img src="{{url($related->image)}}" class="img-fluid" alt=""> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="news-card-desc"> |
|
|
|
<div class="news-card-desc"> |
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
<h4>{{$related->title}}</h4> |
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
<p>{!!(\Illuminate\Support\Str::limit(strip_tags($related->description), 150, $end='...'))!!}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-4"> |
|
|
|
@endforeach |
|
|
|
<div class="news-page-card"> |
|
|
|
|
|
|
|
<a href="/news_detail"> |
|
|
|
|
|
|
|
<div class="news-card-img"> |
|
|
|
|
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news-card-desc"> |
|
|
|
|
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
|
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-md-4"> |
|
|
|
|
|
|
|
<div class="news-page-card"> |
|
|
|
|
|
|
|
<a href="/news_detail"> |
|
|
|
|
|
|
|
<div class="news-card-img"> |
|
|
|
|
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news-card-desc"> |
|
|
|
|
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
|
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-md-4"> |
|
|
|
|
|
|
|
<div class="news-page-card"> |
|
|
|
|
|
|
|
<a href="/news_detail"> |
|
|
|
|
|
|
|
<div class="news-card-img"> |
|
|
|
|
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news-card-desc"> |
|
|
|
|
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
|
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-md-4"> |
|
|
|
|
|
|
|
<div class="news-page-card"> |
|
|
|
|
|
|
|
<a href="/news_detail"> |
|
|
|
|
|
|
|
<div class="news-card-img"> |
|
|
|
|
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news-card-desc"> |
|
|
|
|
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
|
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-md-4"> |
|
|
|
|
|
|
|
<div class="news-page-card"> |
|
|
|
|
|
|
|
<a href="/news_detail"> |
|
|
|
|
|
|
|
<div class="news-card-img"> |
|
|
|
|
|
|
|
<img src="{{url('frontend/images/test-img.png')}}" class="img-fluid" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news-card-desc"> |
|
|
|
|
|
|
|
<h4>Lorem Ipsum is simply dummy text of the printing</h4> |
|
|
|
|
|
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --}} |
|
|
|
|
|
|
|
</section> |
|
|
|
</section> |
|
|
|
@endsection |
|
|
|
@endsection |