<x-app-layout id="account" class="readable settings">

    <x-slot name="aside">
        <h1>
            {{ __('account.title') }}
        </h1>
        <x-menu.account-settings />
    </x-slot>

    <x-slot name="header">
        <h2>
            @isset($data['title'])
                {{ $data['title'] }}
            @else
                {{ __('common.settings') }}
            @endisset
        </h2>
    </x-slot>

    <x-slot name="article">
        <div class="content">
        @isset($view)
            @include($view, $data ?? [])
        @else
            <p class="text-muted">{{ __('Pick an option in the sidebar…') }}</p>
        @endisset
        <div class="content">
    </x-slot>

</x-app-layout>
