summaryrefslogtreecommitdiff
path: root/src/client/components/error.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-09 21:18:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-09 21:18:46 +0900
commitca2e53bd6e3de50f2fdf62da16734873be37fcc4 (patch)
treee09bc61c849434f8330d39e3ec97d46ebc7c2b3d /src/client/components/error.vue
parentfeat(client): Add sound :musical_note: (diff)
downloadsharkey-ca2e53bd6e3de50f2fdf62da16734873be37fcc4.tar.gz
sharkey-ca2e53bd6e3de50f2fdf62da16734873be37fcc4.tar.bz2
sharkey-ca2e53bd6e3de50f2fdf62da16734873be37fcc4.zip
:art:
Diffstat (limited to 'src/client/components/error.vue')
-rw-r--r--src/client/components/error.vue12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/client/components/error.vue b/src/client/components/error.vue
index fea81305ed..b1d91fb3ef 100644
--- a/src/client/components/error.vue
+++ b/src/client/components/error.vue
@@ -1,9 +1,11 @@
<template>
-<div class="mjndxjcg _panel">
- <img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
- <p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p>
- <mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button>
-</div>
+<transition :name="$store.state.device.animation ? 'zoom' : ''" appear>
+ <div class="mjndxjcg _panel">
+ <img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
+ <p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p>
+ <mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button>
+ </div>
+</transition>
</template>
<script lang="ts">