Newer
Older
<div class="text-uppercase text-grey-9 text-h6 text-left q-ml-md">Collections</div>
<div
class="col-12 col-sm-6 col-md-4"
v-for="collection,idx in collections"
:key="idx"
>
<CollectionThumb :collection="collection" />
</div>
<div v-if="!collections || collections.length == 0">
<div class="text-grey text-h6 q-pa-md">No collection available</div>
</div>
</div>
<div class="row">
<div class="col-12 text-center">
<q-btn
class="text-grey-5"
flat
to="/collections"
>Browse all</q-btn>
</div>
</div>
</section>
</template>
<script>
import CollectionThumb from "../components/CollectionThumb";
export default {
// name: 'ComponentName',
components: {
CollectionThumb
},
},
computed: {
...mapGetters({ 'collections': 'collections/collections' })