master_template/resources/views/hulaki_khabar/video.blade.php

104 lines
4.7 KiB
PHP
Raw Normal View History

2024-06-18 10:41:58 +00:00
@extends('hulaki_khabar.layout.layout')
@section('content')
<div class="page-title-area">
<div class="container">
<div class="page-title-content">
<h2>भिडियो</h2>
<ul>
<li><a href="index.html">होम पेज </a></li>
<li>भिडियो</li>
</ul>
</div>
</div>
</div>
<!-- End Page Banner -->
<!-- Start Default News Area -->
<section class="default-news-area ptb-50">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="single-video-item mb-50">
@foreach ($videos->take(1) as $video)
@if ($loop->first)
<div class="row align-items-center">
<div class="col-lg-4">
<div class="video-news-image">
<a href="news-details.php">
<img src="{{ $video->image }}" alt="image">
</a>
<a href="{{ $video->video_url }}" class="popup-youtube">
<i class='bx bx-play-circle'></i>
</a>
</div>
</div>
<div class="col-lg-8">
<div class="video-news-content mt-0">
<h3>
<a href="news-details.php">{{ $video->title }}</a>
</h3>
2024-06-20 04:15:46 +00:00
<p>{!! $video->description !!}</p>
2024-06-18 10:41:58 +00:00
</div>
</div>
</div>
@endif
@endforeach
</div>
<div class="row mb-20">
@foreach ($videos->skip(1)->take(3) as $video)
<div class="col-lg-4 col-md-4">
<div class="single-video-item">
<div class="video-news-image">
<a href="news-details.php">
<img src="{{ $video->image }}" alt="image">
</a>
<a href="{{ $video->video_url }}" class="popup-youtube">
<i class='bx bx-play-circle'></i>
</a>
</div>
<div class="video-news-content">
<h3>
<a href="news-details.php">{{ $video->title }}</a>
</h3>
</div>
</div>
</div>
@endforeach
</div>
<div class="row">
@foreach ($videos->skip(4)->take(3) as $video)
<div class="col-lg-4 col-md-4">
<div class="video-item mb-30">
<div class="video-news-image">
<a href="news-details.php">
<img src="{{ $video->image }}" alt="image">
</a>
<a href="{{ $video->video_url }}" class="popup-youtube">
<i class='bx bx-play-circle'></i>
</a>
</div>
<div class="video-news-content">
<h3>
<a href="news-details.php">{{ $video->title }}</a>
</h3>
</div>
</div>
</div>
@endforeach
</div>
{{ $videos->links('hulaki_khabar.pagination.hulaki', ['data' => $videos]) }}
</div>
</div>
</div>
</section>
@endsection