From 92826c406a5109a054aadf473d078a10b1f4ecd7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 11 Feb 2018 12:08:43 +0900 Subject: [PATCH] wip --- locales/index.ts | 2 +- src/web/app/common/-tags/forkit.tag | 40 ------------------- .../app/common/views/components/forkit.vue | 40 +++++++++++++++++++ src/web/app/common/views/components/index.ts | 2 + .../app/common/views/components/signin.vue | 12 +++--- .../app/common/views/components/signup.vue | 30 +++++++++----- src/web/app/config.ts | 10 +++++ src/web/app/desktop/script.ts | 16 ++++---- src/web/app/desktop/views/pages/index.vue | 3 +- src/web/app/desktop/views/pages/welcome.vue | 19 ++++++++- src/web/app/init.ts | 7 +++- src/web/app/mobile/script.ts | 6 +-- 12 files changed, 113 insertions(+), 74 deletions(-) delete mode 100644 src/web/app/common/-tags/forkit.tag create mode 100644 src/web/app/common/views/components/forkit.vue diff --git a/locales/index.ts b/locales/index.ts index 0593af366c..ced3b4cb32 100644 --- a/locales/index.ts +++ b/locales/index.ts @@ -11,7 +11,7 @@ const loadLang = lang => yaml.safeLoad( const native = loadLang('ja'); const langs = { - 'en': loadLang('en'), + //'en': loadLang('en'), 'ja': native }; diff --git a/src/web/app/common/-tags/forkit.tag b/src/web/app/common/-tags/forkit.tag deleted file mode 100644 index 6a8d06e564..0000000000 --- a/src/web/app/common/-tags/forkit.tag +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - diff --git a/src/web/app/common/views/components/forkit.vue b/src/web/app/common/views/components/forkit.vue new file mode 100644 index 0000000000..54fc011d16 --- /dev/null +++ b/src/web/app/common/views/components/forkit.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/web/app/common/views/components/index.ts b/src/web/app/common/views/components/index.ts index b1c5df8197..968d5d7a96 100644 --- a/src/web/app/common/views/components/index.ts +++ b/src/web/app/common/views/components/index.ts @@ -2,6 +2,8 @@ import Vue from 'vue'; import signin from './signin.vue'; import signup from './signup.vue'; +import forkit from './forkit.vue'; Vue.component('mk-signin', signin); Vue.component('mk-signup', signup); +Vue.component('mk-forkit', forkit); diff --git a/src/web/app/common/views/components/signin.vue b/src/web/app/common/views/components/signin.vue index ee26110a43..fe28ddd24c 100644 --- a/src/web/app/common/views/components/signin.vue +++ b/src/web/app/common/views/components/signin.vue @@ -13,20 +13,22 @@ -