Added loading and empty state to experience list

This commit is contained in:
Stefan Zermatten
2020-06-05 22:20:40 +02:00
parent db1ae5db3d
commit bc3fc9574a
7 changed files with 27 additions and 96 deletions

View File

@@ -21,7 +21,27 @@
<v-icon>refresh</v-icon>
</v-btn>
</template>
<v-list>
<div
v-if="!$subReady.experiences"
class="layout column align-center justify-center fill-height"
>
<v-progress-circular
indeterminate
size="240"
/>
</div>
<div
v-else-if="experiences.length === 0"
class="layout column align-center justify-center fill-height"
>
<v-icon style="font-size: 240px; width: 240px; height: 240px;">
$vuetify.icons.baby_face
</v-icon>
<p class="headline">
No experiences
</p>
</div>
<v-list v-else>
<v-slide-x-transition
group
mode="out"