<!DOCTYPE html>
<html lang="en">
<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">
    <title>{{ Session::get('webdata')['web_title'] }}</title>
    {{--@php
        $web = strtolower(Session::get('webdata')['id_plataforma']);
    @endphp--}}
    <link rel="shortcut icon" href="{{ Session::get('webdata')['uri_icon'] }}">
    {{--<link rel="stylesheet" href='{{ asset("Libreria_CA/bootstrap/css/bootstrap-$web.css") }}'>--}}
    @if( isset(Session::get("webdata")["uri_css2"]) && !is_null(Session::get("webdata")["uri_css2"]) )
    <link rel="stylesheet" href='{{ asset(Session::get("webdata")["uri_css2"]) }}'>
    @else
    <link rel="stylesheet" href='{{ asset("Libreria_CA/bootstrap/css/bootstrap-fi.css") }}'>
    @endif
    <link rel="stylesheet" href="{{ asset('Libreria_CA/bootstrap-icons-1.7.2/bootstrap-icons.css') }}">
    <link href="{{asset('css/font-awesome.min.css')}}" rel="stylesheet">
    <link href="{{ asset('components/flag-icon-css-master/css/flag-icon.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('Libreria_CA/jquery-ui-1.13.1.custom/jquery-ui.css') }}">
</head>
<body @if(Session::get('modo') == '1') class="bg-dark" @endif>
    @include('navegador_dashboard')
    @yield('main')
</body>
    <script src="{{ asset('Libreria_CA/bootstrap/js/bootstrap.bundle.js') }}"></script>
    <script src="{{ asset('Libreria_CA/Js/jquery.js') }}"></script>
    <script src="{{ asset('Libreria_CA/jquery-ui-1.13.1.custom/jquery-ui.js') }}"></script>
    <script src="{{ asset('Libreria_CA/Js/funciones.js') }}?v={{rand()}}" ></script>
    @yield('funcionesJS')

    <footer id="footer_compacto" class="bg-fidelitas text-white roboto text-start">@Copyright {{ Session::get('webdata')['copyright'] }} {{date('Y')}}</footer>
    @if (!empty(Session::get('webdata')['uri_css1']))
        <link href="{{ Session::get('webdata')['uri_css1'] }}?rnd={{time()}}"  rel="stylesheet">
    @endif
</html>