changes
This commit is contained in:
@ -130,6 +130,7 @@
|
||||
{{ CCMS::createMenuLink('Horoscope', route('horoscope.index')) }}
|
||||
{{ CCMS::createMenuLink('Artilces', route('articles.index')) }}
|
||||
{{ CCMS::createMenuLink('Teams', route('teams.index')) }}
|
||||
{{ CCMS::createMenuLink('Popup', route('popups.index')) }}
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -14,12 +14,15 @@
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'Link') }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createDate('valid_till', 'Valid Till', '','') }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createCustomSelect('tbl_adcategories', 'title', 'category_id','', 'Category Id', 'ad_categories_id', 'form-control select2', 'status<>-1') }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
{{ createCustomSelect('tbl_advertisements', 'title', 'advertisement_id', '', 'Parent Advertisement', 'parent_advertisement', 'form-control select2', 'status<>-1') }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb') }}
|
||||
<div class="col-lg-6 pb-2">{{ createImageInput('thumb', 'Thumb') }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 pb-2">{{ createPlainTextArea('remarks', 'remarks ', 'Remarks') }}
|
||||
|
@ -15,6 +15,8 @@
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'Link', '', $data->link) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createDate('valid_till', 'Valid Till', '',$data->valid_till) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createCustomSelect('tbl_adcategories', 'title', 'category_id',$data->ad_categories_id, 'Category Id', 'ad_categories_id', 'form-control select2', 'status<>-1') }}
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
|
@ -69,6 +69,18 @@
|
||||
{{ createImageInput('image', 'Image') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title mb-0">Status</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="form-check form-switch form-switch-lg form-switch-success mb-3" dir="ltr">
|
||||
<input type="checkbox" class="form-check-input" id="customSwitchsizelg"
|
||||
name="status" checked="">
|
||||
<label class="form-check-label" for="customSwitchsizelg">Active</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title mb-0">Featured News</h4>
|
||||
|
@ -1,8 +1,37 @@
|
||||
@extends('backend.template')
|
||||
@push('css')
|
||||
<style>
|
||||
.news-item {
|
||||
margin-bottom: 10px;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
margin-left: -60em;
|
||||
}
|
||||
|
||||
.news-link {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.news-link:hover {
|
||||
color: #0056b3;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2 class="">{{ label('Edit News') }}</h2>
|
||||
@php $url = config('app.url') @endphp
|
||||
<div class="news-item">
|
||||
@if ($data->featured_news == 'True')
|
||||
<a href="{{ $url }}/" class="news-link">Featured News</a>
|
||||
@else
|
||||
<a href="{{ $url }}/newsDetail/{{ $data->alias }}" class="news-link">View News</a>
|
||||
@endif
|
||||
</div>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('news.index')); ?>
|
||||
|
||||
</div>
|
||||
@ -36,16 +65,16 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="col-lg-12">
|
||||
{{ createText('title', 'title', 'Title','',$data->title) }}
|
||||
{{ createText('title', 'title', 'Title', '', $data->title) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createText('nepali_title', 'nepali_title', 'Nepali Title','',$data->nepali_title) }}
|
||||
{{ createText('nepali_title', 'nepali_title', 'Nepali Title', '', $data->nepali_title) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createPlainTextArea('short_description','', 'Short Description',$data->short_description) }}
|
||||
</div>
|
||||
{{ createPlainTextArea('short_description', '', 'Short Description', $data->short_description) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createTextarea('content', 'content ckeditor-classic', 'Content','',$data->content) }}
|
||||
{{ createTextarea('content', 'content ckeditor-classic', 'Content', '', $data->content) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -64,9 +93,21 @@
|
||||
<h4 class="card-title mb-0">Cover Photo</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{{ createImageInput('thumb', 'Thumb','',$data->thumb) }}
|
||||
{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
|
||||
<div class="border mt-3 border-dashed"></div>
|
||||
{{ createImageInput('image', 'Image','',$data->image) }}
|
||||
{{ createImageInput('image', 'Image', '', $data->image) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title mb-0">Status</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="form-check form-switch form-switch-lg form-switch-success mb-3" dir="ltr">
|
||||
<input type="checkbox" class="form-check-input" id="customSwitchsizelg" name="status"
|
||||
@checked($data->status == 1)>
|
||||
<label class="form-check-label" for="customSwitchsizelg">Publish</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
|
30
resources/views/crud/generated/popups/create.blade.php
Normal file
30
resources/views/crud/generated/popups/create.blade.php
Normal file
@ -0,0 +1,30 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2 class="">{{ label('Add Popups') }}</h2>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('popups.index')); ?>
|
||||
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
<form action="{{ route('popups.store') }}" id="storeCustomForm" method="POST">
|
||||
@csrf
|
||||
<div class="row">
|
||||
<div class="col-lg-6">{{ createText('title', 'title', 'Title') }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createTextarea('description', 'description ckeditor-classic', 'Description') }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createImageInput('image', 'Image') }}
|
||||
</div>
|
||||
<div class="col-lg-6 pb-2">{{ createDate('valid_till', 'Valid Till', '', date('Y-m-d')) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'Link') }}
|
||||
</div>
|
||||
<div class="col-md-12"><?php createButton('btn-primary btn-store', '', 'Submit'); ?>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('popups.index')); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
30
resources/views/crud/generated/popups/edit.blade.php
Normal file
30
resources/views/crud/generated/popups/edit.blade.php
Normal file
@ -0,0 +1,30 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2 class="">{{ label('Edit Popups') }}</h2>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('popups.index')); ?>
|
||||
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
<form action="{{ route('popups.update', [$data->id]) }}" id="updateCustomForm" method="POST">
|
||||
@csrf <input type=hidden name='id' value='{{ $data->id }}' />
|
||||
<div class="row">
|
||||
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createTextarea('description', 'description ckeditor-classic', 'Description', $data->description) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createImageInput('image', 'Image', '', $data->image) }}
|
||||
</div>
|
||||
<div class="col-lg-6 pb-2">{{ createDate('valid_till', 'Valid Till', '', $data->valid_till) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'Link', '', $data->link) }}
|
||||
</div>
|
||||
<div class="col-md-12"><?php createButton('btn-primary btn-update', '', 'Submit'); ?>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('popups.index')); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
235
resources/views/crud/generated/popups/index.blade.php
Normal file
235
resources/views/crud/generated/popups/index.blade.php
Normal file
@ -0,0 +1,235 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h2>{{ label("Popups List") }}</h2>
|
||||
<a href="{{ route('popups.create') }}" class="btn btn-primary"><span>{{label("Create New")}}</span></a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table dataTable" id="tbl_popups" data-url="{{ route('popups.sort') }}">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th class="tb-col"><span class="overline-title">{{label("Sn.")}}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("title") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("image") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("valid_till") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("link") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("createdBy") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("updatedBy") }}</span></th>
|
||||
<th class="tb-col" data-sortable="false"><span
|
||||
class="overline-title">{{ label("Action") }}</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@php
|
||||
$i = 1;
|
||||
@endphp
|
||||
@foreach ($data as $item)
|
||||
|
||||
<tr data-id="{{$item->id}}" data-display_order="{{$item->display_order}}" class="draggable-row <?php echo ($item->status==0)?"bg-light bg-danger":""; ?>">
|
||||
<td class="tb-col">{{ $i++ }}</td><td class="tb-col">{{ $item->title }}</td>
|
||||
<td class="tb-col">{{ showImageThumb($item->image) }}</td>
|
||||
<td class="tb-col">{{ myDate($item->valid_till) }}</td>
|
||||
<td class="tb-col">{{ $item->link }}</td>
|
||||
<td class="tb-col">{{ $item->createdBy }}</td>
|
||||
<td class="tb-col">{{ $item->updatedBy }}</td>
|
||||
<td class="tb-col">
|
||||
<div class="dropdown d-inline-block">
|
||||
<button class="btn btn-soft-secondary btn-sm dropdown" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="ri-more-fill align-middle"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a href="{{route('popups.show',[$item->id])}}" class="dropdown-item"><i class="ri-eye-fill align-bottom me-2 text-muted"></i> {{label("View")}}</a></li>
|
||||
<li><a href="{{route('popups.edit',[$item->id])}}" class="dropdown-item edit-item-btn"><i class="ri-pencil-fill align-bottom me-2 text-muted"></i> {{label("Edit")}}</a></li>
|
||||
<li>
|
||||
<a href="{{route('popups.toggle',[$item->id])}}" class="dropdown-item toggle-item-btn" onclick="confirmToggle(this.href)">
|
||||
<i class="ri-article-fill align-bottom me-2 text-muted"></i> {{ ($item->status==1)?label('Unpublish'):label('Publish') }}
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{route('popups.destroy',[$item->id])}}" class="dropdown-item remove-item-btn" onclick="confirmDelete(this.href)">
|
||||
<i class="ri-delete-bin-fill align-bottom me-2 text-muted"></i> {{ label('Delete') }}
|
||||
</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@push("css")
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.5/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/rowreorder/1.4.0/css/rowReorder.dataTables.min.css">
|
||||
@endpush
|
||||
@push("js")
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/2.4.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/rowreorder/1.4.0/js/dataTables.rowReorder.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(e) {
|
||||
$('.change-alias-badge').on('click', function() {
|
||||
var aliasWrapper = $(this).prev('.alias-wrapper');
|
||||
var aliasSpan = aliasWrapper.find('.alias');
|
||||
var aliasInput = aliasWrapper.find('.alias-input');
|
||||
var isEditing = $(this).hasClass('editing');
|
||||
aliasInput.toggleClass("d-none");
|
||||
if (isEditing) {
|
||||
// Update alias text and switch to non-editing state
|
||||
var newAlias = aliasInput.val();
|
||||
aliasSpan.text(newAlias);
|
||||
aliasSpan.show();
|
||||
aliasInput.hide();
|
||||
$(this).removeClass('editing').text('Change Alias');
|
||||
var articleId = $(aliasWrapper).data('id');
|
||||
var ajaxUrl = "{{ route('popups.updatealias') }}";
|
||||
var data = {
|
||||
articleId: articleId,
|
||||
newAlias: newAlias
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
url: ajaxUrl,
|
||||
type: 'POST',
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
data: data,
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
// Switch to editing state
|
||||
aliasSpan.hide();
|
||||
aliasInput.show().focus();
|
||||
$(this).addClass('editing').text('Save Alias');
|
||||
}
|
||||
});
|
||||
var mytable = $(".dataTable").DataTable({
|
||||
ordering: true,
|
||||
rowReorder: {
|
||||
//selector: 'tr'
|
||||
},
|
||||
});
|
||||
|
||||
var isRowReorderComplete = false;
|
||||
|
||||
mytable.on('row-reorder', function(e, diff, edit) {
|
||||
isRowReorderComplete = true;
|
||||
});
|
||||
|
||||
mytable.on('draw', function() {
|
||||
if (isRowReorderComplete) {
|
||||
var url = mytable.table().node().getAttribute('data-url');
|
||||
var ids = mytable.rows().nodes().map(function(node) {
|
||||
return $(node).data('id');
|
||||
}).toArray();
|
||||
|
||||
console.log(ids);
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "POST",
|
||||
headers: {
|
||||
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
data: {
|
||||
id_order: ids
|
||||
},
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
isRowReorderComplete=false;
|
||||
}
|
||||
});
|
||||
});
|
||||
function confirmDelete(url) {
|
||||
event.preventDefault();
|
||||
Swal.fire({
|
||||
title: 'Are you sure?',
|
||||
text: 'You will not be able to recover this item!',
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Delete',
|
||||
cancelButtonText: 'Cancel',
|
||||
reverseButtons: true
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: 'DELETE',
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
success: function(response) {
|
||||
Swal.fire('Deleted!', 'The item has been deleted.', 'success');
|
||||
location.reload();
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
Swal.fire('Error!', 'An error occurred while deleting the item.', 'error');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
function confirmToggle(url) {
|
||||
event.preventDefault();
|
||||
Swal.fire({
|
||||
title: 'Are you sure?',
|
||||
text: 'Publish Status of Item will be changed!! if Unpublished, links will be dead!',
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Proceed',
|
||||
cancelButtonText: 'Cancel',
|
||||
reverseButtons: true
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: 'GET',
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
success: function(response) {
|
||||
Swal.fire('Updated!', 'Publishing Status has been updated.', 'success');
|
||||
location.reload();
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
Swal.fire('Error!', 'An error occurred.', 'error');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@endpush
|
||||
|
29
resources/views/crud/generated/popups/show.blade.php
Normal file
29
resources/views/crud/generated/popups/show.blade.php
Normal file
@ -0,0 +1,29 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2><?php echo label('View Details'); ?></h2>
|
||||
<?php createButton("btn-primary btn-cancel","","Back to List",route('popups.index')); ?>
|
||||
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
|
||||
|
||||
|
||||
<p><b>Title : </b> <span>{{$data->title}}</span></p><p><b>Description : </b> <span>{{$data->description}}</span></p><p><b>Image : </b> <span>{{$data->image}}</span></p><p><b>Valid Till : </b> <span>{{$data->valid_till}}</span></p><p><b>Link : </b> <span>{{$data->link}}</span></p><p><b>Status : </b> <span
|
||||
class="{{$data->status == 1 ? 'text-success' : 'text-danger'}}">{{$data->status == 1 ? 'Active' : 'Inactive'}}</span></p><p><b>Display Order : </b> <span>{{$data->display_order}}</span></p><div class="d-flex justify-content-between">
|
||||
<div>
|
||||
<p><b>Created On :</b> <span>{{$data->created_at}}</span></p>
|
||||
<p><b>Created By :</b> <span>{{$data->createdBy}}</span></p>
|
||||
</div>
|
||||
<div>
|
||||
<p><b>Updated On :</b> <span>{{$data->updated_at}}</span></p>
|
||||
<p><b>Updated By :</b> <span>{{$data->updatedBy}}</span></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endSection
|
@ -1,23 +1,24 @@
|
||||
@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.ads') --}}
|
||||
@include('hulaki_khabar.home.country')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.international')
|
||||
@include('hulaki_khabar.home.politics')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.interview')
|
||||
@include('hulaki_khabar.home.business')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.sports')
|
||||
@include('hulaki_khabar.home.culture-tech')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.entertainment')
|
||||
@include('hulaki_khabar.home.feature')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.main-video')
|
||||
{{-- @include('hulaki_khabar.home.ads') --}}
|
||||
@include('hulaki_khabar.home.society')
|
||||
@include('hulaki_khabar.home.health')
|
||||
@endsection
|
||||
@endsection
|
||||
|
@ -95,26 +95,26 @@
|
||||
<div class="col-lg-4">
|
||||
<aside class="widget-area">
|
||||
@foreach ($adsWithChildren as $parentads)
|
||||
@if ($parentads->ad_categories_id == 9)
|
||||
@if ($parentads->ad_categories_id == 9 && now()->isBefore($parentads->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<div class="col-lg-10" style="margin-left: 10%;">
|
||||
<img src="{{ asset($parentads->thumb) }}" alt="{{ $parentads->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@if ($parentads->children->isNotEmpty())
|
||||
@foreach ($parentads->children as $child)
|
||||
@foreach ($parentads->children as $child)
|
||||
@if (now()->isBefore($child->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<div class="col-lg-10" style="margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@ -124,7 +124,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 8)
|
||||
@if ($ad->ad_categories_id == 8 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
|
@ -169,7 +169,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 4)
|
||||
@if ($ad->ad_categories_id == 4 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
|
@ -23,7 +23,8 @@
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4">
|
||||
<div class="sports-news-image">
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
@ -31,7 +32,8 @@
|
||||
<div class="col-lg-8">
|
||||
<div class="sports-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -50,7 +52,8 @@
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4">
|
||||
<div class="sports-news-image">
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thub) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
@ -58,7 +61,8 @@
|
||||
<div class="col-lg-8">
|
||||
<div class="sports-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -85,25 +89,26 @@
|
||||
@foreach ($technology as $type)
|
||||
@if ($type->alias == 'technology')
|
||||
@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 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>
|
||||
<div class="col-lg-8">
|
||||
<div class="tech-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
<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>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
@ -113,25 +118,26 @@
|
||||
@foreach ($technology as $type)
|
||||
@if ($type->alias == 'technology')
|
||||
@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 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>
|
||||
<div class="col-lg-8">
|
||||
<div class="tech-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail',['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
<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>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
@ -147,7 +153,7 @@
|
||||
<div class="col-lg-4">
|
||||
<aside class="widget-area">
|
||||
@foreach ($adsWithChildren as $parentads)
|
||||
@if ($parentads->ad_categories_id == 11)
|
||||
@if ($parentads->ad_categories_id == 11 && now()->isBefore($parentads->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($parentads->thumb) }}" alt="{{ $parentads->title }}">
|
||||
@ -155,11 +161,13 @@
|
||||
</section>
|
||||
@if ($parentads->children->isNotEmpty())
|
||||
@foreach ($parentads->children as $child)
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@if (now()->isBefore($child->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
@ -176,7 +184,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 10)
|
||||
@if ($ad->ad_categories_id == 10 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
@ -187,5 +195,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
|
||||
<!-- Feature News -->
|
||||
<div class="most-popular-news" id="business">
|
||||
<div class="section-title">
|
||||
@ -44,7 +45,7 @@
|
||||
<div class="col-lg-4">
|
||||
<aside class="widget-area">
|
||||
@foreach ($adsWithChildren as $parentads)
|
||||
@if ($parentads->ad_categories_id == 13)
|
||||
@if ($parentads->ad_categories_id == 13 && now()->isBefore($parentads->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($parentads->thumb) }}" alt="{{ $parentads->title }}">
|
||||
@ -52,11 +53,13 @@
|
||||
</section>
|
||||
@if ($parentads->children->isNotEmpty())
|
||||
@foreach ($parentads->children as $child)
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@if (now()->isBefore($child->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
|
@ -42,7 +42,7 @@
|
||||
<div class="col-lg-4">
|
||||
<aside class="widget-area">
|
||||
@foreach ($adsWithChildren as $parentads)
|
||||
@if ($parentads->ad_categories_id == 15)
|
||||
@if ($parentads->ad_categories_id == 15 && now()->isBefore($parentads->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($parentads->thumb) }}" alt="{{ $parentads->title }}">
|
||||
@ -50,11 +50,13 @@
|
||||
</section>
|
||||
@if ($parentads->children->isNotEmpty())
|
||||
@foreach ($parentads->children as $child)
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@if (now()->isBefore($child->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<div class=" col-lg-10" style=" margin-left: 10%;">
|
||||
<img src="{{ asset($child->thumb) }}" alt="{{ $child->title }}">
|
||||
</div>
|
||||
</section>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
|
@ -78,7 +78,7 @@
|
||||
@foreach ($adsWithChildren as $ads)
|
||||
@if ($ads->children->isNotEmpty())
|
||||
@foreach ($ads->children as $item)
|
||||
@if ($item->ad_categories_id == 5)
|
||||
@if ($item->ad_categories_id == 5 && now()->isBefore($item->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset($item->thumb) }}" alt="{{ $item->title }}"
|
||||
class="img-fluid">
|
||||
|
@ -43,7 +43,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 3)
|
||||
@if ($ad->ad_categories_id == 3 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
|
@ -120,7 +120,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 14)
|
||||
@if ($ad->ad_categories_id == 14 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
|
@ -75,14 +75,14 @@
|
||||
<div class="col-lg-3">
|
||||
<aside class="widget-area mt-50">
|
||||
@foreach ($adsWithChildren as $items)
|
||||
@if ($items->ad_categories_id == 7)
|
||||
@if ($items->ad_categories_id == 7 && now()->isBefore($items->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset($items->thumb) }}" alt="{{ $items->title }}" class="img-fluid">
|
||||
</section>
|
||||
@endif
|
||||
@if ($items->children->isNotEmpty())
|
||||
@foreach ($items->children as $item)
|
||||
@if ($item->ad_categories_id == 7)
|
||||
@if ($item->ad_categories_id == 7 && now()->isBefore($item->valid_till))
|
||||
<section class="widget widget_featured_reports">
|
||||
<img src="{{ asset($item->thumb) }}" alt="{{ $item->title }}"
|
||||
class="img-fluid">
|
||||
@ -104,7 +104,7 @@
|
||||
<div class="col-lg-12">
|
||||
@if ($ads->isNotEmpty())
|
||||
@foreach ($ads as $ad)
|
||||
@if ($ad->ad_categories_id == 6)
|
||||
@if ($ad->ad_categories_id == 6 && now()->isBefore($ad->valid_till))
|
||||
<a href="{{ $ad->link }}">
|
||||
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
|
||||
</a>
|
||||
|
@ -21,13 +21,14 @@
|
||||
@if ($loop->first)
|
||||
<div class="single-culture-news">
|
||||
<div class="">
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
<div class="culture-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -46,7 +47,7 @@
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4 col-sm-4">
|
||||
<div class="culture-news-image">
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
@ -54,7 +55,8 @@
|
||||
<div class="col-lg-8 col-sm-8">
|
||||
<div class="culture-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -73,7 +75,7 @@
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4 col-sm-4">
|
||||
<div class="culture-news-image">
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">
|
||||
<a href="{{ route('newsDetail', ['alias' => $item->alias]) }}">
|
||||
<img src="{{ asset($item->thumb) }}" alt="image">
|
||||
</a>
|
||||
</div>
|
||||
@ -81,7 +83,8 @@
|
||||
<div class="col-lg-8 col-sm-8">
|
||||
<div class="culture-news-content">
|
||||
<h3>
|
||||
<a href="{{route('newsDetail', ['alias' => $item->alias])}}">{{ $item->title }}</a>
|
||||
<a
|
||||
href="{{ route('newsDetail', ['alias' => $item->alias]) }}">{{ $item->title }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
@ -90,7 +93,6 @@
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,6 +2,9 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
@yield('meta')
|
||||
<meta property="og:image"
|
||||
content="https://ahrefs.com/blog/wp-content/uploads/2019/12/fb-how-to-become-an-seo-expert.png" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="Hulaki Khabar">
|
||||
@ -29,6 +32,14 @@
|
||||
<link rel="stylesheet" href="{{ asset('hulaki/assets/css/dark.css') }}">
|
||||
<!-- Responsive CSS -->
|
||||
<link rel="stylesheet" href="{{ asset('hulaki/assets/css/responsive.css') }}">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css"
|
||||
integrity="sha512-q3eWabyZPc1XTCmF+8/LuE1ozpg5xxn7iO89yfSOd5/oKvyqLngoNGsx8jq92Y8eXJ/IRxQbEC+FGSYxtk2oiw=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<title>हुलाकी खबर </title>
|
||||
|
||||
@ -90,6 +101,7 @@
|
||||
<script src="{{ asset('hulaki/assets/js/wow.min.js') }}"></script>
|
||||
<!-- Custom JS -->
|
||||
<script src="{{ asset('hulaki/assets/js/main.js') }}"></script>
|
||||
<script src="{{ asset('js/share.js') }}"></script>
|
||||
@stack('js')
|
||||
</body>
|
||||
|
||||
|
@ -1,4 +1,64 @@
|
||||
@extends('hulaki_khabar.layout.layout')
|
||||
@section('meta')
|
||||
<meta property="og:title" content="{{ $news->title }}" />
|
||||
<meta property="og:description"
|
||||
content="{{ $news->title}}" />
|
||||
<meta property="og:image" content="{{ asset($news->thumb) }}" />
|
||||
@endsection
|
||||
@push('css')
|
||||
@push('css')
|
||||
<style>
|
||||
#social-links {
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#social-links ul li {
|
||||
display: inline-block;
|
||||
/* width: 140px; */
|
||||
/* height: 10px; */
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#social-links ul li a {
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: 2px solid rgb(166, 12, 12);
|
||||
border-radius: 20px;
|
||||
/* padding: 10px 5px 40px 5px; */
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
height: 40px;
|
||||
width: 140px;
|
||||
font-size: 23px;
|
||||
|
||||
}
|
||||
|
||||
#social-links ul li a:hover,
|
||||
#social-links ul li a:hover :active {
|
||||
background-color: #bc4633;
|
||||
;
|
||||
}
|
||||
|
||||
.text,
|
||||
.text {
|
||||
background-color: #f44336;
|
||||
color: white;
|
||||
padding: 14px 20px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.text:hover,
|
||||
.text:active {
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@endpush
|
||||
@section('content')
|
||||
<section class="default-news-area pt-5">
|
||||
<div class="container">
|
||||
@ -23,9 +83,12 @@
|
||||
<div class="col-lg-9 col-md-9">
|
||||
<div class="blog-details-desc">
|
||||
<h3 id="sidebar">{{ $news->title }}</h3>
|
||||
<div class="article-image">
|
||||
<div class="article-image pb-5">
|
||||
<img src="{{ asset($news->thumb) }}" alt="image">
|
||||
</div>
|
||||
<div class="container mt-4">
|
||||
{!! $shareComponent !!}
|
||||
</div>
|
||||
<div class="article-content">
|
||||
<div class="sports-news-content">
|
||||
<p style="font: bold;">{{ $news->short_description }}</p>
|
||||
|
30
resources/views/hulaki_khabar/popup/popup-modal.blade.php
Normal file
30
resources/views/hulaki_khabar/popup/popup-modal.blade.php
Normal file
@ -0,0 +1,30 @@
|
||||
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
|
||||
<div class="modal-content" style="border-radius: 10px;">
|
||||
<div class="modal-body text-center p-0 rounded"
|
||||
style="background-image: url('{{ asset($popup->image) }}'); background-size: cover;">
|
||||
<div class="row" style="height: 30em;">
|
||||
<div class="col-6" style="height: 100%; width: 100%;">
|
||||
<img src="{{ $popup->image }}">
|
||||
</div>
|
||||
<div class="col-6 d-flex align-items-center">
|
||||
<div class="text-left p-4" style="position: relative">
|
||||
<h3 class="mb-4" style="text-transform: uppercase;">{{ $popup->title }}</h3>
|
||||
<p style="text-align: justify;">{!! $popup->description !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#exampleModal').modal('show');
|
||||
})
|
||||
</script>
|
||||
@endpush
|
Reference in New Issue
Block a user