diff --git a/web/src/App.vue b/web/src/App.vue index f170168..e2df581 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,9 +1,22 @@ @@ -25,6 +38,9 @@ export default { gameState() { return this.$store.state.view; }, + isMobile () { + return navigator == null || navigator.userAgent.match(/iPhone|iPod|Android/) != null; + }, }, methods: {}, } @@ -44,4 +60,10 @@ html, body { padding: 0; margin: 0; } + +.error { + border: solid 2px red; + margin: 50% auto; + width: 90%; +} \ No newline at end of file