Dodanie widoku błędu w zastępstwie za widok RJ

This commit is contained in:
2022-02-04 01:29:19 +01:00
parent 959f35e203
commit 3219d625a9
2 changed files with 53 additions and 2 deletions
+51
View File
@@ -0,0 +1,51 @@
<template>
<div class="error-view">
<div class="container">
<img :src="icons.error" alt="error" />
<div class="desc">Z powodu błędu w zapisywaniu rozkładów jazdy w tej zakładce można do odwołania nacieszyć się animacją sygnału S1a. Jak naprawię to będzie :)</div>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
export default defineComponent({
data: () => ({
icons: {
error: require('@/assets/icon-error.svg'),
},
}),
});
</script>
<style lang="scss" scoped>
.error-view {
display: flex;
justify-content: center;
align-items: center;
margin-top: 5em;
padding: 1em;
}
.container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
max-width: 500px;
}
.desc {
text-align: center;
font-size: 1.4em;
margin-top: 1em;
}
img {
width: 15em;
}
</style>