25 lines
972 B
PHP
25 lines
972 B
PHP
@extends('hulaki_khabar.layout.layout')
|
|
@section('content')
|
|
@php
|
|
if (!is_null($popup) && !is_null(optional($popup->valid_till))) {
|
|
$activeStatus = $popup->valid_till >= \Carbon\Carbon::now();
|
|
} else {
|
|
$activeStatus = false;
|
|
}
|
|
@endphp
|
|
@includeWhen($activeStatus, 'hulaki_khabar.popup.popup-modal', ['data' => $popup])
|
|
@include('hulaki_khabar.home.main-news')
|
|
@include('hulaki_khabar.home.country')
|
|
@include('hulaki_khabar.home.international')
|
|
@include('hulaki_khabar.home.politics')
|
|
@include('hulaki_khabar.home.interview')
|
|
@include('hulaki_khabar.home.business')
|
|
@include('hulaki_khabar.home.sports')
|
|
@include('hulaki_khabar.home.culture-tech')
|
|
@include('hulaki_khabar.home.entertainment')
|
|
@include('hulaki_khabar.home.feature')
|
|
@include('hulaki_khabar.home.main-video')
|
|
@include('hulaki_khabar.home.society')
|
|
@include('hulaki_khabar.home.health')
|
|
@endsection
|