Update Metronic as we no longer use Orchestra/Asset

This commit is contained in:
Deon George 2024-07-04 08:15:34 +10:00
parent f44d780e19
commit e0333e352a
3 changed files with 6 additions and 12 deletions

View File

@ -38,9 +38,6 @@
@section('scripts') @section('scripts')
@include('metronic::layouts.partials.scripts') @include('metronic::layouts.partials.scripts')
{{-- Scripts --}}
{!! Asset::scripts() !!}
@yield('page-scripts') @yield('page-scripts')
@show @show
</body> </body>

View File

@ -14,10 +14,10 @@
--}} --}}
<!-- Theme style --> <!-- Theme style -->
@themecss('/css/components.css','components-css') <link rel="stylesheet" href="{{ asset('theme/frontend/metronic/css/components.css') }}">
@themecss('/css/style.css','style-css') <link rel="stylesheet" href="{{ asset('theme/frontend/metronic/css/style.css') }}">
@themecss('/css/style-responsive.css','style-responsive-css') <link rel="stylesheet" href="{{ asset('theme/frontend/metronic/css/style-responsive.css') }}">
@themecss('/css/themes/blue.css','theme-blue-css') <link rel="stylesheet" href="{{ asset('theme/frontend/metronic/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,7 @@
<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 -->
@php(Asset::add('custom-css','/css/custom.css')) <link rel="stylesheet" href="{{ asset('theme/frontend/metronic/css/custom.css') }}">
<!-- STYLESHEETS -->
{!! Asset::styles() !!}
@yield('page-styles') @yield('page-styles')
</head> </head>

View File

@ -18,5 +18,5 @@
@if(file_exists('js/custom.js')) @if(file_exists('js/custom.js'))
<!-- Any Custom JS --> <!-- Any Custom JS -->
<script src="{{ asset('js/custom.js') }}"></script> <script type="text/javascript" src="{{ asset('js/custom.js') }}"></script>
@endif @endif