New layouts
This commit is contained in:
@@ -11,6 +11,36 @@
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<div class="space-y-6">
|
||||
<?php if (isset($component)) { $__componentOriginal9c6e3f23e2ced4034a039852a77e1e96 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal9c6e3f23e2ced4034a039852a77e1e96 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.wms.page-hero','data' => ['eyebrow' => 'Platform','title' => 'Platform Dashboard','description' => 'System-level tenant, licensing, warehouse and pricing overview for MPBA administrators.','stats' => [
|
||||
['label' => 'Companies', 'value' => $companiesCount, 'icon' => 'fa-solid fa-building'],
|
||||
['label' => 'Active', 'value' => $activeCompaniesCount, 'icon' => 'fa-solid fa-circle-check'],
|
||||
['label' => 'Prices', 'value' => $pricesCount, 'icon' => 'fa-solid fa-tags'],
|
||||
]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('wms.page-hero'); ?>
|
||||
<?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(['eyebrow' => 'Platform','title' => 'Platform Dashboard','description' => 'System-level tenant, licensing, warehouse and pricing overview for MPBA administrators.','stats' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
|
||||
['label' => 'Companies', 'value' => $companiesCount, 'icon' => 'fa-solid fa-building'],
|
||||
['label' => 'Active', 'value' => $activeCompaniesCount, 'icon' => 'fa-solid fa-circle-check'],
|
||||
['label' => 'Prices', 'value' => $pricesCount, 'icon' => 'fa-solid fa-tags'],
|
||||
])]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal9c6e3f23e2ced4034a039852a77e1e96)): ?>
|
||||
<?php $attributes = $__attributesOriginal9c6e3f23e2ced4034a039852a77e1e96; ?>
|
||||
<?php unset($__attributesOriginal9c6e3f23e2ced4034a039852a77e1e96); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal9c6e3f23e2ced4034a039852a77e1e96)): ?>
|
||||
<?php $component = $__componentOriginal9c6e3f23e2ced4034a039852a77e1e96; ?>
|
||||
<?php unset($__componentOriginal9c6e3f23e2ced4034a039852a77e1e96); ?>
|
||||
<?php endif; ?>
|
||||
<section class="grid gap-4 sm:grid-cols-2 xl:grid-cols-5">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = [['Companies', $companiesCount], ['Active', $activeCompaniesCount], ['Warehouses', $warehousesCount], ['Prices', $pricesCount], ['Licences', $licensesCount]]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
|
||||
<article class="rounded-2xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">
|
||||
|
||||
Reference in New Issue
Block a user