{{-- One section of the showcase on a page of its own, with the way on to the next. The page's heading names the section, so the section's own

is `md-visually-hidden`: there for a screen reader's outline of the
, not drawn a second time under the

. --}} @extends('livewire-material::showcase.layout') @php $keys = array_keys($sections); $at = array_search($section, $keys, true); $previous = $keys[$at - 1] ?? null; $next = $keys[$at + 1] ?? null; @endphp @section('content')

{{ $sections[$section]['group'] }}

{{ $sections[$section]['title'] }}

@include('livewire-material::showcase.sections.'.$section) @if ($previous) @else @endif @if ($next) @endif
@endsection