<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta name="theme-color" content="#d66365" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>
    @yield('title')
  </title>
  <link rel="stylesheet" type="text/css" href="/assets/css/dash/start.css">
  <link rel="shortcut icon" href="/favicon.png" type="image/x-icon">

</head>
    <body>

      <header>
        @if($status)
            <nav class="top-nav">
                <a href="/dashboard"><img id="the-logo" src="/assets/images/global/fipamo-logo.svg"/></a>
                <h1>{{ $title }}</h1>
                <div class="nav-right">
                    @if($status)
                        @include('includes.nav')
                    @endif
                </div>
            </nav>
            <div class="notify" role="note">
                @include('includes.notifications')
            </div>
        @endif
      </header>
      @if(session('message'))
        <div class="system-notice-message" role="status">
          {!! session('message') !!}
        </div>
      @endif

      <main>
        @spaceless
        @section('main-content')
          @show
        @endspaceless
      </main>
      <footer>

      </footer>
      @section('scripting')
        @show
    </body>

</html>