<style>

</style>

<aside class="sidebar">
    <div class="category-section">
        <h3>Categories</h3>
        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="category-card">
            <a href="<?php echo e(route('category', $category->slug)); ?>">
                <?php echo e($category->name); ?> <span>(<?php echo e(count($category->titles)); ?>)</span>
            </a>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <div class="popular-posts">
        <h3>Popular Posts</h3>
        <ul>
            <?php $__currentLoopData = $popularPosts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li><a href="<?php echo e(route('blog.details', $post->slug)); ?>"><?php echo e(Str::limit($post->title, 50)); ?></a></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>

    <div class="recent-posts">
        <h3>Recent Posts</h3>
        <ul>
            <?php $__currentLoopData = $recentPosts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li><a href="<?php echo e(route('blog.details', $post->slug)); ?>"><?php echo e(Str::limit($post->title, 50)); ?></a></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>

    <div class="tags">
        <h3>Tags</h3>
        <?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <a href="<?php echo e(route('tag', $tag->slug)); ?>" class="tag-item"><?php echo e($tag->name); ?></a>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <div class="social-media">
        <h5>Social Media</h5>
        <div class="social-grid">
            <?php for($i = 0; $i < 6; $i++): ?>
            <div><img src="https://via.placeholder.com/100" alt="Social image <?php echo e($i+1); ?>"></div>
            <?php endfor; ?>
        </div>
    </div>
</aside>

<?php /**PATH A:\xamp102024\htdocs\sachin\androidwale.com\resources\views/frontend/layouts/sidebar.blade.php ENDPATH**/ ?>