mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: custom theme
This commit is contained in:
parent
6a336d4253
commit
de045c79f5
@ -2,9 +2,9 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/theme/v2board/assets/components.chunk.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/theme/v2board/assets/umi.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/theme/v2board/assets/custom.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/theme/{{$theme}}/assets/components.chunk.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/theme/{{$theme}}/assets/umi.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/theme/{{$theme}}/assets/custom.css?v={{$verison}}">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
||||
<title>{{$title}}</title>
|
||||
@ -28,9 +28,9 @@
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script src="/theme/v2board/assets/vendors.async.js?v={{$verison}}"></script>
|
||||
<script src="/theme/v2board/assets/components.async.js?v={{$verison}}"></script>
|
||||
<script src="/theme/v2board/assets/umi.js?v={{$verison}}"></script>
|
||||
<script src="/theme/{{$theme}}/assets/vendors.async.js?v={{$verison}}"></script>
|
||||
<script src="/theme/{{$theme}}/assets/components.async.js?v={{$verison}}"></script>
|
||||
<script src="/theme/{{$theme}}/assets/umi.js?v={{$verison}}"></script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P1E9Z5LRRK"></script>
|
||||
<script>
|
||||
|
@ -21,6 +21,7 @@ Route::get('/', function (Request $request) {
|
||||
}
|
||||
$renderParams = [
|
||||
'title' => config('v2board.app_name', 'V2Board'),
|
||||
'theme' => config('v2board.frontend_theme', 'v2board'),
|
||||
'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
||||
'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
||||
'theme_color' => config('v2board.frontend_theme_color', 'default'),
|
||||
@ -29,7 +30,7 @@ Route::get('/', function (Request $request) {
|
||||
'description' => config('v2board.app_description', 'V2Board is best'),
|
||||
'crisp_id' => config('v2board.frontend_customer_service_method') === 'crisp' ? config('v2board.frontend_customer_service_id') : ''
|
||||
];
|
||||
return view('theme::v2board.dashboard', $renderParams);
|
||||
return view('theme::' . config('v2board.frontend_theme', 'v2board') . '.dashboard', $renderParams);
|
||||
});
|
||||
|
||||
Route::get('/' . config('v2board.frontend_admin_path', 'admin'), function () {
|
||||
|
Loading…
Reference in New Issue
Block a user