Implemented a way for the developer to define a custom background color for the pages they are building through the config file 'pagebuilder.php'
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
use Inertia\Inertia;
|
||||
|
||||
use App\Helpers\PageSettingsHelper;
|
||||
@@ -27,6 +28,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
'siteName' => function () {
|
||||
return config('app.name');
|
||||
},
|
||||
'canvas' => function () {
|
||||
return config('pagebuilder.canvas');
|
||||
}
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user