47 lines
757 B
Vue
47 lines
757 B
Vue
<template>
|
|
<section class="vikunja-loading">
|
|
<img alt="Vikunja" :src="logoUrl" width="100" height="100"/>
|
|
<p>
|
|
<span class="loader-container is-loading-small is-loading"></span>
|
|
{{ $t('home.vikunjaLoading') }}
|
|
</p>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import logoUrl from '@/assets/logo.svg'
|
|
|
|
export default {
|
|
name: 'vikunja-loading',
|
|
data() {
|
|
return {
|
|
logoUrl,
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.vikunja-loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
flex-direction: column;
|
|
|
|
img {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.loader-container {
|
|
margin-right: 1rem;
|
|
|
|
&.is-loading:after {
|
|
border-left-color: $grey-400;
|
|
border-bottom-color: $grey-400;
|
|
}
|
|
}
|
|
}
|
|
</style>
|