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