Fix resource links

This commit is contained in:
Gamerboy59 2023-08-06 13:29:41 +02:00 committed by GitHub
parent fcb99b1e31
commit 02c15e9622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,18 @@
@endif @endif
<title>@yield('title') - @if (config()->has('app.name')){{ config('app.name') }} @else My idlers @endif</title> <title>@yield('title') - @if (config()->has('app.name')){{ config('app.name') }} @else My idlers @endif</title>
<link rel="icon" type="image" href="{{asset(Session::get('favicon') ?? 'favicon.ico')}}"/>
@if(Session::get('dark_mode')) @if(Session::get('dark_mode'))
<link rel="stylesheet" href="{{ asset('css/bootstrap-dark.min.css') }}"> <link rel="stylesheet" href="{{ asset('css/dark.css') }}">
@else @else
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}"> <link rel="stylesheet" href="{{ asset('css/light.css') }}">
@endif @endif
<link rel="stylesheet" href="{{ asset('css/fa.min.css') }}"> <link rel="stylesheet" href="{{ asset('css/app.css') }}">
@yield('css_style') @yield('css_links')
<script src="{{ asset('js/vue.min.js') }}"></script> @yield('style')
</head> </head>
<body class="font-sans antialiased"> <body class="font-sans antialiased">
<div class="container-fluid"> <div class="container-fluid">
@ -33,7 +34,7 @@
<div class="container"> <div class="container">
@yield('content') @yield('content')
</div> </div>
<script src="{{ asset('js/bootstrap.min.js') }}" defer></script> <script src="{{ asset('js/app.js') }}" defer></script>
@yield('scripts') @yield('scripts')
</body> </body>
</html> </html>