Fix #e3e43b87 should use Asset::add instead of @asset

This commit is contained in:
Deon George 2021-11-24 16:22:43 +11:00
parent e3e43b87f4
commit ab86ddc386
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -14,10 +14,10 @@
--}} --}}
<!-- Theme style --> <!-- Theme style -->
@asset('css/components.css') {{ Asset::add('components-css','/css/components.css') }}
@asset('css/style.css') {{ Asset::add('style-css','/css/style.css') }}
@asset('css/style-responsive.css') {{ Asset::add('style-responsive-css','/css/style-responsive.css') }}
@asset('css/themes/blue.css') {{ Asset::add('theme-blue-css','/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 -->
@asset('css/custom.css') {{ Asset::add('custom-css','/css/custom.css') }}
<!-- STYLESHEETS --> <!-- STYLESHEETS -->
{!! Asset::styles() !!} {!! Asset::styles() !!}
@yield('page-styles') @yield('page-styles')
</head> </head>