@props([ 'title' => null, 'heading' => null, ]) @php /* | Icons are inline path data rather than an icon package: the portal needs | a handful, and a dependency for a handful of paths is not worth it. | | Only implemented destinations are listed — a nav item that leads to an | unbuilt page is worse than one that is not there yet. */ $nav = [ ['label' => 'Dashboard', 'route' => 'customer.dashboard', 'pattern' => 'customer.dashboard', 'icon' => 'M4 13h6V4H4v9Zm10 7h6v-9h-6v9ZM4 20h6v-4H4v4Zm10-11h6V4h-6v5Z'], ['label' => 'Devices', 'route' => 'customer.devices.index', 'pattern' => 'customer.devices.*', 'icon' => 'M4 5h16v10H4zM2 19h20M9 15v4m6-4v4'], ['label' => 'Locations', 'route' => 'customer.locations', 'pattern' => 'customer.locations', 'icon' => 'M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18ZM3.5 9h17m-17 6h17M12 3c2.5 2.7 3.8 5.7 3.8 9S14.5 18.3 12 21c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3Z'], ['label' => 'Subscription', 'route' => 'customer.subscription', 'pattern' => 'customer.subscription', 'icon' => 'M3 7h18v10H3zM3 11h18M7 15h3'], ['label' => 'Support', 'route' => 'customer.tickets.index', 'pattern' => 'customer.tickets.*', 'icon' => 'M21 12a9 9 0 1 1-3.2-6.9M21 4v5h-5'], ['label' => 'Settings', 'route' => 'customer.profile', 'pattern' => 'customer.profile', 'icon' => 'M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm7.4-3a7.4 7.4 0 0 0-.1-1.2l2-1.6-2-3.4-2.4 1a7.5 7.5 0 0 0-2-1.2l-.4-2.6h-4l-.4 2.6a7.5 7.5 0 0 0-2 1.2l-2.4-1-2 3.4 2 1.6a7.4 7.4 0 0 0 0 2.4l-2 1.6 2 3.4 2.4-1a7.5 7.5 0 0 0 2 1.2l.4 2.6h4l.4-2.6a7.5 7.5 0 0 0 2-1.2l2.4 1 2-3.4-2-1.6c.1-.4.1-.8.1-1.2Z'], ]; @endphp