<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-lg-9">
            <div class="mt-0">
                <div class="entry">
                    <h2 class="mb-3 fw-bold h1"><?php echo e($data->judul); ?></h2>
                    <div class="entry-meta d-flex justify-content-between mb-4">
                        <ul>
                            <li><i class="bi-clock"></i> <?php echo e(tanggal_indo($data->tanggal_publish)); ?></li>
                            <li><i class="uil uil-user"></i> <?php echo e($data->to_user->name); ?></li>
                            <li><i class="uil uil-tag-alt"></i> <?php echo e($data->to_kategori->nama); ?></li>
                        </ul>
                    </div>
                    <div class="card border-0 border-top rounded-0 border-default mt-4 mb-5">
                        <div class="card-body pt-3 px-0">
                            <div class="d-flex align-items-center justify-content-between">
                                <h6 class="fs-6 fw-semibold mb-0">Bagikan:</h6>
                                <div class="d-flex">
                                    <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url()->current()); ?>"
                                       target="_blank"
                                       class="social-icon text-white border-transparent rounded-circle bg-facebook"
                                       title="Facebook" style="--cnvs-socialicon-size:2rem;">
                                        <i><img src="<?php echo e(asset('socials/guest/facebook.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                        <i><img src="<?php echo e(asset('socials/guest/facebook.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                    </a>

                                    <a href="https://twitter.com/intent/tweet?text=<?php echo e($data->judul . '%0A%0A' . url()->current()); ?>"
                                       target="_blank"
                                       class="social-icon text-white border-transparent rounded-circle bg-dark"
                                       title="Twitter" style="--cnvs-socialicon-size:2rem;">
                                        <i><img src="<?php echo e(asset('socials/guest/x.svg')); ?>" width="15" height="15"
                                                 alt="Image" style="margin-bottom: 3px"></i>
                                        <i><img src="<?php echo e(asset('socials/guest/x.svg')); ?>" width="15" height="15"
                                                 alt="Image" style="margin-bottom: 3px"></i>
                                    </a>

                                    <a href="https://threads.net/intent/post?text=<?php echo e($data->judul . '%0A%0A' . url()->current()); ?>"
                                       target="_blank"
                                       class="social-icon text-white border-transparent rounded-circle bg-dark"
                                       title="Threads" style="--cnvs-socialicon-size:2rem;">
                                        <i><img src="<?php echo e(asset('socials/guest/threads.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                        <i><img src="<?php echo e(asset('socials/guest/threads.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                    </a>

                                    <a href="https://api.whatsapp.com/send?text=<?php echo e($data->judul . '%0A%0A' . url()->current()); ?>"
                                       target="_blank"
                                       class="social-icon text-white border-transparent rounded-circle bg-whatsapp"
                                       title="Whatsapp" style="--cnvs-socialicon-size:2rem;">
                                        <i><img src="<?php echo e(asset('socials/guest/whatsapp.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                        <i><img src="<?php echo e(asset('socials/guest/whatsapp.svg')); ?>" width="15"
                                                 height="15" alt="Image" style="margin-bottom: 3px"></i>
                                    </a>

                                </div>
                            </div>
                        </div>
                    </div>

                    <?php if($data->thumbnail): ?>
                        <div class="entry-image">
                            <a href="<?php echo e(route('post', ['slug' => $data->slug])); ?>"><img
                                     src="<?php echo e($data->thumbnail ? asset('storage/'.$data->thumbnail) : asset('default.jpg')); ?>"
                                     onerror="this.src='<?php echo e(asset('default.jpg')); ?>'" alt="Image 3"></a>
                            <div class="entry-categories"><a
                                   href="<?php echo e(route('kategori', ['slug' => $data->to_kategori->slug])); ?>"
                                   class="bg-tech"><?php echo e($data->to_kategori->nama); ?></a></div>
                        </div>
                    <?php endif; ?>

                    <div class="entry-content mt-0">
                        <?php echo $data->konten; ?>

                    </div>

                </div>

                <div class="line"></div>

                <h4>Berita Lainnya:</h4>

                <div class="posts-sm row col-mb-30 related-posts">
                    <?php if (isset($component)) { $__componentOriginal75c16e82a60df4d7c53c66d3775a81cd = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal75c16e82a60df4d7c53c66d3775a81cd = $attributes; } ?>
<?php $component = App\View\Components\Guest\BeritaLainPost::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('guest.berita-lain-post'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Guest\BeritaLainPost::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal75c16e82a60df4d7c53c66d3775a81cd)): ?>
<?php $attributes = $__attributesOriginal75c16e82a60df4d7c53c66d3775a81cd; ?>
<?php unset($__attributesOriginal75c16e82a60df4d7c53c66d3775a81cd); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal75c16e82a60df4d7c53c66d3775a81cd)): ?>
<?php $component = $__componentOriginal75c16e82a60df4d7c53c66d3775a81cd; ?>
<?php unset($__componentOriginal75c16e82a60df4d7c53c66d3775a81cd); ?>
<?php endif; ?>
                </div>
            </div>
        </div>
        <div class="col-lg-3 sticky-sidebar-wrap mt-0 mt-lg-0">
            <div class="sticky-sidebar">
                <?php if (isset($component)) { $__componentOriginal03f01d48908cbe7093d539bebeb1d480 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal03f01d48908cbe7093d539bebeb1d480 = $attributes; } ?>
<?php $component = App\View\Components\Guest\Skm::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('guest.skm'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Guest\Skm::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal03f01d48908cbe7093d539bebeb1d480)): ?>
<?php $attributes = $__attributesOriginal03f01d48908cbe7093d539bebeb1d480; ?>
<?php unset($__attributesOriginal03f01d48908cbe7093d539bebeb1d480); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal03f01d48908cbe7093d539bebeb1d480)): ?>
<?php $component = $__componentOriginal03f01d48908cbe7093d539bebeb1d480; ?>
<?php unset($__componentOriginal03f01d48908cbe7093d539bebeb1d480); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginalbb7efaa4a8036ac4bc7df1a70780b21b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalbb7efaa4a8036ac4bc7df1a70780b21b = $attributes; } ?>
<?php $component = App\View\Components\Guest\SosialMedia::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('guest.sosial-media'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Guest\SosialMedia::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalbb7efaa4a8036ac4bc7df1a70780b21b)): ?>
<?php $attributes = $__attributesOriginalbb7efaa4a8036ac4bc7df1a70780b21b; ?>
<?php unset($__attributesOriginalbb7efaa4a8036ac4bc7df1a70780b21b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalbb7efaa4a8036ac4bc7df1a70780b21b)): ?>
<?php $component = $__componentOriginalbb7efaa4a8036ac4bc7df1a70780b21b; ?>
<?php unset($__componentOriginalbb7efaa4a8036ac4bc7df1a70780b21b); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal44b3285c099e19acdf6d050e782ea2ee = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal44b3285c099e19acdf6d050e782ea2ee = $attributes; } ?>
<?php $component = App\View\Components\Guest\Kategori::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('guest.kategori'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Guest\Kategori::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal44b3285c099e19acdf6d050e782ea2ee)): ?>
<?php $attributes = $__attributesOriginal44b3285c099e19acdf6d050e782ea2ee; ?>
<?php unset($__attributesOriginal44b3285c099e19acdf6d050e782ea2ee); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal44b3285c099e19acdf6d050e782ea2ee)): ?>
<?php $component = $__componentOriginal44b3285c099e19acdf6d050e782ea2ee; ?>
<?php unset($__componentOriginal44b3285c099e19acdf6d050e782ea2ee); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal4263a1acfcb7368b04e97d8e96bfb440 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4263a1acfcb7368b04e97d8e96bfb440 = $attributes; } ?>
<?php $component = App\View\Components\Guest\Link::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('guest.link'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Guest\Link::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4263a1acfcb7368b04e97d8e96bfb440)): ?>
<?php $attributes = $__attributesOriginal4263a1acfcb7368b04e97d8e96bfb440; ?>
<?php unset($__attributesOriginal4263a1acfcb7368b04e97d8e96bfb440); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4263a1acfcb7368b04e97d8e96bfb440)): ?>
<?php $component = $__componentOriginal4263a1acfcb7368b04e97d8e96bfb440; ?>
<?php unset($__componentOriginal4263a1acfcb7368b04e97d8e96bfb440); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('guest.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/aptika/Workspace/webprofilev2/resources/views/guest/post.blade.php ENDPATH**/ ?>