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

134 lines
6.5 KiB
PHP
Raw Normal View History

2024-06-13 15:17:05 +00:00
{{-- main-video --}}
<section class="default-news-area">
<div class="container">
<div class="row">
<div class="col-lg-8">
<!-- Main Video-->
<div class="video-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="video-slides owl-carousel owl-theme">
2024-06-18 05:46:51 +00:00
@foreach ($videos as $item)
<div class="video-item">
<div class="video-news-image">
<a href="news-details.php">
<img src="{{ asset($item->image) }}" alt="image">
</a>
<a href="{{ $item->video_url }}" class="popup-youtube">
<i class='bx bx-play-circle'></i>
</a>
</div>
2024-06-13 15:17:05 +00:00
2024-06-18 05:46:51 +00:00
<div class="video-news-content">
<h3>
<a href="news-details.php">{{ $item->title }}</a>
</h3>
</div>
2024-06-13 15:17:05 +00:00
</div>
2024-06-18 05:46:51 +00:00
@endforeach
2024-06-13 15:17:05 +00:00
</div>
</div>
</div>
<!-- Sidebar -->
<div class="col-lg-4">
<aside class="widget-area">
<div class="most-popular-news">
<div class="section-title">
<h2>राशिफल </h2>
</div>
<div class="row">
<div class="col-lg-12">
<div class="row">
2024-06-18 05:46:51 +00:00
@foreach ($horoscope->take(4) as $item)
<div class="col-lg-3 col-md-3">
<div class="single-most-popular-news">
<div class="popular-news-image text-center">
<a href="#">
<img src="{{ asset($item->thumb) }}" alt="image">
</a>
</div>
<div class="popular-news-content text-center">
<span>{{ $item->title_nepali }} </span>
</div>
2024-06-13 15:17:05 +00:00
</div>
</div>
2024-06-18 05:46:51 +00:00
@endforeach
2024-06-13 15:17:05 +00:00
</div>
</div>
<div class="col-lg-12">
<div class="row">
2024-06-18 05:46:51 +00:00
@foreach ($horoscope->skip(4)->take(4) as $item)
<div class="col-lg-3 col-md-3">
<div class="single-most-popular-news">
<div class="popular-news-image text-center">
<a href="{{route('showHororscope')}}">
<img src="{{ asset($item->thumb) }}" alt="image">
</a>
</div>
<div class="popular-news-content text-center">
<span>{{ $item->title_nepali }} </span>
</div>
2024-06-13 15:17:05 +00:00
</div>
</div>
2024-06-18 05:46:51 +00:00
@endforeach
2024-06-13 15:17:05 +00:00
</div>
</div>
<div class="col-lg-12">
<div class="row">
2024-06-18 05:46:51 +00:00
@foreach ($horoscope->skip(8)->take(4) as $item)
<div class="col-lg-3 col-md-3">
<div class="single-most-popular-news">
<div class="popular-news-image text-center">
<a href="#">
<img src="{{ asset($item->thumb) }}" alt="image">
</a>
</div>
<div class="popular-news-content text-center">
<span>{{ $item->title_nepali }} </span>
</div>
2024-06-13 15:17:05 +00:00
</div>
</div>
2024-06-18 05:46:51 +00:00
@endforeach
2024-06-13 15:17:05 +00:00
</div>
</div>
</div>
</div>
</aside>
</div>
</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 == 14 && 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>