Client - display page error if can not fetch app config
This commit is contained in:
31
fittrackee_client/src/components/Common/Loader.vue
Normal file
31
fittrackee_client/src/components/Common/Loader.vue
Normal file
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div class="loader" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
export default defineComponent({
|
||||
name: 'Loader',
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import '~@/scss/base';
|
||||
.loader {
|
||||
animation: spin 2s linear infinite;
|
||||
border: 14px solid var(--app-loading-color);
|
||||
border-top: 14px solid var(--app-loading-top-color);
|
||||
border-radius: 50%;
|
||||
height: 60px;
|
||||
margin-left: 41%;
|
||||
width: 60px;
|
||||
}
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user