<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'footerShops' => collect(),
    'siteStats' => [
        'shops' => 0,
        'products' => 0,
        'orders' => 0,
        'reels' => 0,
    ],
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
    'footerShops' => collect(),
    'siteStats' => [
        'shops' => 0,
        'products' => 0,
        'orders' => 0,
        'reels' => 0,
    ],
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<footer class="mt-5" id="about" style="background:#151515;color:#aaa;">
    <div class="container py-5">
        <div class="row g-4 align-items-start">
            <div class="col-lg-5">
                <h6 class="mb-1 fw-bold text-white">ShopSphere</h6>
                <p class="mb-2 small text-secondary">A marketplace where local shops can sell directly through COD orders.
                </p>
                <div class="d-flex gap-2 flex-wrap mt-2">
                    <span class="badge bg-dark border"><?php echo e($siteStats['shops']); ?> shops</span>
                    <span class="badge bg-dark border"><?php echo e($siteStats['products']); ?> products</span>
                    <span class="badge bg-dark border"><?php echo e($siteStats['orders']); ?> orders</span>
                    <span class="badge bg-dark border"><?php echo e($siteStats['reels']); ?> reels</span>
                </div>
            </div>

            <div class="col-lg-4">
                <h6 class="fw-semibold small text-uppercase text-secondary mb-2">Featured Shops</h6>
                <?php if($footerShops->isNotEmpty()): ?>
                    <ul class="list-unstyled mb-0 small">
                        <?php $__currentLoopData = $footerShops; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $shop): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="mb-1">
                                <a href="<?php echo e(route('storefront.shops.show', $shop)); ?>"
                                    class="text-decoration-none text-light">
                                    <?php echo e($shop->name); ?>

                                </a>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                <?php else: ?>
                    <p class="small text-secondary mb-0">No shops available right now.</p>
                <?php endif; ?>
            </div>

            <div class="col-lg-3 text-lg-end">
                <h6 class="fw-semibold small text-uppercase text-secondary mb-2">Explore</h6>
                <p class="small mb-1"><a href="<?php echo e(route('storefront.home')); ?>" class="text-light text-decoration-none">Home</a></p>
                <p class="small mb-1"><a href="<?php echo e(route('storefront.about')); ?>" class="text-light text-decoration-none">About</a></p>
                <p class="small mb-1"><a href="<?php echo e(route('storefront.contact')); ?>" class="text-light text-decoration-none">Contact</a></p>
                <p class="small text-secondary mb-0 mt-2">&copy; <?php echo e(now()->year); ?> ShopSphere</p>
            </div>
        </div>
    </div>
</footer>
<?php /**PATH C:\Users\Abdur Rahman\Desktop\faa\resources\views/components/frontend/footer.blade.php ENDPATH**/ ?>