File: /home/armgroup/libs/storage/framework/views/f2fdca64bf714b2ead60cc4f0430724be731c24a.php
<?php $__env->startSection('header'); ?>
<link rel="stylesheet" href="<?php echo e(asset('css/blog.css')); ?>"/>
<?php if($article->faq): ?>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
<?php $__currentLoopData = $article->faq; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $f): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
{
"@type": "Question",
"name": "<?php echo e($f['question']); ?>",
"acceptedAnswer": {
"@type": "Answer",
"text": "<?php echo e($f['answer']); ?>"
}
}
<?php if (! ($loop->last)): ?> , <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
]
}
</script>
<?php endif; ?>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "<?php echo e($article->title); ?>",
"image": [
"<?php echo e(asset($article->image)); ?>"
],
"datePublished": "<?php echo e($article->updated_at); ?>",
"dateModified": "<?php echo e($article->updated_at); ?>",
"author": [{
"@type": "Person",
"name": "<?php echo e(settings('title')); ?>",
"url": "<?php echo e(route('index')); ?>"
}]
}
</script>
<script type="application/ld+json">[{
"@context": "https://schema.org/",
"@type": "CreativeWorkSeason",
"name": "<?php echo e($article->title); ?>",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "<?php echo e($article->star); ?>",
"ratingCount": "4",
"bestRating": "5",
"worstRating": "1"
}}]
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "<?php echo e(route('index')); ?>",
"name": "<?php echo e(settings('title')); ?>"
}
},{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "<?php echo e(route('articles.index')); ?>",
"name": "بلاگ"
}
},{
"@type": "ListItem",
"position": 3,
"item":
{
"@id": "<?php echo e(route('articles.show', $article->slug)); ?>",
"name": "<?php echo e($article->title); ?>"
}
}
]
}
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="container body-content ps-0 pe-0">
<div class="row">
<div class="col-12">
<ul class="breadcrumbs ps-0">
<li>
<a class="link" href="<?php echo e(route('index')); ?>">
<span><?php echo e(settings('title')); ?></span>
</a>
</li>
<li>
<a href="<?php echo e(route('articles.index')); ?>"
class="link">
بلاگ
</a>
</li>
<li>
<a class="link" href="<?php echo e(route('articles.show', $article->slug)); ?>">
<span><?php echo e($article->title); ?></span>
</a>
</li>
</ul>
</div>
</div>
<div class="row ">
<div class="col-lg-8 articledescription more-c">
<article>
<header class="mb-4">
<h1 class="fw-bolder mb-1 h1article"><?php echo e($article->h1 ?: $article->title); ?></h1>
<div>
<span class="badge bg-primary">
<span class="fa fa-calendar-alt"></span> <?php echo e(jdate($article->created_at)->format('d F Y')); ?>
</span>
<?php $__currentLoopData = $article->categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a class="badge bg-secondary text-decoration-none link-light"
href="<?php echo e(route('articles.category', $category->slug)); ?>">
<span class="fa fa-tag"></span>
<?php echo e($category->name); ?>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</header>
<section class="mb-5"><?php echo $article->content; ?></section>
<?php if($article->faq): ?>
<div class="accordion my-5" id="accordionExample1">
<h4 class="text-center text-secondary"><span class="fa fa-question-circle"></span> سوالات
متداول</h4>
<?php $__currentLoopData = $article->faq; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $f): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="accordion-item">
<h5 class="accordion-header" id="heading<?php echo e($loop->iteration); ?>">
<button class="accordion-button"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse<?php echo e($loop->iteration); ?>"
aria-expanded="true"
aria-controls="collapse<?php echo e($loop->iteration); ?>">
<?php echo e($f['question']); ?>
</button>
</h5>
<div id="collapse<?php echo e($loop->iteration); ?>"
class="accordion-collapse collapse <?php echo e($loop->first ? 'show' : ''); ?>"
aria-labelledby="heading<?php echo e($loop->iteration); ?>"
data-bs-parent="#accordionExample1">
<div class="accordion-body">
<?php echo e($f['answer']); ?>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php endif; ?>
</article>
<section class="mb-5">
<div class="card bg-light">
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('frontend.comments', ['commentableT' => \App\Models\Article::class,'commentableI' => $article->id])->html();
} elseif ($_instance->childHasBeenRendered('kuhtz9F')) {
$componentId = $_instance->getRenderedChildComponentId('kuhtz9F');
$componentTag = $_instance->getRenderedChildComponentTagName('kuhtz9F');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('kuhtz9F');
} else {
$response = \Livewire\Livewire::mount('frontend.comments', ['commentableT' => \App\Models\Article::class,'commentableI' => $article->id]);
$html = $response->html();
$_instance->logRenderedChild('kuhtz9F', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
</div>
</section>
</div>
<?php echo $__env->make('frontend.articles.sidebar', [ 'action' => route('articles.index'), 'show_widgets' => true ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/armgroup/libs/resources/views/frontend/articles/show.blade.php ENDPATH**/ ?>