update: default theme

This commit is contained in:
v2board 2023-04-10 13:10:09 +08:00
parent a7275e005b
commit 61ae86be6f
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<script>
window.settings = {
title: '{{$title}}',
theme_path: '{{$theme_path}}',
assets_path: '/theme/{{$theme}}/assets',
theme: {
sidebar: '{{$theme_config['theme_sidebar']}}',
header: '{{$theme_config['theme_header']}}',

View File

@ -23,7 +23,6 @@ Route::get('/', function (Request $request) {
$renderParams = [
'title' => config('v2board.app_name', 'V2Board'),
'theme' => config('v2board.frontend_theme', 'v2board'),
'theme_path' => '/theme/' . config('v2board.frontend_theme', 'v2board') . '/assets/',
'version' => config('app.version'),
'description' => config('v2board.app_description', 'V2Board is best'),
'logo' => config('v2board.logo')