1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00
This commit is contained in:
syuilo 2017-12-17 04:31:24 +09:00
parent 11842366bc
commit 74f3a6aadb
9 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,5 @@
{
"copyright": "Copyright (c) 2014-2017 syuilo",
"themeColor": "#ff4e45",
"themeColorForeground": "#fff"
}

View File

@ -1,7 +0,0 @@
<mk-copyright>
<span>(c) syuilo 2014-2017</span>
<style>
:scope
display block
</style>
</mk-copyright>

View File

@ -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');

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -41,7 +41,7 @@ main
margin 32px 0 0 0
border-top solid 2px #eee
.copyright
> small
margin 16px 0 0 0
color #aaa

View File

@ -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;
}

View File

@ -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,