<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <meta name="csrf-token" content="{{ csrf_token() }}">

        <title>{{ config('app.name', 'Argon Dashboard') }}</title>
        <!-- Favicon -->
        <link href="{{ asset('bctc') }}/img/brand/favicon.png" rel="icon" type="image/png">
        <!-- Fonts -->
        <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
        <!-- Icons -->
        <link href="{{ asset('bctc') }}/vendor/nucleo/css/nucleo.css" rel="stylesheet">
        <link href="{{ asset('bctc') }}/vendor/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet">
        <!-- Argon CSS -->
        <link type="text/css" href="{{ asset('bctc') }}/css/argon.css?v=1.0.0" rel="stylesheet">
        @stack('head')
    </head>
    <body class="{{ $class ?? '' }}">
        @auth()
            <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                @csrf
            </form>
            @include('layouts.navbars.sidebar')
        @endauth
        
        <div class="main-content">
            @include('layouts.navbars.navbar')
            @yield('content')
        </div>

        @guest()
            @include('layouts.footers.guest')
        @endguest
        <script src="{{asset('js/jquery.js')}}"></script>
        <!-- <script src="{{asset('js/custom.js')}}"></script> -->
        <script src="{{ asset('bctc') }}/vendor/jquery/dist/jquery.min.js"></script>
        <script src="{{ asset('bctc') }}/vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
        <script src="{{ asset('bctc/js/validator/dist/jquery.validate.min.js')}}"></script>
        @stack('js')
        
        <!-- Argon JS -->
        <script src="{{ asset('bctc') }}/js/argon.js?v=1.0.0"></script>
    </body>
</html>