✌️
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",
|
||||
"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('./forkit.tag');
|
||||
require('./introduction.tag');
|
||||
require('./copyright.tag');
|
||||
require('./signin-history.tag');
|
||||
require('./twitter-setting.tag');
|
||||
require('./authorized-apps.tag');
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<footer>
|
||||
<div>
|
||||
<mk-nav-links/>
|
||||
<mk-copyright/>
|
||||
<p class="c">{ _COPYRIGHT_ }</p>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- ↓ https://github.com/riot/riot/issues/2134 (将来的)-->
|
||||
|
@ -101,7 +101,7 @@
|
|||
text-align center
|
||||
border-top solid 1px #fff
|
||||
|
||||
> mk-copyright
|
||||
> .c
|
||||
margin 0
|
||||
line-height 64px
|
||||
font-size 10px
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<mk-copyright/>
|
||||
<p class="c">{ _COPYRIGHT_ }</p>
|
||||
</footer>
|
||||
<style>
|
||||
:scope
|
||||
|
@ -34,7 +34,7 @@
|
|||
margin 16px auto 0 auto
|
||||
|
||||
> footer
|
||||
> mk-copyright
|
||||
> .c
|
||||
margin 0
|
||||
text-align center
|
||||
line-height 64px
|
||||
|
|
|
@ -35,3 +35,4 @@ html(lang= lang)
|
|||
p
|
||||
= common.i18n[lang]['docs']['edit-this-page-on-github']
|
||||
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
|
||||
border-top solid 2px #eee
|
||||
|
||||
.copyright
|
||||
> small
|
||||
margin 16px 0 0 0
|
||||
color #aaa
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import * as glob from 'glob';
|
|||
import * as yaml from 'js-yaml';
|
||||
import langs from '../../../locales';
|
||||
import config from '../../conf';
|
||||
const constants = require('../../const.json');
|
||||
|
||||
export default function(): { [key: string]: any } {
|
||||
const vars = {} as { [key: string]: any };
|
||||
|
@ -38,5 +39,7 @@ export default function(): { [key: string]: any } {
|
|||
|
||||
vars['i18n'] = langs;
|
||||
|
||||
vars['copyright'] = constants.copyright;
|
||||
|
||||
return vars;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ export default lang => {
|
|||
_RECAPTCHA_SITEKEY_: config.recaptcha.site_key,
|
||||
_SW_PUBLICKEY_: config.sw ? config.sw.public_key : null,
|
||||
_THEME_COLOR_: constants.themeColor,
|
||||
_COPYRIGHT_: constants.copyright,
|
||||
_VERSION_: version,
|
||||
_STATUS_URL_: config.status_url,
|
||||
_STATS_URL_: config.stats_url,
|
||||
|
|
Loading…
Reference in a new issue