{{-- The scaffold, as a whole page: /material/shell and its sibling pages, so the rail, the bar, the modal rail and wire:navigate between pages can be tried at any window width. --}} @php $page ??= 'inbox'; $pages = [ 'inbox' => ['title' => 'Inbox', 'icon' => 'inbox', 'badge' => 12], 'starred' => ['title' => 'Starred', 'icon' => 'star'], 'sent' => ['title' => 'Sent', 'icon' => 'send'], 'drafts' => ['title' => 'Drafts', 'icon' => 'draft', 'badge' => true], 'travel' => ['title' => 'Travel', 'icon' => 'flight', 'section' => 'Labels', 'bar' => false], 'receipts' => ['title' => 'Receipts', 'icon' => 'receipt_long', 'section' => 'Labels', 'bar' => false], ]; $destinations = collect($pages) ->map(fn (array $destination, string $key): array => $destination + [ 'url' => route('livewire-material.shell', $key === 'inbox' ? [] : ['page' => $key]), 'active' => $key === $page, ]) ->values() ->all(); $current = $pages[$page]; @endphp {{ $current['title'] }} · Scaffold · Livewire Material {{-- Kept only for the Livewire/Alpine runtime here — this page has no Tailwind class of its own. The next batches of step 38 leave it to the sections that still need it. It opens the document's first @layer statement (Workbench package.css's header explains the trick), which the link below must follow, not precede — see layout.blade.php's comment. --}} @vite(config('livewire-material.showcase.vite')) @livewireStyles {{-- The showcase's own chrome: does not depend on the build above. --}} Livewire Material

This is the {{ strtolower($current['title']) }} page.

@foreach (range(1, 14) as $index) @endforeach
@livewireScripts