<?php $__env->startSection('description'); ?><?php echo e(strip_tags($post->description)); ?><?php $__env->stopSection(); ?>
<?php $__env->startSection('og:image'); ?><?php echo e(asset($post->image)); ?><?php $__env->stopSection(); ?>
<?php $__env->startSection('title'); ?><?php echo e($post->title); ?><?php $__env->stopSection(); ?>


<?php $__env->startSection('main'); ?>

<link rel="stylesheet" href="<?php echo e(asset('css/custom.css')); ?>">

<style>
    @font-face {
    font-family: 'Solaiman Lipi';
    src: url('/fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Solaiman Lipi', sans-serif !important;
}

p, h1, h2, h3 {
    font-family: 'Solaiman Lipi', sans-serif;
}

</style>
    <div class="breadcrumbs breadcrumbs-height">
        <div class="container">
            <div class="breadcrumb-menu">
                <h6 class="f-size-18 m-0"><?php echo e(__('blog_deatils')); ?></h6>
                <ul>
                    <li><a href="<?php echo e(route('website.home')); ?>"><?php echo e(__('home')); ?></a></li>
                    <li>/</li>
                    <li><?php echo e(__('blog_deatils')); ?></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container">
        <!-- google adsense area  -->
        <?php if(advertisementCode('blog_detailpage_inside_blog')): ?>
            <div style="margin-top:50px;">
                <?php echo advertisementCode('blog_detailpage_inside_blog'); ?>

            </div>
        <?php endif; ?>
        <!-- google adsense area end -->
    </div>

    <div class="blog-content-area rt-pt-50 rt-mb-100 rt-mb-md-20">
        <div class="container">
            <div class="single-blog-page">
                <article class="single-blog-post blog-post hover-shadow:none">
                    <h4 class="rt-mb-24"><?php echo e($post->title); ?></h4>
                    <div class="entry-meta tw-flex-wrap tw-gap-3 align-items-center">
                        <a class="author-img-link d-flex align-items-center" href="#">
                            <img src="<?php echo e(asset($post->author->image_url)); ?>" alt="Author"  class="tw-w-[68px] tw-h-[68px] tw-rounded-md object-fit-contain">
                            <span class="body-font-3 text-gray-700"> <?php echo e($post->author->name); ?></span>
                        </a>
                        <a class="date" href="#">
                            <i class="ph-calendar-blank"></i>
                            <?php echo e(date('M d, Y', strtotime($post->created_at))); ?>

                        </a>
                        <?php if(count($post->comments) != 0): ?>
                            <a class="comment" href="<?php echo e(route('website.post', $post->slug)); ?>#comments">
                                <i class="ph-chat-circle-dots"></i>
                                <?php echo e($post->commentsCount()); ?> <?php echo e(__('comments')); ?>

                            </a>
                        <?php endif; ?>
                    </div>
                    <div >
                        <img src="<?php echo e(url($post->image)); ?>" alt="post" >
                    </div>
                    <br>
                    <h6 class="rt-mb-24">
                        <?php echo e($post->short_description); ?>

                    </h6>
                    <div class="body-font-3 text-gray-600">
                        <?php echo $post->description; ?>

                    </div>
                    <br>
                    <div class="rt-spacer-60"></div>
                    <div class="tw-share-area  tw-pt-6 tw-pb-8">
                        <h2 class="tw-text-[#18191C] tw-text-lg tw-font-medium tw-mb-2"><?php echo e(__('share_this_job')); ?>:
                        </h2>

                        <div class="input-group mb-3">
                        <input type="text" class="form-control" value="<?php echo e(url()->current()); ?>" aria-label="Recipient's username" aria-describedby="basic-addon2">
                        <span class="tw-text-primary-500 hover:tw-bg-primary-500 tw-cursor-pointer hover:tw-text-white tw-flex tw-gap-1.5 tw-items-center tw-text-base tw-font-medium tw-bg-[#E7F0FA] tw-px-4 tw-py-2 tw-rounded-[4px]"
                                                            onclick="copyUrl('<?php echo e(url()->current()); ?>')" id="basic-addon2"><?php if (isset($component)) { $__componentOriginalfbfec00c917bef93a2c89d9179a06df5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfbfec00c917bef93a2c89d9179a06df5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.link-sample-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.link-sample-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginalfbfec00c917bef93a2c89d9179a06df5)): ?>
