2024-06-13 15:17:05 +00:00
|
|
|
{{-- country --}}
|
|
|
|
|
|
|
|
<section class="default-news-area" style="margin-top: 5%;">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<div class="section-title">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<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>
|
|
|
|
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist"
|
|
|
|
style="margin-left: 55%; margin-top: -3%;">
|
2024-06-15 16:38:54 +00:00
|
|
|
@foreach ($provinces as $province)
|
|
|
|
<li class="nav-item" role="presentation">
|
|
|
|
<button class="nav-link @if ($loop->first) active @endif"
|
|
|
|
id="pills-{{ $province->alias }}-tab" data-bs-toggle="pill"
|
|
|
|
data-bs-target="#{{ $province->alias }}" type="button" role="tab"
|
|
|
|
aria-controls="pills-{{ $province->alias }}"
|
|
|
|
aria-selected="{{ $loop->first ? 'true' : 'false' }}">
|
|
|
|
{{ $province->province_no }}
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
@endforeach
|
2024-06-13 15:17:05 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tab-content" id="pills-tabContent">
|
2024-06-15 16:38:54 +00:00
|
|
|
@foreach ($provinces as $province)
|
|
|
|
<div class="tab-pane fade show @if ($loop->first) active @endif"
|
|
|
|
id="{{ $province->alias }}" role="tabpanel"
|
|
|
|
aria-labelledby="pills-{{ $province->alias }}-tab" tabindex="0">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<!-- Province News -->
|
|
|
|
|
|
|
|
<div class="most-popular-news">
|
|
|
|
<div class="row">
|
|
|
|
@foreach ($province->provinceNews->take(1) as $item)
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<div class="most-popular-post">
|
|
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-lg-11 col-sm-11">
|
|
|
|
<div class="post-image">
|
2024-06-18 05:46:51 +00:00
|
|
|
<a
|
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
2024-06-15 16:38:54 +00:00
|
|
|
<img src="{{ asset($item->image) }}"
|
|
|
|
alt="image" height="439px"
|
|
|
|
width="579px">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-12 col-sm-12">
|
|
|
|
<div class="post-content">
|
|
|
|
<h3>
|
|
|
|
<a
|
2024-06-18 05:46:51 +00:00
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
2024-06-15 16:38:54 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
<div class="col-lg-6">
|
|
|
|
@foreach ($province->provinceNews->skip(1) as $item)
|
|
|
|
<div class="most-popular-post">
|
|
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-lg-4 col-sm-4">
|
|
|
|
<div class="post-image">
|
2024-06-18 18:40:14 +00:00
|
|
|
<a
|
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
2024-06-15 16:38:54 +00:00
|
|
|
<img src="{{ asset($item->image) }}"
|
|
|
|
alt="image">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-8 col-sm-8">
|
|
|
|
<div class="post-content">
|
|
|
|
<h3>
|
|
|
|
<a
|
2024-06-18 18:40:14 +00:00
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
2024-06-15 16:38:54 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
2024-06-13 15:17:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-06-15 16:38:54 +00:00
|
|
|
@endforeach
|
2024-06-13 15:17:05 +00:00
|
|
|
</div>
|
2024-06-15 16:38:54 +00:00
|
|
|
|
2024-06-13 15:17:05 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<aside class="widget-area">
|
|
|
|
<section class="widget widget_featured_reports">
|
|
|
|
<h3 class="widget-title">बिशेष रिपोर्टस </h3>
|
|
|
|
<div class="single-featured-reports">
|
2024-06-15 16:38:54 +00:00
|
|
|
@foreach ($categories as $type)
|
|
|
|
{{-- @dd($type) --}}
|
|
|
|
@if ($type->category_id == 2)
|
|
|
|
@foreach ($type->news->take(1) as $item)
|
|
|
|
@if ($loop->first)
|
|
|
|
<div class="featured-reports-image">
|
2024-06-18 18:40:14 +00:00
|
|
|
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
2024-06-15 16:38:54 +00:00
|
|
|
<img src="{{ asset($item->thumb) }}" alt="{{ $item->title }}">
|
|
|
|
</a>
|
|
|
|
<div class="featured-reports-content">
|
|
|
|
<h3>
|
2024-06-18 18:40:14 +00:00
|
|
|
<a
|
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
2024-06-15 16:38:54 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
@endforeach
|
2024-06-13 15:17:05 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2024-06-15 16:38:54 +00:00
|
|
|
@foreach ($categories as $type)
|
|
|
|
@if ($type->category_id == 2)
|
|
|
|
@foreach ($type->news->skip(1) as $item)
|
|
|
|
<div class="most-popular-post">
|
|
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-lg-4 col-sm-4">
|
|
|
|
<div class="post-image">
|
2024-06-18 18:40:14 +00:00
|
|
|
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
2024-06-15 16:38:54 +00:00
|
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-8 col-sm-8">
|
|
|
|
<div class="post-content">
|
|
|
|
<h3>
|
2024-06-18 18:40:14 +00:00
|
|
|
<a
|
|
|
|
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->short_description }}</a>
|
2024-06-15 16:38:54 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-06-13 15:17:05 +00:00
|
|
|
</div>
|
2024-06-15 16:38:54 +00:00
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
@endforeach
|
2024-06-13 15:17:05 +00:00
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2024-06-18 18:40:14 +00:00
|
|
|
|
|
|
|
<section class="default-news-area">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
@if ($ads->isNotEmpty())
|
|
|
|
@foreach ($ads as $ad)
|
2024-06-21 07:44:04 +00:00
|
|
|
@if ($ad->ad_categories_id == 4 && now()->isBefore($ad->valid_till))
|
2024-06-18 18:40:14 +00:00
|
|
|
<a href="{{ $ad->link }}">
|
|
|
|
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
|
|
|
</a>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|