Change metronic to use @asset instead of @css

This commit is contained in:
Deon George 2021-11-23 17:30:20 +11:00
parent 0507dc83d8
commit e3e43b87f4
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -14,10 +14,10 @@
--}} --}}
<!-- Theme style --> <!-- Theme style -->
@css('css/components.css') @asset('css/components.css')
@css('css/style.css') @asset('css/style.css')
@css('css/style-responsive.css') @asset('css/style-responsive.css')
@css('css/themes/blue.css') @asset('css/themes/blue.css')
<!-- Google Font: Source Sans Pro --> <!-- Google Font: Source Sans Pro -->
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|PT+Sans+Narrow|Source+Sans+Pro:200,300,400,600,700,900&amp;subset=all" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|PT+Sans+Narrow|Source+Sans+Pro:200,300,400,600,700,900&amp;subset=all" rel="stylesheet" type="text/css">
@ -32,10 +32,10 @@
<link rel="shortcut icon" href="{{ object_get($site,'favicon','favicon.ico') }}" /> <link rel="shortcut icon" href="{{ object_get($site,'favicon','favicon.ico') }}" />
<!-- Custom CSS --> <!-- Custom CSS -->
@css('css/custom.css') @asset('css/custom.css')
<!-- STYLESHEETS --> <!-- STYLESHEETS -->
{!! Asset::styles() !!} {!! Asset::styles() !!}
@yield('page-styles') @yield('page-styles')
</head> </head>