<?php $attributes = $__attributesOriginalfbfec00c917bef93a2c89d9179a06df5; ?>
<?php unset($__attributesOriginalfbfec00c917bef93a2c89d9179a06df5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfbfec00c917bef93a2c89d9179a06df5)): ?>
<?php $component = $__componentOriginalfbfec00c917bef93a2c89d9179a06df5; ?>
<?php unset($__componentOriginalfbfec00c917bef93a2c89d9179a06df5); ?>
<?php endif; ?></span>
                        </div>
                        <ul class="tw-list-none tw-flex tw-flex-wrap tw-items-center tw-gap-2 tw-p-0 tw-m-0 tw-mb-6">
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'facebook')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-[#0A65CC] hover:tw-bg-[#0A65CC] hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                    <?php if (isset($component)) { $__componentOriginal8f88b92fb9cdfcc3266118717caffb61 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8f88b92fb9cdfcc3266118717caffb61 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.new-facebook-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.new-facebook-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal8f88b92fb9cdfcc3266118717caffb61)): ?>
<?php $attributes = $__attributesOriginal8f88b92fb9cdfcc3266118717caffb61; ?>
<?php unset($__attributesOriginal8f88b92fb9cdfcc3266118717caffb61); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8f88b92fb9cdfcc3266118717caffb61)): ?>
<?php $component = $__componentOriginal8f88b92fb9cdfcc3266118717caffb61; ?>
<?php unset($__componentOriginal8f88b92fb9cdfcc3266118717caffb61); ?>
<?php endif; ?>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'pinterest')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-[#0A65CC] hover:tw-bg-[#0A65CC] hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                    <?php if (isset($component)) { $__componentOriginal2fe53bef5eff6674c05910535397c0e3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2fe53bef5eff6674c05910535397c0e3 = $attributes; } ?>
<?php $component = App\View\Components\Svg\PinterestIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.pinterest-icon'); ?>
<?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\Svg\PinterestIcon::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($__attributesOriginal2fe53bef5eff6674c05910535397c0e3)): ?>
<?php $attributes = $__attributesOriginal2fe53bef5eff6674c05910535397c0e3; ?>
<?php unset($__attributesOriginal2fe53bef5eff6674c05910535397c0e3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2fe53bef5eff6674c05910535397c0e3)): ?>
<?php $component = $__componentOriginal2fe53bef5eff6674c05910535397c0e3; ?>
<?php unset($__componentOriginal2fe53bef5eff6674c05910535397c0e3); ?>
<?php endif; ?>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'twitter')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                    <?php if (isset($component)) { $__componentOriginalceb10757c371be92d54d23fb6aa0e339 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalceb10757c371be92d54d23fb6aa0e339 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.new-twitter-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.new-twitter-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginalceb10757c371be92d54d23fb6aa0e339)): ?>
<?php $attributes = $__attributesOriginalceb10757c371be92d54d23fb6aa0e339; ?>
<?php unset($__attributesOriginalceb10757c371be92d54d23fb6aa0e339); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalceb10757c371be92d54d23fb6aa0e339)): ?>
<?php $component = $__componentOriginalceb10757c371be92d54d23fb6aa0e339; ?>
<?php unset($__componentOriginalceb10757c371be92d54d23fb6aa0e339); ?>
<?php endif; ?>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'whatsapp')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                    <?php if (isset($component)) { $__componentOriginalc1a50ae9d99329e7d16af928a58af8ea = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1a50ae9d99329e7d16af928a58af8ea = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.whatsapp-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.whatsapp-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginalc1a50ae9d99329e7d16af928a58af8ea)): ?>
<?php $attributes = $__attributesOriginalc1a50ae9d99329e7d16af928a58af8ea; ?>
<?php unset($__attributesOriginalc1a50ae9d99329e7d16af928a58af8ea); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1a50ae9d99329e7d16af928a58af8ea)): ?>
<?php $component = $__componentOriginalc1a50ae9d99329e7d16af928a58af8ea; ?>
<?php unset($__componentOriginalc1a50ae9d99329e7d16af928a58af8ea); ?>
<?php endif; ?>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'linkedin')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                   <?php if (isset($component)) { $__componentOriginal49dc423527bab5b91da6a32dce69b923 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal49dc423527bab5b91da6a32dce69b923 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.linkedin-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.linkedin-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal49dc423527bab5b91da6a32dce69b923)): ?>
<?php $attributes = $__attributesOriginal49dc423527bab5b91da6a32dce69b923; ?>
<?php unset($__attributesOriginal49dc423527bab5b91da6a32dce69b923); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal49dc423527bab5b91da6a32dce69b923)): ?>
<?php $component = $__componentOriginal49dc423527bab5b91da6a32dce69b923; ?>
<?php unset($__componentOriginal49dc423527bab5b91da6a32dce69b923); ?>
<?php endif; ?>
                                </a>
                            </li>

                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'mail')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                   <?php if (isset($component)) { $__componentOriginalc487f870e534fbbd52268a737feaaf71 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc487f870e534fbbd52268a737feaaf71 = $attributes; } ?>
