summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/views
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-07 18:55:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-07 18:55:02 +0900
commit7f0b9d933db747d29d033491047fca7ef0d59b97 (patch)
tree47e6c04db5a72a12d3e87d14ffef12160a2d4a50 /src/web/app/mobile/views
parentwip (diff)
downloadsharkey-7f0b9d933db747d29d033491047fca7ef0d59b97.tar.gz
sharkey-7f0b9d933db747d29d033491047fca7ef0d59b97.tar.bz2
sharkey-7f0b9d933db747d29d033491047fca7ef0d59b97.zip
wip
Diffstat (limited to 'src/web/app/mobile/views')
-rw-r--r--src/web/app/mobile/views/components/ui.nav.vue1
-rw-r--r--src/web/app/mobile/views/pages/othello.vue16
2 files changed, 17 insertions, 0 deletions
diff --git a/src/web/app/mobile/views/components/ui.nav.vue b/src/web/app/mobile/views/components/ui.nav.vue
index 62ea83526f..a58225a172 100644
--- a/src/web/app/mobile/views/components/ui.nav.vue
+++ b/src/web/app/mobile/views/components/ui.nav.vue
@@ -18,6 +18,7 @@
<li><router-link to="/">%fa:home%%i18n:mobile.tags.mk-ui-nav.home%%fa:angle-right%</router-link></li>
<li><router-link to="/i/notifications">%fa:R bell%%i18n:mobile.tags.mk-ui-nav.notifications%<template v-if="hasUnreadNotifications">%fa:circle%</template>%fa:angle-right%</router-link></li>
<li><router-link to="/i/messaging">%fa:R comments%%i18n:mobile.tags.mk-ui-nav.messaging%<template v-if="hasUnreadMessagingMessages">%fa:circle%</template>%fa:angle-right%</router-link></li>
+ <li><router-link to="/game/othello">%fa:gamepad%ゲーム%fa:angle-right%</router-link></li>
</ul>
<ul>
<li><a :href="chUrl" target="_blank">%fa:tv%%i18n:mobile.tags.mk-ui-nav.ch%%fa:angle-right%</a></li>
diff --git a/src/web/app/mobile/views/pages/othello.vue b/src/web/app/mobile/views/pages/othello.vue
new file mode 100644
index 0000000000..67f4add07f
--- /dev/null
+++ b/src/web/app/mobile/views/pages/othello.vue
@@ -0,0 +1,16 @@
+<template>
+<mk-ui>
+ <span slot="header">%fa:gamepad%オセロ</span>
+ <mk-othello/>
+</mk-ui>
+</template>
+
+<script lang="ts">
+import Vue from 'vue';
+export default Vue.extend({
+ mounted() {
+ document.title = 'Misskey オセロ';
+ document.documentElement.style.background = '#fff';
+ }
+});
+</script>