<!DOCTYPE html>
<html lang="en" class="h-full">

<head>
    <?php echo $__env->make('layouts.partials.styles', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</head>

<body class="admin-body min-h-full">
    <?php
        $siteName = setting('site_name', '360Monica');
        $siteLogo = setting('site_logo');
        $navGroups = [
            [
                'label' => 'Dashboard',
                'single_link' => true,
                'items' => [
                    ['route' => 'admin.dashboard', 'match' => 'admin.dashboard', 'icon' => 'bi-grid-1x2', 'label' => 'Dashboard', 'permission' => 'dashboard'],
                ]
            ],
            [
                'label' => 'User Management',
                'items' => [
                    ['route' => 'admin.users.index', 'match' => 'admin.users.*', 'icon' => 'bi-person-badge', 'label' => 'Users', 'permission' => 'staff'],
                    ['route' => 'admin.customers.index', 'match' => 'admin.customers.*', 'icon' => 'bi-people', 'label' => 'Customers', 'permission' => 'customers'],
                    ['route' => 'admin.roles.index', 'match' => 'admin.roles.*', 'icon' => 'bi-key', 'label' => 'Roles', 'permission' => 'staff'],
                    ['route' => 'admin.permissions.index', 'match' => 'admin.permissions.*', 'icon' => 'bi-shield-lock', 'label' => 'Permission', 'permission' => 'staff'],
                ]
            ],
            [
                'label' => 'Product Management',
                'items' => [
                    ['route' => 'admin.products.index', 'match' => 'admin.products.*', 'icon' => 'bi-box-seam', 'label' => 'Products', 'permission' => 'products'],
                    ['route' => 'admin.categories.index', 'match' => 'admin.categories.*', 'icon' => 'bi-tags', 'label' => 'Category', 'permission' => 'products'],
                    ['route' => 'admin.subcategories.index', 'match' => 'admin.subcategories.*', 'icon' => 'bi-diagram-3', 'label' => 'Subcategory', 'permission' => 'products'],
                    ['route' => 'admin.brands.index', 'match' => 'admin.brands.*', 'icon' => 'bi-award', 'label' => 'Brand', 'permission' => 'products'],
                    ['route' => 'admin.units.index', 'match' => 'admin.units.*', 'icon' => 'bi-rulers', 'label' => 'Unit', 'permission' => 'products'],
                ]
            ],
            [
                'label' => 'Sales',
                'items' => [
                    ['route' => 'admin.orders.index', 'match' => 'admin.orders.*', 'icon' => 'bi-bag-check', 'label' => 'Orders', 'permission' => 'orders'],
                    ['route' => 'admin.payments.index', 'match' => 'admin.payments.*', 'icon' => 'bi-receipt', 'label' => 'Payments', 'permission' => 'payments'],
                ]
            ],
            [
                'label' => 'CMS',
                'items' => [
                    ['route' => 'admin.page-content.index', 'match' => 'admin.page-content.*', 'icon' => 'bi-file-earmark-text', 'label' => 'Page Content', 'permission' => 'content'],
                    ['route' => 'admin.faqs.index', 'match' => 'admin.faqs.*', 'icon' => 'bi-question-circle', 'label' => 'FAQ', 'permission' => 'content'],
                    ['route' => 'admin.slides.index', 'match' => 'admin.slides.*', 'icon' => 'bi-images', 'label' => 'Slide', 'permission' => 'content'],
                ]
            ],
            [
                'label' => 'Setting',
                'items' => [
                    ['route' => 'admin.settings.index', 'match' => 'admin.settings.*', 'icon' => 'bi-gear', 'label' => 'General setting', 'permission' => 'settings'],
                    ['route' => 'admin.shipping-methods.index', 'match' => 'admin.shipping-methods.*', 'icon' => 'bi-truck', 'label' => 'Shipping', 'permission' => 'settings'],
                    ['route' => 'admin.payment-methods.index', 'match' => 'admin.payment-methods.*', 'icon' => 'bi-credit-card', 'label' => 'Payment Method', 'permission' => 'payments'],
                ]
            ],
            [
                'label' => 'Reporting',
                'items' => [
                    ['route' => 'admin.reports.sales', 'match' => 'admin.reports.sales', 'icon' => 'bi-graph-up-arrow', 'label' => 'Sale report', 'permission' => 'reports'],
                    ['route' => 'admin.reports.products', 'match' => 'admin.reports.products', 'icon' => 'bi-bar-chart', 'label' => 'Products Report', 'permission' => 'reports'],
                ]
            ],
        ];
    ?>

    <div id="sidebar-overlay" class="admin-sidebar-overlay" onclick="AdminUI.toggleSidebar()"></div>
    <?php echo $__env->make('layouts.partials.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <div class="admin-shell">
        <?php echo $__env->make('layouts.partials.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

        <main class="admin-main">
            <?php echo $__env->make('layouts.partials.breadcrumb', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <?php if (isset($component)) { $__componentOriginalcb19cb35a534439097b02b8af91726ee = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcb19cb35a534439097b02b8af91726ee = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.page-header','data' => ['title' => trim($__env->yieldContent('page-title', $__env->yieldContent('title', 'Dashboard'))),'description' => trim($__env->yieldContent('page-description')) ?: null]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.page-header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(trim($__env->yieldContent('page-title', $__env->yieldContent('title', 'Dashboard')))),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(trim($__env->yieldContent('page-description')) ?: null)]); ?>
                <?php if (! empty(trim($__env->yieldContent('page-actions')))): ?>
                     <?php $__env->slot('actions', null, []); ?> <?php echo $__env->yieldContent('page-actions'); ?> <?php $__env->endSlot(); ?>
                <?php endif; ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcb19cb35a534439097b02b8af91726ee)): ?>
<?php $attributes = $__attributesOriginalcb19cb35a534439097b02b8af91726ee; ?>
<?php unset($__attributesOriginalcb19cb35a534439097b02b8af91726ee); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcb19cb35a534439097b02b8af91726ee)): ?>
<?php $component = $__componentOriginalcb19cb35a534439097b02b8af91726ee; ?>
<?php unset($__componentOriginalcb19cb35a534439097b02b8af91726ee); ?>
<?php endif; ?>

            <?php echo $__env->make('layouts.partials.alerts', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <div class="fade-in admin-content-surface">
                <?php echo $__env->yieldContent('content'); ?>
            </div>
        </main>

        <?php echo $__env->make('layouts.partials.footer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    </div>

    <?php echo $__env->make('layouts.partials.scripts', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</body>

</html><?php /**PATH /Users/mac/Documents/e-com/resources/views/layouts/admin.blade.php ENDPATH**/ ?>