<?php $component = App\View\Components\Svg\MailIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.mail-icon'); ?>
<?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\Svg\MailIcon::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($__attributesOriginalc487f870e534fbbd52268a737feaaf71)): ?>
<?php $attributes = $__attributesOriginalc487f870e534fbbd52268a737feaaf71; ?>
<?php unset($__attributesOriginalc487f870e534fbbd52268a737feaaf71); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc487f870e534fbbd52268a737feaaf71)): ?>
<?php $component = $__componentOriginalc487f870e534fbbd52268a737feaaf71; ?>
<?php unset($__componentOriginalc487f870e534fbbd52268a737feaaf71); ?>
<?php endif; ?>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'telegram')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                   <?php if (isset($component)) { $__componentOriginal463509b2fcf781f29ae2db7f21948bf7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal463509b2fcf781f29ae2db7f21948bf7 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.telegram-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.telegram-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal463509b2fcf781f29ae2db7f21948bf7)): ?>
<?php $attributes = $__attributesOriginal463509b2fcf781f29ae2db7f21948bf7; ?>
<?php unset($__attributesOriginal463509b2fcf781f29ae2db7f21948bf7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal463509b2fcf781f29ae2db7f21948bf7)): ?>
<?php $component = $__componentOriginal463509b2fcf781f29ae2db7f21948bf7; ?>
<?php unset($__componentOriginal463509b2fcf781f29ae2db7f21948bf7); ?>
<?php endif; ?>
                                </a>
                            </li>

                            <li>
                                <a href="javascript:void(0);" onclick="openPopUp('<?php echo e(socialMediaShareLinks(url()->current(), 'skype')); ?>')"
                                    class="tw-inline-flex tw-bg-[#E7F0FA] tw-text-primary-500 hover:tw-bg-primary-500 hover:tw-text-white tw-rounded-[4px] tw-p-2.5">
                                   <?php if (isset($component)) { $__componentOriginal3b5a42ba91b61a17c5190c1e3633a710 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3b5a42ba91b61a17c5190c1e3633a710 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.skype-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.skype-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal3b5a42ba91b61a17c5190c1e3633a710)): ?>
