Fix resource links

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

View File

@ -6,14 +6,25 @@
<meta name="csrf-token" content="{{ csrf_token() }}">
<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')}}"/>
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}">
@if(Session::get('dark_mode'))
<link rel="stylesheet" href="{{ asset('css/dark.css') }}">
@else
<link rel="stylesheet" href="{{ asset('css/light.css') }}">
@endif
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
@yield('css_links')
@yield('style')
<x-form-style></x-form-style>
<script src="{{ asset('js/bootstrap.min.js') }}" defer></script>
</head>
<body>
{{ $slot }}
<script src="{{ asset('js/app.js') }}" defer></script>
@yield('scripts')
</body>
</html>