File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Statikbe \FilamentFlexibleContentBlockPages \Components ;
4
+
5
+ use Illuminate \View \Component ;
6
+
7
+ class BaseLayout extends Component
8
+ {
9
+ public function render ()
10
+ {
11
+ return view ('filament-flexible-content-block-pages::components.layouts.base ' );
12
+ }
13
+ }
Original file line number Diff line number Diff line change 5
5
use Spatie \LaravelPackageTools \Package ;
6
6
use Spatie \LaravelPackageTools \PackageServiceProvider ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Commands \SeedDefaultsCommand ;
8
+ use Statikbe \FilamentFlexibleContentBlockPages \Components \BaseLayout ;
8
9
use Statikbe \FilamentFlexibleContentBlockPages \Components \LanguageSwitch ;
9
10
10
11
class FilamentFlexibleContentBlockPagesServiceProvider extends PackageServiceProvider
@@ -29,7 +30,7 @@ public function configurePackage(Package $package): void
29
30
->hasCommand (SeedDefaultsCommand::class)
30
31
->hasViewComponents ('flexible-pages ' ,
31
32
LanguageSwitch::class,
32
- ' filament-flexible-content-block-pages::layouts.base ' ,
33
+ BaseLayout::class ,
33
34
);
34
35
}
35
36
}
You can’t perform that action at this time.
0 commit comments