<?php $attributes = $__attributesOriginal3b5a42ba91b61a17c5190c1e3633a710; ?>
<?php unset($__attributesOriginal3b5a42ba91b61a17c5190c1e3633a710); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3b5a42ba91b61a17c5190c1e3633a710)): ?>
<?php $component = $__componentOriginal3b5a42ba91b61a17c5190c1e3633a710; ?>
<?php unset($__componentOriginal3b5a42ba91b61a17c5190c1e3633a710); ?>
<?php endif; ?>
                                </a>
                            </li>
                        </ul>
                    </div>
                </article>

                <div class="comments-elemenst rt-pt-100 rt-pt-md-50" id="comments">
                    <h6 class="rt-mb-32"><?php echo e(__('write_a_comment')); ?></h6>
                    <form action="<?php echo e(route('website.comment', $post->slug)); ?>" class="rt-mb-50" method="post">
                        <?php echo csrf_field(); ?>
                        <textarea rows="4" name="body" placeholder="<?php echo e(__('share_your_thoughts_on_this_post')); ?>?" class="rt-mb-15"></textarea>
                        <?php if(auth()->guard()->check()): ?>
                            <button type="submit" class="btn btn-primary"><?php echo e(__('post_a_comment')); ?></button>
                        <?php else: ?>
                            <button type="submit"
                                class="btn btn-primary login_required"><?php echo e(__('post_a_comment')); ?></button>
                        <?php endif; ?>
                    </form>
                    <ul class="comments-list rt-list">
                        <?php $__empty_1 = true; $__currentLoopData = $post->comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <li class="single-comments">
                                <div class="rt-single-icon-box rt-mb-15">
                                    <div class="icon-thumb rt-mr-16">
                                        <div class="user-img">
                                            <img src="<?php echo e(url($comment->user->image)); ?>" alt="Image" class="!tw-object-cover !tw-w-12 !tw-h-12 !tw-rounded-full">
                                        </div>
                                    </div>
                                    <div class="iconbox-content body-font-3 text-gray-700">
                                        <a class="user-name ft-wt-5 rt-mb-4 text-gray-900 hover:text-primary-500"
                                            href="#"><?php echo e($comment->user->name); ?></a>
                                        <span
                                            class="d-block body-font-4 text-gray-500"><?php echo e($comment->created_at->diffForHumans()); ?></span>
                                    </div>
                                </div>
                                <div class="body-font-3 text-gray-700">
                                    <?php echo nl2br($comment->body); ?>

                                </div>
                                <div class="body-font-4 mt-3">
                                    <button id="replies-<?php echo e($comment->id); ?>" data-id="<?php echo e($comment->id); ?>"
                                        class="btn btn-sm reply tw-p-0 tw-inline-flex tw-gap-2 tw-items-center tw-text-[#0A65CC]"
                                        onclick="showHideForm('reply-<?php echo e($comment->id); ?>')">
                                        <span>
                                            <?php if (isset($component)) { $__componentOriginala4b4836d9741543c92bf37e823149e6b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginala4b4836d9741543c92bf37e823149e6b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.reply-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('svg.reply-icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginala4b4836d9741543c92bf37e823149e6b)): ?>
<?php $attributes = $__attributesOriginala4b4836d9741543c92bf37e823149e6b; ?>
<?php unset($__attributesOriginala4b4836d9741543c92bf37e823149e6b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginala4b4836d9741543c92bf37e823149e6b)): ?>
<?php $component = $__componentOriginala4b4836d9741543c92bf37e823149e6b; ?>
<?php unset($__componentOriginala4b4836d9741543c92bf37e823149e6b); ?>
<?php endif; ?>
                                        </span>
                                        <span><?php echo e(__('reply')); ?></span>
                                    </button>
                                    <form id="reply-<?php echo e($comment->id); ?>"
                                        action="<?php echo e(route('website.comment', $post->slug)); ?>" class="rt-mb-50 d-none"
                                        method="post">
                                        <?php echo csrf_field(); ?>
                                        <div class="tw-flex tw-gap-4 tw-justify-between tw-items-center tw-pt-4">
                                            <div class="tw-w-[50px] tw-h-[50px] tw-overflow-hidden">
                                                <img src="<?php echo e(url($comment->user->image)); ?>" alt="user" class="tw-w-full tw-h-full tw-rounded-full tw-object-cover">
                                            </div>
                                            <textarea rows="1" name="body" placeholder="<?php echo e(__('share_your_thoughts_on_this_comment')); ?>?" class="tw-py-3 tw-px-[18px]"></textarea>
                                            <input type="hidden" name="parent_id" value="<?php echo e($comment->id); ?>">
                                            <?php if(auth()->guard('user')->check()): ?>
                                                <button type="submit" class="btn btn-primary btn-inline">
                                                    <?php echo e(__('post_a_reply')); ?>

                                                </button>
                                            <?php else: ?>
                                                <button type="submit"
                                                    class="btn btn-primary tw-overflow-visible login_required">
                                                    Post Reply
                                                </button>
                                            <?php endif; ?>
                                        </div>
                                        <hr>
                                    </form>
                                </div>
                                <?php if(count($comment->replies) > 0): ?>
                                    <?php $__currentLoopData = $comment->replies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reply): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="single-comments">
                                <div class="rt-single-icon-box rt-mb-15">
                                    <div class="icon-thumb rt-mr-16">
                                        <div class="user-img">
                                            <img src="<?php echo e(url($reply->user->image)); ?>" alt="user" class="object-fit-contain !tw-w-16 !tw-h-16 !tw-rounded-full">
                                        </div>
                                    </div>
                                    <div class="iconbox-content body-font-3 text-gray-700">
                                        <a class="user-name ft-wt-5 rt-mb-4 text-gray-900 hover:text-primary-500"
                                            href="#"><?php echo e($reply->user->name); ?></a>
                                        <span
                                            class="d-block body-font-4 text-gray-500"><?php echo e($reply->created_at->diffForHumans()); ?></span>
                                    </div>
                                </div>
                                <div class="body-font-3 text-gray-700">
                                    <?php echo nl2br($reply->body); ?>

                                </div>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endif; ?>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <p><?php echo e(__('no_comments')); ?></p>
                        <?php endif; ?>
                    </ul>
                    <div class="rt-spacer-24"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="rt-spacer-80 rt-spacer-md-40"></div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    <script>
        function showHideForm(id) {
            var value = document.getElementById(id).style.display;
            var button = '#replies-' + id.slice(-1);
            if (value == 'none') {
                document.getElementById(id).classList.add('d-none');
                $(button).hide();
            } else {
                document.getElementById(id).classList.remove('d-none');
                $(button).show();
            }
        }
    </script>
    <script>
        function applyJobb(id, name) {
            $('#cvModal').modal('show');
            $('#apply_job_id').val(id);
            $('#apply_job_title').text(name);
        }

        function copyToClipboard(text) {
            var sampleTextarea = document.createElement("textarea");
            document.body.appendChild(sampleTextarea);
            sampleTextarea.value = text; //save main text in it
            sampleTextarea.select(); //select textarea contenrs
            document.execCommand("copy");
            document.body.removeChild(sampleTextarea);
        }

        function copyUrl(value) {
            copyToClipboard(value);
            alert('Copyied to clipboard')
        }
    </script>
    <script>
        function openPopUp(link) {
            var popupWidth = 600;
            var popupHeight = 400;
    
            var left = (window.innerWidth - popupWidth) / 2 + window.screenX;
            var top = (window.innerHeight - popupHeight) / 2 + window.screenY;
    
            window.open(link, 'popup', 'width=' + popupWidth + ',height=' + popupHeight + ',left=' + left + ',top=' + top);
    
        }
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u470884714/domains/qjobsbd.com/public_html/resources/views/frontend/pages/post.blade.php ENDPATH**/ ?>