@extends('admin.layouts.base')

@section('body_class', 'a-body a-app')

@section('body')
    <div class="a-app__wrap">
        <aside class="a-side" aria-label="Admin navigation">
            @include('admin.partials.sidebar')
        </aside>

        <div class="a-main">
            <header class="a-top">
                @include('admin.partials.topbar')
            </header>

            <main class="a-content @yield('content_class')">
                @include('admin.partials.flash')
                @yield('content')
            </main>

            <footer class="a-footer">
                <small class="a-muted">© 2018 {{ config('app.name') }}. Admin only.</small>
            </footer>
        </div>
    </div>
@endsection
