<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo $__env->yieldContent('title', 'HR Management'); ?></title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
    <?php
        $manifestExists = file_exists(public_path('build/manifest.json'));
    ?>
    <?php if($manifestExists): ?>
        <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>
    <?php else: ?>
        <style>
            <?php echo file_get_contents(resource_path('css/app.css')); ?>

        </style>
    <?php endif; ?>
    <?php echo $__env->yieldPushContent('head'); ?>
</head>

<body class="antialiased">
    <?php
        $navItems = [
            [
                'label' => 'Dashboard',
                'route' => 'admin.dashboard',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 12.5V20a1 1 0 0 0 1 1h4v-6h6v6h4a1 1 0 0 0 1-1v-7.5a1 1 0 0 0-.37-.77L12.64 4.8a1 1 0 0 0-1.28 0L4.37 11.73a1 1 0 0 0-.37.77Z" /></svg>',
            ],
            [
                'label' => 'Employees',
                'route' => 'admin.employees',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm-7 8.5a7 7 0 0 1 14 0V21H5Z" /></svg>',
            ],
            [
                'label' => 'Job Management',
                'route' => 'admin.jobs',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 7h3l1-2h6l1 2h3a2 2 0 0 1 2 2v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a2 2 0 0 1 2-2Zm7 4a3 3 0 1 0 3 3 3 3 0 0 0-3-3Z" /></svg>',
            ],
            [
                'label' => 'Applications',
                'route' => 'admin.applications',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 4h9l5 5v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm6 9H8v2h4Zm4-4H8v2h8Z" /></svg>',
            ],
            [
                'label' => 'Attendance',
                'route' => 'admin.attendance',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M18 3h1a2 2 0 0 1 2 2v14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V5a2 2 0 0 1 2-2h1V1h2v2h8V1h2Zm1 10H5v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1Zm-5 1v2h-4v-2Z" /></svg>',
            ],
            [
                'label' => 'Shifts',
                'route' => 'admin.shifts',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a9 9 0 1 1-9 9 9 9 0 0 1 9-9Zm1 4h-2v6l5 3 1-1.73-4-2.27Z" /></svg>',
            ],
            [
                'label' => 'Payroll & Reports',
                'route' => 'admin.payroll',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 4h14a2 2 0 0 1 2 2v3H3V6a2 2 0 0 1 2-2Zm-2 7h18v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Zm4 2v4h2v-4Zm4 0v4h2v-4Zm4 0v4h2v-4Z" /></svg>',
            ],
            [
                'label' => 'Analytics',
                'route' => 'admin.analytics',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3v18h14v2H3V3Zm14 4h2v14h-2Zm-4 4h2v10h-2Zm-4 3h2v7h-2Zm-4 2h2v5H7Z" /></svg>',
            ],
            [
                'label' => 'Settings',
                'route' => 'admin.settings',
                'icon' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m21.6 12.8-1.45-.83a7.37 7.37 0 0 0 .05-1l1.4-.8L20.5 7l-1.56.9a7.25 7.25 0 0 0-1.68-.98L17 5h-3l-.25 1.84a7.2 7.2 0 0 0-1.5.87L10.6 6 8 8.6l1.7 1.66a7.37 7.37 0 0 0-.11 1.54l-1.89 1.1L8.5 17l2-.4a7.4 7.4 0 0 0 1.34 1.2L11.5 20h3l.3-1.64a7.45 7.45 0 0 0 1.79-.81L18.5 19l2.5-2.5Zm-7.6.2a2 2 0 1 1 2-2 2 2 0 0 1-2 2Z" /></svg>',
            ],
        ];
    ?>
    <div class="app-shell">
        <aside class="sidebar">
            <div class="sidebar__brand">
                <div class="logo-mark">HR</div>
                <div>
                    <p>HR Management</p>
                    <span>Admin Panel</span>
                </div>
            </div>
            <nav class="sidebar__nav">
                <?php $__currentLoopData = $navItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <a href="<?php echo e(route($item['route'])); ?>"
                        class="nav-link <?php echo e(request()->routeIs($item['route']) ? 'active' : ''); ?>">
                        <span class="nav-icon"><?php echo $item['icon']; ?></span>
                        <?php echo e($item['label']); ?>

                    </a>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </nav>
            <div class="sidebar__user">
                <div class="avatar">HR</div>
                <div>
                    <p>Admin User</p>
                    <span>hr@company.com</span>
                </div>
            </div>
        </aside>
        <main class="main">
            <div class="main__inner">
                <?php echo $__env->yieldContent('content'); ?>
            </div>
        </main>
    </div>
    <?php echo $__env->yieldPushContent('scripts'); ?>
</body>

</html>

<?php /**PATH C:\Users\HP15s-fd\Desktop\Figma hr\hr-admin\resources\views/layouts/admin.blade.php ENDPATH**/ ?>