|
@@ -21,7 +21,9 @@ Route::get('/', function (Request $request) {
|
|
|
}
|
|
|
return view('app', [
|
|
|
'title' => config('v2board.app_name', 'V2Board'),
|
|
|
- 'theme' => config('v2board.frontend_theme', 1),
|
|
|
+ 'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
|
|
+ 'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
|
|
+ 'theme_color' => config('v2board.frontend_theme_color', 'default'),
|
|
|
'backgroun_url' => config('v2board.frontend_background_url'),
|
|
|
'verison' => config('app.version'),
|
|
|
'description' => config('v2board.app_description', 'V2Board is best')
|
|
@@ -31,7 +33,9 @@ Route::get('/', function (Request $request) {
|
|
|
Route::get('/admin', function () {
|
|
|
return view('admin', [
|
|
|
'title' => config('v2board.app_name', 'V2Board'),
|
|
|
- 'theme' => config('v2board.frontend_theme', 1),
|
|
|
+ 'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
|
|
+ 'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
|
|
+ 'theme_color' => config('v2board.frontend_theme_color', 'default'),
|
|
|
'backgroun_url' => config('v2board.frontend_background_url'),
|
|
|
'verison' => config('app.version')
|
|
|
]);
|