name('showcase'); Route::get('symbols.json', [ShowcaseSymbolController::class, 'index'])->name('symbols'); Route::get('symbols/{style}/{name}.svg', [ShowcaseSymbolController::class, 'show'])->name('symbol'); // The showcase's own bundle (all.css, showcase.css, the application's scheme), long-cached under // the hash of its own content, and the two package folders its relative url()s may point into. Route::get('showcase.{hash}.css', [ShowcaseAssetController::class, 'stylesheet']) ->where('hash', '[0-9a-f]+') ->name('stylesheet'); Route::get('assets/{path}', [ShowcaseAssetController::class, 'file']) ->where('path', '.*') ->name('asset'); Route::view('shell/{page?}', 'livewire-material::showcase.shell') ->whereIn('page', ['inbox', 'starred', 'sent', 'drafts', 'travel', 'receipts']) ->name('shell'); Route::get('errors/{code}', [ShowcasePageController::class, 'error']) ->whereIn('code', ['401', '402', '403', '404', '419', '429', '500', '503']) ->name('error'); Route::get('mail', [ShowcasePageController::class, 'mail'])->name('mail'); Route::get('search.json', [ShowcaseController::class, 'search'])->name('search'); // The Layout section's three canonical layouts (plan step 38), each a page of its own rather // than an anchor on the Layout section's Overview (`{section}` below). Route::get('layout/{page}', [ShowcaseController::class, 'layout']) ->whereIn('page', ['list-detail', 'supporting-pane', 'feed']) ->name('layout'); Route::get('{section}', [ShowcaseController::class, 'section']) ->whereIn('section', array_keys(Sections::all())) ->name('section');