update: theme directory
@ -23,6 +23,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
$this->app['view']->addNamespace('theme', base_path() . '/public/theme');
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 237 KiB After Width: | Height: | Size: 237 KiB |
Before Width: | Height: | Size: 680 KiB After Width: | Height: | Size: 680 KiB |
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 832 KiB After Width: | Height: | Size: 832 KiB |
@ -2,9 +2,9 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/assets/user/components.chunk.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/assets/user/umi.css?v={{$verison}}">
|
||||
<link rel="stylesheet" href="/assets/user/custom.css?v={{$verison}}">
|
||||
<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}}">
|
||||
<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="/assets/user/vendors.async.js?v={{$verison}}"></script>
|
||||
<script src="/assets/user/components.async.js?v={{$verison}}"></script>
|
||||
<script src="/assets/user/umi.js?v={{$verison}}"></script>
|
||||
<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>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P1E9Z5LRRK"></script>
|
||||
<script>
|
@ -19,7 +19,7 @@ Route::get('/', function (Request $request) {
|
||||
abort(403);
|
||||
}
|
||||
}
|
||||
return view('app', [
|
||||
return view('theme::v2board.index', [
|
||||
'title' => config('v2board.app_name', 'V2Board'),
|
||||
'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
||||
'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
||||
|