master_template/resources/views/hulaki_khabar/home/main-news.blade.php
2024-06-18 16:26:58 +05:45

39 lines
1.4 KiB
PHP

{{-- main-news --}}
<section class="main-news-area">
<div class="container">
@if($featuredNews)
<div class="row">
<a href="#">
<img src="{{asset('hulaki/assets/img/ad/Kicks_Desktop_1230x100-px_new.jpg')}}" alt="image" class="img-fluid" >
</a>
<div class="col-lg-12 mt-20">
<div class="news-content mt-50 text-center">
<h2>
<a href="{{route('newsDetail',['alias'=>$featuredNews->alias])}}"><b>{{$featuredNews->title}}</b></a>
</h2>
</div>
</div>
<hr>
<div class="col-lg-12">
<div class="news-content" style="text-align: center; margin: 3%;">
<h2>
<a href="news-details.php"><b>{{$featuredNews->short_description}}</b></a>
</h2>
</div>
<div class="single-main-news" >
<a href="news-details.php">
<img src="{{asset($featuredNews->image)}}" alt="image">
</a>
</div>
<div class="news-content" style="text-align: center;">
<p>{!!$featuredNews->content!!}</P>
</div>
</div>
</div>
@endif
</div>
</section>
<!-- End Main News Area -->