
<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Synpa — Synergo Portal</title>
    <meta name="description" content="Synpa — Single Sign-On Application Portal by Synergo">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    
    <meta name="theme-color" content="#005bc1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="apple-mobile-web-app-title" content="Synpa">
    <link rel="manifest" href="<?php echo e(asset('manifest.json')); ?>">
    <link rel="apple-touch-icon" href="<?php echo e(asset('icons/icon-192.png')); ?>">

    
    <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=Plus+Jakarta+Sans:wght@700;800&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">

    
    <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">

    
    <link rel="stylesheet" href="<?php echo e(asset('css/portal.css')); ?>">
</head>

<body class="portal-body">

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

    
    <header class="portal-header">
        <div class="portal-header-inner">
            <div class="portal-logo">
                <div class="portal-logo-avatar">
                    <?php echo e(strtoupper(substr(Auth::user()->name, 0, 1))); ?>

                </div>
                <span class="portal-logo-text">Synergy Portal</span>
            </div>
            <button class="portal-header-action" onclick="document.getElementById('portalSearch')?.focus()">
                <span class="material-symbols-outlined">search</span>
            </button>
        </div>
    </header>

    
    <main class="portal-main">
        <?php echo $__env->yieldContent('content'); ?>
    </main>

    
    <nav class="portal-nav">
        <button class="portal-nav-item active" data-tab="home">
            <span class="material-symbols-outlined filled">home</span>
            <span class="nav-label">Home</span>
        </button>
        <button class="portal-nav-item" data-tab="apps">
            <span class="material-symbols-outlined">apps</span>
            <span class="nav-label">Apps</span>
        </button>
        <button class="portal-nav-item" data-tab="profile">
            <span class="material-symbols-outlined">person</span>
            <span class="nav-label">Profile</span>
        </button>
        <button class="portal-nav-item" data-tab="settings">
            <span class="material-symbols-outlined">settings</span>
            <span class="nav-label">Settings</span>
        </button>
    </nav>

    
    <?php if(session('status')): ?>
        <div class="portal-toast success" id="portalToast">
            <span class="portal-toast-icon material-symbols-outlined">check_circle</span>
            <span class="portal-toast-text"><?php echo e(session('status')); ?></span>
            <button class="portal-toast-close">
                <span class="material-symbols-outlined" style="font-size:1.125rem">close</span>
            </button>
        </div>
    <?php endif; ?>

    <?php if($errors->any()): ?>
        <div class="portal-toast error" id="portalToastError">
            <span class="portal-toast-icon material-symbols-outlined">error</span>
            <span class="portal-toast-text">
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php echo e($error); ?><br>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </span>
            <button class="portal-toast-close">
                <span class="material-symbols-outlined" style="font-size:1.125rem">close</span>
            </button>
        </div>
    <?php endif; ?>

    
    <script src="<?php echo e(asset('js/portal.js')); ?>"></script>

    
    <script>
        if ('serviceWorker' in navigator) {
            navigator.serviceWorker.register('/sw.js')
                .then(reg => console.log('SW registered:', reg.scope))
                .catch(err => console.warn('SW registration failed:', err));
        }
    </script>
</body>

</html>
<?php /**PATH /home/sppsynergo/public_html/sso.synergo.id/resources/views/portal/layout.blade.php ENDPATH**/ ?>