2022-03-05 16:29:58 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
2023-01-17 23:11:59 +01:00
|
|
|
<title>@yield('title') - @if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif</title>
|
2023-08-06 13:34:28 +02:00
|
|
|
<link rel="icon" type="image" href="{{asset(Session::get('favicon') ?? 'favicon.ico')}}"/>
|
2022-03-05 16:29:58 +01:00
|
|
|
|
2023-08-06 13:34:28 +02:00
|
|
|
@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')
|
2022-03-05 16:29:58 +01:00
|
|
|
|
|
|
|
<x-form-style></x-form-style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{ $slot }}
|
2023-08-06 13:34:28 +02:00
|
|
|
<script src="{{ asset('js/app.js') }}" defer></script>
|
|
|
|
@yield('scripts')
|
2022-03-05 16:29:58 +01:00
|
|
|
</body>
|
|
|
|
</html>
|