93 lines
5.0 KiB
PHP
93 lines
5.0 KiB
PHP
{{-- politics --}}
|
|
<section class="default-news-area">
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<div class="col-lg-9">
|
|
<div class="sport-news">
|
|
<div class="section-title">
|
|
<h2>राजनीति <a href="politics.php"><svg xmlns="http://www.w3.org/2000/svg" width="16"
|
|
height="16" fill="currentColor" class="bi bi-arrow-up-right-circle-fill"
|
|
viewBox="0 0 16 16">
|
|
<path
|
|
d="M0 8a8 8 0 1 0 16 0A8 8 0 0 0 0 8m5.904 2.803a.5.5 0 1 1-.707-.707L9.293 6H6.525a.5.5 0 1 1 0-1H10.5a.5.5 0 0 1 .5.5v3.975a.5.5 0 0 1-1 0V6.707z" />
|
|
</svg></a></h2>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-7">
|
|
{{-- @dd($politics) --}}
|
|
@foreach ($politics as $type)
|
|
@if ($type->alias ==='politics')
|
|
@foreach ($type->news->take(1) as $item)
|
|
@if ($loop->first)
|
|
<div class="single-culture-news">
|
|
<div class="culture-news-image">
|
|
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image"
|
|
class="img-fluid">
|
|
</a>
|
|
</div>
|
|
<div class="culture-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->short_description }}</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
|
|
|
|
<div class="col-lg-5">
|
|
@foreach ($politics as $type)
|
|
@if ($type->alias == 'politics')
|
|
@foreach ($type->news->skip(1) as $item)
|
|
<div class="culture-news-post">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4 col-sm-4">
|
|
<div class="culture-news-image">
|
|
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-8 col-sm-8">
|
|
<div class="culture-news-content">
|
|
<h3>
|
|
<a
|
|
href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->short_description }}</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Sidebar -->
|
|
<div class="col-lg-3">
|
|
<aside class="widget-area mt-50">
|
|
|
|
<section class="widget widget_featured_reports">
|
|
<img src="{{ asset('hulaki/assets/img/ad/prabhu_pay_onlinekhabar.gif') }}" alt="image"
|
|
class="img-fluid">
|
|
</section>
|
|
|
|
<section class="widget widget_featured_reports">
|
|
<img src="{{ asset('hulaki/assets/img/ad/Nabil_jan_300-x-150.gif') }}" alt="image"
|
|
class="img-fluid">
|
|
</section>
|
|
|
|
</aside>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|