New layouts

This commit is contained in:
Mark Gregory
2026-06-11 11:24:12 +01:00
parent af25555ca4
commit eced2487d4
116 changed files with 7569 additions and 475 deletions
@@ -1,5 +1,15 @@
<x-layouts::app :title="__('Platform')">
<div class="space-y-6">
<x-wms.page-hero
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'],
]"
/>
<section class="grid gap-4 sm:grid-cols-2 xl:grid-cols-5">
@foreach ([['Companies', $companiesCount], ['Active', $activeCompaniesCount], ['Warehouses', $warehousesCount], ['Prices', $pricesCount], ['Licences', $licensesCount]] as [$label, $value])
<article class="rounded-2xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">