@php
$current = Route::currentRouteName();
// Daftar learning style
$learningStyles = [
[
'route' => 'materi-visual',
'icon' => 'eye',
'label' => 'Visual',
'btnClass' => 'btn-primary'
],
[
'route' => 'materi-auditory',
'icon' => 'volume-2',
'label' => 'Auditory',
'btnClass' => 'btn-success'
],
[
'route' => 'materi-read/write',
'icon' => 'book-open',
'label' => 'Read/Write',
'btnClass' => 'btn-warning'
],
[
'route' => 'materi-kinesthetic',
'icon' => 'activity',
'label' => 'Kinestetik',
'btnClass' => 'btn-danger'
],
[
'route' => 'materi-multimodal',
'icon' => 'layers',
'label' => 'Multimodal',
'btnClass' => 'btn-info'
],
];
@endphp
@foreach($learningStyles as $style)
@if($current !== $style['route'])
{{ $style['label'] }}
@endif
@endforeach