<div>
    <?php $__env->startPush('schema'); ?>
    <script type="application/ld+json">
        <?php echo json_encode($schema); ?>

    </script>
    <?php $__env->stopPush(); ?>
    <!-- Title Bar -->
	<div class="pbmit-title-bar-wrapper">
		<div class="container">
			<div class="pbmit-title-bar-content">
				<div class="pbmit-title-bar-content-inner">
					<div class="pbmit-tbar">
						<div class="pbmit-tbar-inner container">
							<h1 class="pbmit-tbar-title"> <?php echo e($blog->title); ?></h1>
						</div>
					</div>
					<div class="pbmit-breadcrumb">
						<div class="pbmit-breadcrumb-inner">
							<span>
								<a title="" href="<?php echo e(route('home')); ?>" class="home"><span>Home</span></a>
							</span>
							<span class="sep"></span>
							<span>
								<a title="" href="<?php echo e(route('blogs')); ?>"><span>Blogs</span></a>
							</span>
							<span class="sep"></span>
							<span><span class="post-root post post-post current-item"> <?php echo e(Str::limit($blog->title, 20)); ?></span></span>
						</div>
					</div>
				</div>
			</div> 
		</div> 
	</div>
	<!-- Title Bar End-->

	<!-- Page Content -->
	<div class="page-content"> 

		<!-- Blog Single Details -->
		<section class="site-content blog-details">
			<div class="container">
				<div class="row">
					<div class="col-md-9 blog-left-col">
						<div class="row">
							<div class="col-md-12">
								<article>
									<div class="post blog-classic"> 
										<div class="pbmit-img-wrapper">
											<div class="pbmit-featured-img-wrapper">
												<div class="pbmit-featured-wrapper">
													<img src="<?php echo e($blog->image); ?>" class="img-fluid" alt="<?php echo e($blog->title); ?>">
												</div>
											</div>  
											<span class="pbmit-meta pbmit-meta-date">
												<span class="pbmit-date"><?php echo e($blog->created_at->format('d')); ?></span>
												<span class="pbmit-month"><?php echo e($blog->created_at->format('M')); ?></span>
											</span>
										</div>
										<div class="pbmit-blog-classic-inner">
											<div class="pbmit-blog-meta pbmit-blog-meta-top">
												<span class="pbmit-meta pbmit-meta-author">by <a class="pbmit-author-link" href="#"><?php echo e($blog->user->name ?? 'Admin'); ?></a>
												</span>	
												<span class="pbmit-meta pbmit-meta-cat">
													<a href="#" rel="bookmark"><?php echo e($blog->category->name ?? 'Uncategorized'); ?></a>
												</span>
												<span class="pbmit-meta pbmit-meta-comments">
													<?php echo e($blog->comments->count()); ?> Comments
												</span>
											</div>
											<h3 class="pbmit-post-title">
												<a href="#"><?php echo e($blog->title); ?></a>
											</h3>
											<div class="pbmit-entry-content">
                                                <?php echo $blog->content; ?>

											</div>
											<div class="pbmit-blog-meta-bottom">
												<div class="pbmit-blog-meta-bottom-left">
													<ul class="tagcloud">
                                                        <!-- Assuming meta_keywords are comma separated -->
                                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($blog->meta_keywords): ?>
                                                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = explode(',', $blog->meta_keywords); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $keyword): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
														        <li><a href="#"><?php echo e(trim($keyword)); ?></a></li>
                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
													</ul>
												</div>
												<div class="pbmit-blog-meta-bottom-right">
													<div class="pbmit-social-share">
														<ul>
															<li class="pbmit-social-li pbmit-social-li-facebook">
																<a class="pbmit-popup" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url()->current()); ?>" target="_blank" title="Share on Facebook">
																	<i class="pbmit-base-icon-facebook-squared"></i>
																</a>
															</li>
															<li class="pbmit-social-li pbmit-social-li-twitter">
																<a class="pbmit-popup" href="https://twitter.com/intent/tweet?text=<?php echo e(urlencode($blog->title)); ?>&url=<?php echo e(url()->current()); ?>" target="_blank" title="Share on X (Twitter)">
																	<i class="pbmit-base-icon-twitter-2"></i>
																</a>
															</li>
															<li class="pbmit-social-li pbmit-social-li-linkedin">
																<a class="pbmit-popup" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo e(url()->current()); ?>&title=<?php echo e(urlencode($blog->title)); ?>" target="_blank" title="Share on LinkedIn">
																	<i class="pbmit-base-icon-linkedin-squared"></i>
																</a>
															</li>
														</ul>
													</div>
												</div>
											</div>
										</div>   
									</div> 
									<nav class="navigation post-navigation" aria-label="Posts">
										<div class="nav-links">
                                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($previousBlog): ?>
											<div class="nav-previous">
												<a href="<?php echo e(route('blog.detail', $previousBlog->slug)); ?>" rel="prev">
													<span class="pbmit-post-nav-icon">
														<i class="pbmit-base-icon-arrow-left"></i>
														<span class="pbmit-post-nav-head">Previous Post</span>
													</span>
													<span class="pbmit-post-nav-wrapper">
														<span class="pbmit-post-nav nav-title"><?php echo e(Str::limit($previousBlog->title, 40)); ?></span> 
													</span>
												</a>
											</div>
                                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($nextBlog): ?>
											<div class="nav-next">
												<a href="<?php echo e(route('blog.detail', $nextBlog->slug)); ?>" rel="next">
													<span class="pbmit-post-nav-icon">
														<span class="pbmit-post-nav-head">Next Post</span>
														<i class="pbmit-base-icon-arrow-right"></i>
													</span>
													<span class="pbmit-post-nav-wrapper">
														<span class="pbmit-post-nav nav-title"><?php echo e(Str::limit($nextBlog->title, 40)); ?></span> 
													</span>
												</a>
											</div>
                                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
										</div>
									</nav>
									<div class="pbmit-author-box">
										<div class="pbmit-author-image">
										   <img alt="" src="<?php echo e($blog->user->profile_photo_url ?? asset('assets/images/avatar.png')); ?>" class="img-fluid">			
										</div>
										<div class="pbmit-author-content">
										   <span class="pbmit-author-name">
										  	 <a href="#" title="Posted by <?php echo e($blog->user->name); ?>" rel="author"><?php echo e($blog->user->name ?? 'Admin'); ?></a>
										   </span>
										   <p class="pbmit-text pbmit-author-bio">
                                               
                                               Author at Dumes.
                                           </p>
										</div>
									</div>
								</article>
								<div class="comments-area">
									<h2 class="comments-title"><?php echo e($blog->comments->count()); ?> Replies to “<?php echo e($blog->title); ?>”</h2>
                                    
									<ul class="comment-list">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $blog->comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
										<li class="comment depth-1">
											<div class="pbmit-comment">
												<div class="pbmit-comment-avatar">
													<img src="https://ui-avatars.com/api/?name=<?php echo e(urlencode($comment->name)); ?>&background=random" class="img-fluid" alt="">
												</div>
												<div class="pbmit-comment-content">
													<div class="pbmit-comment-meta">
														<span class="pbmit-comment-author">by
															<span class="pbmit-comment-author-inner">
																<a href="#"><?php echo e($comment->name); ?></a>
															</span>
														</span>
														<span class="pbmit-comment-date">
															<a href="#"><?php echo e($comment->created_at->diffForHumans()); ?></a>
														</span>
													</div>
													<p><?php echo e($comment->content); ?></p>
													<div class="reply">
														<a href="#comment-form">Reply</a>
													</div>
												</div>
											</div>
										</li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
									</ul>

									<div class="comment-respond pbmit-bg-color-light">
										<h3 class="comment-reply-title">Leave a Reply </h3>
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session()->has('success_comment')): ?>
                                            <div class="alert alert-success">
                                                <?php echo e(session('success_comment')); ?>

                                            </div>
                                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
										<div class="comment-form">
											<p class="comment-notes">Your email address will not be published. Required fields are marked *</p>
											<form class="contact-form" wire:submit.prevent="saveComment">
												<div class="row">
													<div class="col-sm-12">
														<label for="comment">Comment <span class="required">*</span></label>
														<textarea required="" class="form-control" id="comment" wire:model="comment" cols="45" rows="8"></textarea>
                                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['comment'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
													</div>
													<div class="col-sm-12"> 
														<label for="author">Name <span class="required">*</span></label>
														<input id="author" type="text" class="form-control" wire:model="name" required>
                                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
													</div>
													<div class="col-sm-12"> 
														<label for="email">Email <span class="required">*</span></label>
														<input id="email" class="form-control" wire:model="email" type="email" required>
                                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
													</div>
                                                   
													<div class="col-sm-12"> 
														<button type="submit" class="submit-btn pbmit-btn">
															<span class="form-btn-loader d-none">
                                                                <!-- Loading SVG -->
															</span>
															<span>Post Comment</span>
														</button>
                                                        <div wire:loading wire:target="saveComment">Posting...</div>
													</div>
												</div>
											</form>
										</div>
									</div>
								</div>
							</div> 
						</div>
					</div>
					<div class="col-md-3 blog-right-col">
						<aside class="sidebar">
							<aside class="widget widget-search">
								<form class="search-form">
									<input placeholder="Search …" value="" name="s" type="search">
									<button type="button" class="search-submit"></button>
								</form>
							</aside>
							
							<aside class="widget widget-categories">
								<h2 class="widget-title">Categories</h2>
								<ul>
                                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<li>
										<span class="pbmit-cat-li">
											<a href="#"><?php echo e($category->name); ?></a>
											<span class="pbmit-brackets">( <?php echo e($category->blogs_count); ?> )</span>
										</span>
									</li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
								</ul>
							</aside>
							<aside class="widget widget-recent-post">
								<h2 class="widget-title">Recent Post</h2>
								<ul class="recent-post-list">
                                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $recentBlogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rBlog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<li class="recent-post-list-li"> 
										<a class="recent-post-thum" href="<?php echo e(route('blog.detail', $rBlog->slug)); ?>">
											<img src="<?php echo e($rBlog->image); ?>" class="img-fluid" alt="<?php echo e($rBlog->title); ?>">
										</a>
										<div class="pbmit-rpw-content">
											<span class="pbmit-rpw-title">
												<a href="<?php echo e(route('blog.detail', $rBlog->slug)); ?>"><?php echo e($rBlog->title); ?></a>
											</span>
											<span class="pbmit-rpw-date">
												<a href="<?php echo e(route('blog.detail', $rBlog->slug)); ?>"><?php echo e($rBlog->created_at->format('d M Y')); ?></a>
											</span>
										</div> 
									</li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
								</ul>
							</aside> 
							
							<aside class="widget widget-tag-cloud">
								<h3 class="widget-title">Tag Cloud</h3>
								<ul class="tagcloud">
                                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(isset($tags) && $tags->count() > 0): ?>
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									        <li><a href="<?php echo e(route('blogs', ['tag' => $tag])); ?>"><?php echo e($tag); ?></a></li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    <?php else: ?>
                                        <li>No unique tags</li>
                                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
								</ul>
							</aside> 
						</aside>
					</div>
				</div>
			</div>
		</section>
		<!-- Blog Single Details End -->
		
	</div>
</div>
<?php /**PATH /Applications/XAMPP/xamppfiles/htdocs/Dumes/resources/views/livewire/blog-detail-component.blade.php ENDPATH**/ ?>