<?php if (isset($component)) { $__componentOriginal1f9e5f64f242295036c059d9dc1c375c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1f9e5f64f242295036c059d9dc1c375c = $attributes; } ?>
<?php $component = App\View\Components\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

    <!-- Logic untuk menentukan waktu WIB -->
    <?php
        // Ambil jam saat ini di zona waktu WIB (format 24 jam)
        $hour = now('Asia/Jakarta')->format('H');
        
        if ($hour >= 5 && $hour < 12) {
            $greeting = 'Good morning';
        } elseif ($hour >= 12 && $hour < 18) {
            $greeting = 'Good afternoon';
        } elseif ($hour >= 18 && $hour < 22) {
            $greeting = 'Good evening';
        } else {
            $greeting = 'Good night';
        }
    ?>
    
    <!-- Wadah Luar -->
    <div class="flex flex-col items-center justify-center h-full min-h-[70vh]">
        
        <!-- Wadah Logo -->
        <div class="w-40 sm:w-56 md:w-72 lg:w-80 p-6 bg-white rounded-2xl shadow-sm border border-gray-100 flex items-center justify-center transition-all duration-300 hover:shadow-md">
            <!-- Gambar Logo -->
            <img 
                src="https://tailwindcss.com/plus-assets/img/logos/mark.svg?color=indigo&shade=600" 
                alt="Logo Symmapan" 
                class="w-full h-auto object-contain drop-shadow-sm"
            />
        </div>

        <!-- Teks sambutan dinamis (berubah sesuai waktu) -->
        <h2 class="mt-8 text-2xl font-bold text-slate-100 text-center">
            <?php echo e($greeting); ?>, Sir!
        </h2>
    </div>

 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1f9e5f64f242295036c059d9dc1c375c)): ?>
<?php $attributes = $__attributesOriginal1f9e5f64f242295036c059d9dc1c375c; ?>
<?php unset($__attributesOriginal1f9e5f64f242295036c059d9dc1c375c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1f9e5f64f242295036c059d9dc1c375c)): ?>
<?php $component = $__componentOriginal1f9e5f64f242295036c059d9dc1c375c; ?>
<?php unset($__componentOriginal1f9e5f64f242295036c059d9dc1c375c); ?>
<?php endif; ?><?php /**PATH C:\Users\Hype\Herd\symmapan\resources\views/dashboard.blade.php ENDPATH**/ ?>