File: /home/armgroup/libs/storage/framework/views/a3ede607204a98012f99c7b1a7a68cfa01bec99b.php
<div class="col-lg-3 col-12">
<div class="card mb-4">
<div class="card-header">جستجو</div>
<div class="card-body">
<form method="GET" action="<?php echo e($action); ?>">
<div class="input-group">
<input class="form-control"
type="text"
name="search"
value="<?php echo e(request('search')); ?>"
placeholder="عبارت جستجو را وارد کنید"
aria-label="عبارت جستجو را وارد کنید"
aria-describedby="button-search" />
<button class="btn btn-primary" id="button-search" type="submit">بگرد!</button>
</div>
</form>
</div>
</div>
<?php if(count($categories)): ?>
<div class="card mb-4">
<div class="card-header">دستهها</div>
<div class="card-body">
<div class="row">
<?php $__currentLoopData = $categories->chunk(ceil(count($categories)/2)); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chunkedCat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-sm-6">
<ul class="list-unstyled mb-0">
<?php $__currentLoopData = $chunkedCat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<a href="<?php echo e(route('articles.category', $category->slug)); ?>" class="text-decoration-underline">
<?php echo e($category->name); ?>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endif; ?>
<?php if($show_widgets): ?>
<div class="card mb-4">
<div class="card-header">ویجتها</div>
<div class="card-body">
<div class="row text-center" style="font-size: 30px;">
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('frontend.article.add-to-favorite', ['article' => $article])->html();
} elseif ($_instance->childHasBeenRendered('oDmjW9g')) {
$componentId = $_instance->getRenderedChildComponentId('oDmjW9g');
$componentTag = $_instance->getRenderedChildComponentTagName('oDmjW9g');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('oDmjW9g');
} else {
$response = \Livewire\Livewire::mount('frontend.article.add-to-favorite', ['article' => $article]);
$html = $response->html();
$_instance->logRenderedChild('oDmjW9g', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
<div class="col-sm-3">
<a class="text-primary"
href="https://t.me/share/url?url=<?php echo e(url()->full()); ?>&text=<?php echo e($article->title); ?>"
rel="nofollow"
title="اشتراکگذاری با تلگرام">
<i class="fab fa-telegram"></i>
</a>
</div>
<div class="col-sm-3">
<a class="text-success"
href="whatsapp://send?text=<?php echo e(url()->full()); ?>"
data-action="share/whatsapp/share"
rel="nofollow"
title="اشتراکگذاری با واتساپ">
<i class="fab fa-whatsapp"></i>
</a>
</div>
<div class="col-sm-3">
<a class="text-info"
href="https://twitter.com/home?status=<?php echo e(url()->full()); ?>"
rel="nofollow"
title="اشتراکگذاری با توئیتر">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
</div>
</div>
<?php if(count($relatedProducts)): ?>
<div class="card mb-4">
<div class="card-header">محصولات مرتبط با <?php echo e($article->title); ?> </div>
<div class="card-body">
<ul class="list-group list-group-flush">
<?php $__currentLoopData = $relatedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $relatedProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="list-group-item">
<a href="<?php echo e(route('products.show', $relatedProduct->slug)); ?>">
<?php echo e($relatedProduct->name); ?>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
<?php endif; ?>
<?php if(count($articles)): ?>
<div class="card mb-4">
<div class="card-header">آخرین بلاگ </div>
<div class="card-body">
<ul class="list-group list-group-flush">
<?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="list-group-item">
<a href="<?php echo e(route('articles.show', $article->slug)); ?>">
<?php echo e($article->title); ?>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
<?php /**PATH /home/technova/technovar/resources/views/frontend/articles/sidebar.blade.php ENDPATH**/ ?>