✌️
This commit is contained in:
		
							parent
							
								
									11842366bc
								
							
						
					
					
						commit
						74f3a6aadb
					
				
					 9 changed files with 11 additions and 13 deletions
				
			
		| 
						 | 
					@ -1,4 +1,5 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						"copyright": "Copyright (c) 2014-2017 syuilo",
 | 
				
			||||||
	"themeColor": "#ff4e45",
 | 
						"themeColor": "#ff4e45",
 | 
				
			||||||
	"themeColorForeground": "#fff"
 | 
						"themeColorForeground": "#fff"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +0,0 @@
 | 
				
			||||||
<mk-copyright>
 | 
					 | 
				
			||||||
	<span>(c) syuilo 2014-2017</span>
 | 
					 | 
				
			||||||
	<style>
 | 
					 | 
				
			||||||
		:scope
 | 
					 | 
				
			||||||
			display block
 | 
					 | 
				
			||||||
	</style>
 | 
					 | 
				
			||||||
</mk-copyright>
 | 
					 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,6 @@ require('./signin.tag');
 | 
				
			||||||
require('./signup.tag');
 | 
					require('./signup.tag');
 | 
				
			||||||
require('./forkit.tag');
 | 
					require('./forkit.tag');
 | 
				
			||||||
require('./introduction.tag');
 | 
					require('./introduction.tag');
 | 
				
			||||||
require('./copyright.tag');
 | 
					 | 
				
			||||||
require('./signin-history.tag');
 | 
					require('./signin-history.tag');
 | 
				
			||||||
require('./twitter-setting.tag');
 | 
					require('./twitter-setting.tag');
 | 
				
			||||||
require('./authorized-apps.tag');
 | 
					require('./authorized-apps.tag');
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
	<footer>
 | 
						<footer>
 | 
				
			||||||
		<div>
 | 
							<div>
 | 
				
			||||||
			<mk-nav-links/>
 | 
								<mk-nav-links/>
 | 
				
			||||||
			<mk-copyright/>
 | 
								<p class="c">{ _COPYRIGHT_ }</p>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</footer>
 | 
						</footer>
 | 
				
			||||||
	<!-- ↓ https://github.com/riot/riot/issues/2134 (将来的)-->
 | 
						<!-- ↓ https://github.com/riot/riot/issues/2134 (将来的)-->
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@
 | 
				
			||||||
					text-align center
 | 
										text-align center
 | 
				
			||||||
					border-top solid 1px #fff
 | 
										border-top solid 1px #fff
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					> mk-copyright
 | 
										> .c
 | 
				
			||||||
						margin 0
 | 
											margin 0
 | 
				
			||||||
						line-height 64px
 | 
											line-height 64px
 | 
				
			||||||
						font-size 10px
 | 
											font-size 10px
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</main>
 | 
						</main>
 | 
				
			||||||
	<footer>
 | 
						<footer>
 | 
				
			||||||
		<mk-copyright/>
 | 
							<p class="c">{ _COPYRIGHT_ }</p>
 | 
				
			||||||
	</footer>
 | 
						</footer>
 | 
				
			||||||
	<style>
 | 
						<style>
 | 
				
			||||||
		:scope
 | 
							:scope
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@
 | 
				
			||||||
						margin 16px auto 0 auto
 | 
											margin 16px auto 0 auto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			> footer
 | 
								> footer
 | 
				
			||||||
				> mk-copyright
 | 
									> .c
 | 
				
			||||||
					margin 0
 | 
										margin 0
 | 
				
			||||||
					text-align center
 | 
										text-align center
 | 
				
			||||||
					line-height 64px
 | 
										line-height 64px
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,3 +35,4 @@ html(lang= lang)
 | 
				
			||||||
				p
 | 
									p
 | 
				
			||||||
					= common.i18n[lang]['docs']['edit-this-page-on-github']
 | 
										= common.i18n[lang]['docs']['edit-this-page-on-github']
 | 
				
			||||||
					a(href=src target="_blank")= common.i18n[lang]['docs']['edit-this-page-on-github-link']
 | 
										a(href=src target="_blank")= common.i18n[lang]['docs']['edit-this-page-on-github-link']
 | 
				
			||||||
 | 
									small= common.copyright
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -41,7 +41,7 @@ main
 | 
				
			||||||
		margin 32px 0 0 0
 | 
							margin 32px 0 0 0
 | 
				
			||||||
		border-top solid 2px #eee
 | 
							border-top solid 2px #eee
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		.copyright
 | 
							> small
 | 
				
			||||||
			margin 16px 0 0 0
 | 
								margin 16px 0 0 0
 | 
				
			||||||
			color #aaa
 | 
								color #aaa
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,6 +3,7 @@ import * as glob from 'glob';
 | 
				
			||||||
import * as yaml from 'js-yaml';
 | 
					import * as yaml from 'js-yaml';
 | 
				
			||||||
import langs from '../../../locales';
 | 
					import langs from '../../../locales';
 | 
				
			||||||
import config from '../../conf';
 | 
					import config from '../../conf';
 | 
				
			||||||
 | 
					const constants = require('../../const.json');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default function(): { [key: string]: any } {
 | 
					export default function(): { [key: string]: any } {
 | 
				
			||||||
	const vars = {} as { [key: string]: any };
 | 
						const vars = {} as { [key: string]: any };
 | 
				
			||||||
| 
						 | 
					@ -38,5 +39,7 @@ export default function(): { [key: string]: any } {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	vars['i18n'] = langs;
 | 
						vars['i18n'] = langs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						vars['copyright'] = constants.copyright;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return vars;
 | 
						return vars;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,6 +13,7 @@ export default lang => {
 | 
				
			||||||
		_RECAPTCHA_SITEKEY_: config.recaptcha.site_key,
 | 
							_RECAPTCHA_SITEKEY_: config.recaptcha.site_key,
 | 
				
			||||||
		_SW_PUBLICKEY_: config.sw ? config.sw.public_key : null,
 | 
							_SW_PUBLICKEY_: config.sw ? config.sw.public_key : null,
 | 
				
			||||||
		_THEME_COLOR_: constants.themeColor,
 | 
							_THEME_COLOR_: constants.themeColor,
 | 
				
			||||||
 | 
							_COPYRIGHT_: constants.copyright,
 | 
				
			||||||
		_VERSION_: version,
 | 
							_VERSION_: version,
 | 
				
			||||||
		_STATUS_URL_: config.status_url,
 | 
							_STATUS_URL_: config.status_url,
 | 
				
			||||||
		_STATS_URL_: config.stats_url,
 | 
							_STATS_URL_: config.stats_url,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue