M3 Expressive's flexible navigation bar, the collapsed, expanded and modal navigation rail with its state applied before the first paint, and an adaptive app shell composing them. The head script now restores the theme and rail attributes that wire:navigate strips from <html>. Completes Phase 8. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
14 lines
556 B
PHP
14 lines
556 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use NoNameWeb\LivewireMaterial\Http\Controllers\ShowcaseSymbolController;
|
|
|
|
Route::view('/', 'livewire-material::showcase.index')->name('showcase');
|
|
|
|
Route::get('symbols.json', [ShowcaseSymbolController::class, 'index'])->name('symbols');
|
|
Route::get('symbols/{style}/{name}.svg', [ShowcaseSymbolController::class, 'show'])->name('symbol');
|
|
|
|
Route::view('shell/{page?}', 'livewire-material::showcase.shell')
|
|
->whereIn('page', ['inbox', 'starred', 'sent', 'drafts', 'travel', 'receipts'])
|
|
->name('shell');
|