mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
| 
 | |
| <head>
 | |
|     <link rel="stylesheet" href="/theme/{{$theme}}/assets/components.chunk.css?v={{$version}}">
 | |
|     <link rel="stylesheet" href="/theme/{{$theme}}/assets/umi.css?v={{$version}}">
 | |
|     @if (file_exists(public_path("/theme/{$theme}/assets/custom.css")))
 | |
|         <link rel="stylesheet" href="/theme/{{$theme}}/assets/custom.css?v={{$version}}">
 | |
|     @endif
 | |
|     <meta charset="utf-8">
 | |
|     <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
 | |
|     @php ($colors = [
 | |
|         'darkblue' => '#3b5998',
 | |
|         'black' => '#343a40',
 | |
|         'default' => '#0665d0',
 | |
|         'green' => '#319795'
 | |
|     ])
 | |
|     <meta name="theme-color" content="{{$colors[$theme_color]}}">
 | |
| 
 | |
|     <title>{{$title}}</title>
 | |
|     <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,400i,600,700"> -->
 | |
|     <script>window.routerBase = "/";</script>
 | |
|     <script>
 | |
|         window.settings = {
 | |
|             title: '{{$title}}',
 | |
|             theme: {
 | |
|                 sidebar: '{{$theme_sidebar}}',
 | |
|                 header: '{{$theme_header}}',
 | |
|                 color: '{{$theme_color}}',
 | |
|             },
 | |
|             version: '{{$version}}',
 | |
|             background_url: '{{$background_url}}',
 | |
|             description: '{{$description}}',
 | |
|             crisp_id: '{{$crisp_id}}',
 | |
|             i18n: [
 | |
|                 'zh-CN',
 | |
|                 'en-US',
 | |
|                 'ja-JP',
 | |
|                 'vi-VN',
 | |
|                 'ko-KR',
 | |
|                 'zh-TW'
 | |
|             ]
 | |
|         }
 | |
|     </script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/zh-CN.js?v={{$version}}"></script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/zh-TW.js?v={{$version}}"></script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/en-US.js?v={{$version}}"></script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/ja-JP.js?v={{$version}}"></script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/vi-VN.js?v={{$version}}"></script>
 | |
|     <script src="/theme/{{$theme}}/assets/i18n/ko-KR.js?v={{$version}}"></script>
 | |
| </head>
 | |
| 
 | |
| <body>
 | |
| <div id="root"></div>
 | |
| <script src="/theme/{{$theme}}/assets/vendors.async.js?v={{$version}}"></script>
 | |
| <script src="/theme/{{$theme}}/assets/components.async.js?v={{$version}}"></script>
 | |
| <script src="/theme/{{$theme}}/assets/umi.js?v={{$version}}"></script>
 | |
| <!-- Global site tag (gtag.js) - Google Analytics -->
 | |
| <script async src="https://www.googletagmanager.com/gtag/js?id=G-P1E9Z5LRRK"></script>
 | |
| <script>
 | |
|     window.dataLayer = window.dataLayer || [];
 | |
| 
 | |
|     function gtag() {
 | |
|         dataLayer.push(arguments);
 | |
|     }
 | |
| 
 | |
|     gtag('js', new Date());
 | |
| 
 | |
|     gtag('config', 'G-P1E9Z5LRRK');
 | |
| </script>
 | |
| @if (file_exists(public_path("/theme/{$theme}/assets/custom.js")))
 | |
|     <script src="/theme/{{$theme}}/assets/custom.js?v={{$version}}"></script>
 | |
| @endif
 | |
| </body>
 | |
| 
 | |
| </html>
 |