1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

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
<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'))
<link rel="stylesheet" href="{{ asset('css/bootstrap-dark.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/dark.css') }}">
@else
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/light.css') }}">
@endif
<link rel="stylesheet" href="{{ asset('css/fa.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
@yield('css_style')
<script src="{{ asset('js/vue.min.js') }}"></script>
@yield('css_links')
@yield('style')
</head>
<body class="font-sans antialiased">
<div class="container-fluid">
@ -33,7 +34,7 @@
<div class="container">
@yield('content')
</div>
<script src="{{ asset('js/bootstrap.min.js') }}" defer></script>
<script src="{{ asset('js/app.js') }}" defer></script>
@yield('scripts')
</body>
</html>