{{-- 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 heading is only for a screen reader (`data-md-showcase-sections`'s own rule in resources/css/showcase.css). --}} @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