diff --git a/src/views/components/banner.blade.php b/src/views/components/banner.blade.php index 4aceac9..64d3b05 100644 --- a/src/views/components/banner.blade.php +++ b/src/views/components/banner.blade.php @@ -4,31 +4,9 @@ @if ($isFixed)
- @endif - -
-
- - @if ($icon) - - @endif - -
- {{ $slot }} -
+ @include('mbv::banner._content')
- - @if ($actions) -
- {{ $actions }} -
- @endif -
- - @if ($isFixed) -
-@endif - + @else + @include('mbv::banner._content') + @endif diff --git a/src/views/components/banner/_content.blade.php b/src/views/components/banner/_content.blade.php new file mode 100644 index 0000000..6bd860b --- /dev/null +++ b/src/views/components/banner/_content.blade.php @@ -0,0 +1,20 @@ +
+
+ + @if ($icon) + + @endif + +
+ {{ $slot }} +
+
+ + @if ($actions) +
+ {{ $actions }} +
+ @endif +