234 lines
14 KiB
PHP
234 lines
14 KiB
PHP
{{-- society --}}
|
|
<section class="default-news-area">
|
|
<div class="container" style="margin-top: 5%;">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
|
|
<!-- Social and Opinions -->
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
<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="tech-slider owl-carousel owl-theme">
|
|
<div class="tech-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'society')
|
|
@foreach ($type->news->take(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}
|
|
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="tech-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'society')
|
|
@foreach ($type->news->skip(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}~~~~~~
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<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="sports-slider owl-carousel owl-theme">
|
|
<div class="sports-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'thoughts')
|
|
@foreach ($type->news->take(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}
|
|
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="sports-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'thoughts')
|
|
@foreach ($type->news->skip(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}
|
|
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-lg-4">
|
|
<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="tech-slider owl-carousel owl-theme">
|
|
<div class="tech-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'agriculture')
|
|
@foreach ($type->news->take(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}
|
|
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="tech-item">
|
|
@foreach ($branches as $type)
|
|
@if ($type->alias == 'agriculture')
|
|
@foreach ($type->news->skip(3) as $item)
|
|
<div class="single-tech-news">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4">
|
|
<div class="tech-news-image">
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">
|
|
<img src="{{ asset($item->thumb) }}" alt="image">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="tech-news-content">
|
|
<h3>
|
|
<a href="{{route('newsDetail',['alias'=>$item->alias])}}">{{ $item->title }}
|
|
|
|
</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
</div>
|
|
</section>
|