tests / lint (push) Has been cancelled
tests / feature (8.4) (push) Has been cancelled
tests / feature (8.5) (push) Has been cancelled
tests / browser (chrome, chromium) (push) Has been cancelled
tests / browser (firefox, firefox) (push) Has been cancelled
tests / browser (safari, webkit) (push) Has been cancelled
The showcase is now an overview and one page per section behind a grouped navigation rail, moved between with wire:navigate, instead of one long page under a scrolling top bar. The switch exposed a WebKit bug in the menu: inside a focusable region, WebKit moves focus out of the closing popover before its toggle event, so Escape no longer returned focus to the trigger. The menu now reads it on beforetoggle. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
26 lines
1.1 KiB
PHP
26 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use NoNameWeb\LivewireMaterial\Http\Controllers\ShowcaseController;
|
|
use NoNameWeb\LivewireMaterial\Http\Controllers\ShowcasePageController;
|
|
use NoNameWeb\LivewireMaterial\Http\Controllers\ShowcaseSymbolController;
|
|
use NoNameWeb\LivewireMaterial\Showcase\Sections;
|
|
|
|
Route::get('/', [ShowcaseController::class, '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');
|
|
|
|
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('{section}', [ShowcaseController::class, 'section'])
|
|
->whereIn('section', array_keys(Sections::all()))
|
|
->name('section');
|