14 lines
460 B
Vue
14 lines
460 B
Vue
<script setup>
|
|
import { Panel } from '@inhaus/ui';
|
|
import ListingCard from '../components/ListingCard.vue';
|
|
|
|
defineProps({ listings: { type: Array, required: true } });
|
|
</script>
|
|
|
|
<template>
|
|
<Panel title="Kleinanzeigen" action-label="Alle Anzeigen" action-href="/kleinanzeigen">
|
|
<div class="ih:grid ih:grid-cols-2 ih:gap-2">
|
|
<ListingCard v-for="l in listings" :key="l.id" :listing="l" compact />
|
|
</div>
|
|
</Panel>
|
|
</template>
|