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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'title',
    'description' => null,
    'icon' => 'fa-cube',
]));

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(([
    'title',
    'description' => null,
    'icon' => 'fa-cube',
]), '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); ?>



<div class="w-full" style="background-color: var(--theme-bg-sidebar);">

    
    <?php if(isset($backButton)): ?>
        <div class="px-6 pt-4">
            <?php echo e($backButton); ?>

        </div>
    <?php endif; ?>

    
    <div class="px-6 pt-6 <?php echo e(isset($tabs) || isset($actions) ? 'pb-0' : 'pb-6'); ?>">
        <div class="flex items-start justify-between gap-4">
            <div>
                <h1 class="text-2xl font-bold text-white flex items-center gap-3">
                    <i class="fas <?php echo e($icon); ?> text-white/80"></i>
                    <?php echo e($title); ?>

                </h1>
                <?php if($description): ?>
                    <p class="mt-1 text-sm text-white/70"><?php echo e($description); ?></p>
                <?php endif; ?>
            </div>
        </div>
    </div>

    
    <?php if(isset($tabs)): ?>
        <div class="mt-4 px-6" style="background: linear-gradient(90deg, #1a4731 0%, #276749 40%, #c53030 100%);">
            <nav class="flex items-center gap-1 overflow-x-auto" aria-label="Module navigation">
                <?php echo e($tabs); ?>

            </nav>
        </div>
    <?php endif; ?>

    
    <?php if(isset($actions)): ?>
        <div class="px-6 py-3 flex flex-wrap items-center gap-2">
            <?php echo e($actions); ?>

        </div>
    <?php endif; ?>

</div>
<?php /**PATH /home/www/sshia.org/sshia/resources/views/components/module-hero.blade.php ENDPATH**/ ?>