This commit is contained in:
syuilo 2018-09-28 00:48:17 +09:00
parent 61e5cb2041
commit cbf5d4b71d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
5 changed files with 8 additions and 3 deletions

View file

@ -214,6 +214,7 @@
"vue-loader": "15.4.2",
"vue-router": "3.0.1",
"vue-style-loader": "4.1.2",
"vue-svg-inline-loader": "1.1.3",
"vue-template-compiler": "2.5.17",
"vuedraggable": "2.16.0",
"vuewordcloud": "18.7.11",

View file

@ -14,7 +14,7 @@
<div class="main block">
<div>
<h1 v-if="name != 'Misskey'">{{ name }}</h1>
<h1 v-else><img :src="$store.state.device.darkmode ? 'assets/title.dark.svg' : 'assets/title.light.svg'" :alt="name"></h1>
<h1 v-else><img svg-inline src="../../../../assets/title.svg" :alt="name"></h1>
<div class="info">
<span><b>{{ host }}</b> - <span v-html="'%i18n:@powered-by-misskey%'"></span></span>
@ -377,9 +377,11 @@ export default Vue.extend({
> h1
margin 0
> img
> svg
margin -8px 0 0 -16px
max-width 280px
width 280px
height 100px
fill currentColor
> .info
margin 0 auto 16px auto

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -134,6 +134,8 @@ module.exports = {
preserveWhitespace: false
}
}
}, {
loader: 'vue-svg-inline-loader'
}, {
loader: 'replace',
query: {