2020-01-29 21:37:25 +02:00
|
|
|
<template>
|
2022-12-30 06:37:14 +02:00
|
|
|
<Transition :name="$store.state.animation ? 'zoom' : ''" appear>
|
2020-10-17 14:12:00 +03:00
|
|
|
<div class="mjndxjcg">
|
2020-07-09 15:18:46 +03:00
|
|
|
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
|
2022-12-19 12:01:30 +02:00
|
|
|
<p><i class="ti ti-alert-triangle"></i> {{ i18n.ts.somethingHappened }}</p>
|
2022-07-20 16:24:26 +03:00
|
|
|
<MkButton class="button" @click="() => $emit('retry')">{{ i18n.ts.retry }}</MkButton>
|
2020-07-09 15:18:46 +03:00
|
|
|
</div>
|
2022-12-30 06:37:14 +02:00
|
|
|
</Transition>
|
2020-01-29 21:37:25 +02:00
|
|
|
</template>
|
|
|
|
|
2022-01-07 08:02:25 +02:00
|
|
|
<script lang="ts" setup>
|
2022-09-06 12:21:49 +03:00
|
|
|
import MkButton from '@/components/MkButton.vue';
|
2022-07-20 16:24:26 +03:00
|
|
|
import { i18n } from '@/i18n';
|
2020-01-29 21:37:25 +02:00
|
|
|
</script>
|
|
|
|
|
2022-12-27 11:29:39 +02:00
|
|
|
<style lang="scss" scoped>
|
2020-02-05 07:39:52 +02:00
|
|
|
.mjndxjcg {
|
2020-01-29 21:37:25 +02:00
|
|
|
padding: 32px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> p {
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .button {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2020-02-08 11:35:42 +02:00
|
|
|
|
|
|
|
> img {
|
|
|
|
vertical-align: bottom;
|
2020-07-11 04:13:11 +03:00
|
|
|
height: 128px;
|
2020-02-08 11:35:42 +02:00
|
|
|
margin-bottom: 16px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
2020-01-29 21:37:25 +02:00
|
|
|
}
|
|
|
|
</style>
|