Updated app.blade.php for NPM webpack
Updated app.blade.php for NPM webpack
This commit is contained in:
parent
68f1d331f9
commit
f0903e08f4
|
@ -11,19 +11,16 @@
|
||||||
<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>
|
||||||
|
|
||||||
@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_links')
|
@yield('css_links')
|
||||||
@yield('style')
|
@yield('style')
|
||||||
|
|
||||||
<script src="{{ asset('js/bootstrap.min.js') }}" defer></script>
|
|
||||||
|
|
||||||
@yield('scripts')
|
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans antialiased">
|
<body class="font-sans antialiased">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
@ -40,5 +37,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{{ $slot }}
|
{{ $slot }}
|
||||||
</div>
|
</div>
|
||||||
|
<script src="{{ asset('js/app.js') }}" defer></script>
|
||||||
|
@yield('scripts')
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user