From cbf5d4b71d807e53e2252e8767364f7a7e761b34 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 28 Sep 2018 00:48:17 +0900 Subject: [PATCH] wip --- package.json | 1 + .../app/desktop/views/pages/welcome.vue | 8 +- src/client/assets/title.light.svg | 140 ------------------ .../assets/{title.dark.svg => title.svg} | 16 +- webpack.config.ts | 2 + 5 files changed, 16 insertions(+), 151 deletions(-) delete mode 100644 src/client/assets/title.light.svg rename src/client/assets/{title.dark.svg => title.svg} (92%) diff --git a/package.json b/package.json index a3e3b56be4..347e9d0c24 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue index 261642cab4..f8f49bf997 100644 --- a/src/client/app/desktop/views/pages/welcome.vue +++ b/src/client/app/desktop/views/pages/welcome.vue @@ -14,7 +14,7 @@

{{ name }}

-

+

{{ host }} - @@ -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 diff --git a/src/client/assets/title.light.svg b/src/client/assets/title.light.svg deleted file mode 100644 index 95ad11c399..0000000000 --- a/src/client/assets/title.light.svg +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/src/client/assets/title.dark.svg b/src/client/assets/title.svg similarity index 92% rename from src/client/assets/title.dark.svg rename to src/client/assets/title.svg index 10139024ad..0e4e0b8b3b 100644 --- a/src/client/assets/title.dark.svg +++ b/src/client/assets/title.svg @@ -97,44 +97,44 @@ diff --git a/webpack.config.ts b/webpack.config.ts index 3822080574..3b14ee4a8a 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -134,6 +134,8 @@ module.exports = { preserveWhitespace: false } } + }, { + loader: 'vue-svg-inline-loader' }, { loader: 'replace', query: {