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