@extends('adminlte::page')
@section('title', 'Layout Options')
@section('content_header')
@stop
@section('content')
In the Laravel package, AdminLTE's layout variants are config-driven rather than
separate pages — set the keys below in config/adminlte.php and the layout updates
everywhere. The toggles you can try live (color mode, sidebar collapse, fullscreen) are in the navbar.
@php
$options = [
['Fixed Sidebar', 'layout_fixed_sidebar', 'bi bi-layout-sidebar', 'The sidebar stays in place while the page content scrolls.'],
['Fixed Header', 'layout_fixed_navbar', 'bi bi-layout-text-window', 'The top navbar is pinned to the top of the viewport.'],
['Fixed Footer', 'layout_fixed_footer', 'bi bi-layout-text-window-reverse', 'The footer is pinned to the bottom of the viewport.'],
['Sidebar Mini', 'sidebar_mini', 'bi bi-distribute-vertical', 'Collapses the sidebar to icons; expands on hover.'],
['Collapsed Sidebar', 'sidebar_collapse', 'bi bi-chevron-bar-left', 'Starts with the sidebar collapsed.'],
['Boxed Layout', 'layout_boxed', 'bi bi-bounding-box', 'Constrains the app to a centered, boxed width.'],
['Top Navigation', 'layout_topnav', 'bi bi-menu-button-wide', 'Hides the sidebar and renders the menu in the top navbar.'],
['Right-to-Left (RTL)', 'layout_rtl', 'bi bi-text-right', 'Loads the RTL stylesheet and flips the layout direction.'],
];
@endphp
@foreach ($options as [$name, $key, $icon, $desc])
@php($enabled = (bool) config('adminlte.'.$key))
{{ $enabled ? 'On' : 'Off' }}
{{ $desc }}
'{{ $key }}' => {{ $enabled ? 'true' : 'false' }},
@endforeach
@stop