Compare commits

...

2 Commits

Author SHA1 Message Date
2abfd38dd7 Add list view component to homepage 2025-08-14 16:37:52 +02:00
1cdfafc90f Add padding to navigation drawer profile item 2025-08-14 16:37:42 +02:00
2 changed files with 27 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
<v-navigation-drawer v-model="drawer" temporary>
<v-list-item
class="ma-4 ml-8"
:prepend-avatar="data && data.image ? data.image : ''"
:title="data && data.name ? data.name : ''"
></v-list-item>

View File

@@ -3,6 +3,32 @@
class="fill-height d-flex flex-column align-center justify-center text-center"
>
<div class="mt-3">My Application's Home Page</div>
<v-card
class="mx-auto"
v-if="listasStore.listas.length > 0"
min-width="50vw"
>
<v-list-item
class="text-pink-lighten-1 bg-teal-lighten-4"
v-for="lista in listasStore.listas"
:key="lista.id"
:subtitle="lista.descripcion"
:title="lista.name"
>
<template v-slot:prepend>
<v-avatar color="grey-lighten-1">
<v-icon color="white">mdi-account</v-icon>
</v-avatar>
</template>
<template v-slot:append>
<v-btn
color="grey-lighten-1"
icon="mdi-information"
variant="text"
></v-btn>
</template> </v-list-item
></v-card>
<div>
{{ listasStore.listas }}
{{ data }}