<!DOCTYPE html>
<html lang="{{ 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">

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

    <title>@yield('title')</title>

    <link rel="icon" type="image/png" href="https://campusvirtual.unicatolica.edu.co/img/favico64.png" sizes="64x64">

    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('w3css/4/w3.css') }}">
    <link rel="stylesheet" href="{{ asset('w3css/w3-theme.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ asset('font-awesome-5.3.1/css/all.css') }}">

    <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>

    <style type="text/css">
        body{
            font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
        }
        
        a, a.w3-btn, a.w3-bar-item{
            text-decoration: none !important;
        }

        h1 { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 26.4px; } h3 { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 15.4px; } p { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 20px; } blockquote { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; font-size: 21px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 30px; } pre { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18.5714px; }
    </style>
</head>
<body class="w3-white">
    {{-- <div id="app">
        <nav class="navbar navbar-default navbar-static-top">
            <div class="container">
                <div class="navbar-header">

                    <!-- Collapsed Hamburger -->
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
                        <span class="sr-only">Toggle Navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>

                    <!-- Branding Image -->
                    <a class="navbar-brand" href="{{ url('/') }}">
                        {{ config('app.name', 'Laravel') }}
                    </a>
                </div>

                <div class="collapse navbar-collapse" id="app-navbar-collapse">
                    <!-- Left Side Of Navbar -->
                    <ul class="nav navbar-nav">
                        &nbsp;
                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="nav navbar-nav navbar-right">
                        <!-- Authentication Links -->
                        @if (Auth::guest())
                            <li><a href="{{ route('login') }}">Login</a></li>
                            <li><a href="{{ route('register') }}">Register</a></li>
                        @else
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
                                    {{ Auth::user()->name }} <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu" role="menu">
                                    <li>
                                        <a href="{{ route('logout') }}"
                                            onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();">
                                            Logout
                                        </a>

                                        <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                            {{ csrf_field() }}
                                        </form>
                                    </li>
                                </ul>
                            </li>
                        @endif
                    </ul>
                </div>
            </div>
        </nav>

        @yield('content')
    </div>--}}
    <div class="w3-container-fluid w3-theme-d3 w3-center w3-padding">
        <img src="{{ asset('images/externos/unicatolica-logo-vertical-blanco.png') }}" class="w3-image w3-center-align" width="150">
    </div>

    <div class="w3-bar w3-theme">
        @yield('header')
    </div>

    <div class="w3-container w3-padding-16">
        @if ($errors->any())
            <div class="alert alert-danger">
                <ul>
                    @foreach ($errors->all() as $error)
                        <li>{{ $error }}</li>
                    @endforeach
                </ul>
            </div>
        @endif
        @include('sweet::alert')
        @yield('content')
    </div>
    <br><br>
    <div class="w3-container-fluid w3-theme w3-padding">
        
    </div>

    <div class="w3-container-fluid w3-theme-d5 w3-padding">
        Vicerrectoría Administrativa y Financiera | Departamento de Contabilidad | {{ config('app.name') }} |  {{ date('Y') }} | Soportado por  Dir. tecnologías de la información y conectividad
    </div>

    {{--<div class="w3-content w3-padding">
        <div class="w3-center">
            <img src="{{ asset('images/externos/unicatolica-logo-horizontal-blanco.png') }}" class="w3-image" width="300"> <img src="{{ asset('images/externos/logo-lema-tic-blanco.png') }}" class="w3-image" width="200">
        </div>
    </div>

    <div class="w3-container">
        <p class="w3-center">Vicerrectoría Administrativa y Financiera | Área TIC | {{ config('app.name') }} | 2019 - {{ date('Y') }}</p>
    </div>--}}

    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}"></script>
    <script src="{{ asset('js/erc.js') }}"></script>
</body>
</html>
