From ef210651aa8e9c8466b1b543106a78ef2994c373 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 20 Dec 2021 12:51:19 +1100 Subject: [PATCH] Switch Asset::add() to @themecss for metronic theme --- .../views/layouts/partials/htmlheader.blade.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/themes/metronic/views/layouts/partials/htmlheader.blade.php b/resources/themes/metronic/views/layouts/partials/htmlheader.blade.php index 59c5484..7c2fbe8 100644 --- a/resources/themes/metronic/views/layouts/partials/htmlheader.blade.php +++ b/resources/themes/metronic/views/layouts/partials/htmlheader.blade.php @@ -14,12 +14,10 @@ --}} - @php - Asset::add('components-css','/css/components.css'); - Asset::add('style-css','/css/style.css'); - Asset::add('style-responsive-css','/css/style-responsive.css'); - Asset::add('theme-blue-css','/css/themes/blue.css'); - @endphp + @themecss('/css/components.css','components-css') + @themecss('/css/style.css','style-css') + @themecss('/css/style-responsive.css','style-responsive-css') + @themecss('/css/themes/blue.css','theme-blue-css')