master_template/resources/views/hulaki_khabar/home/main-news.blade.php

38 lines
1.4 KiB
PHP
Raw Normal View History

2024-06-13 15:17:05 +00:00
{{-- main-news --}}
<section class="main-news-area">
<div class="container">
2024-06-15 16:38:54 +00:00
@if($featuredNews)
2024-06-13 15:17:05 +00:00
<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>
2024-06-18 05:46:51 +00:00
<a href="{{route('newsDetail',['alias'=>$featuredNews->alias])}}"><b>{{$featuredNews->title}}</b></a>
2024-06-13 15:17:05 +00:00
</h2>
</div>
</div>
<hr>
<div class="col-lg-12">
<div class="news-content" style="text-align: center; margin: 3%;">
<h2>
2024-06-15 16:38:54 +00:00
<a href="news-details.php"><b>{{$featuredNews->short_description}}</b></a>
2024-06-13 15:17:05 +00:00
</h2>
</div>
<div class="single-main-news" >
<a href="news-details.php">
2024-06-15 16:38:54 +00:00
<img src="{{asset($featuredNews->image)}}" alt="image">
2024-06-13 15:17:05 +00:00
</a>
</div>
<div class="news-content" style="text-align: center;">
2024-06-15 16:38:54 +00:00
<p>{!!$featuredNews->content!!}</P>
2024-06-13 15:17:05 +00:00
</div>
</div>
</div>
2024-06-15 16:38:54 +00:00
@endif
2024-06-13 15:17:05 +00:00
</div>
</section>
<!-- End Main News Area -->