Kleinanzeigen-Plugin 1.0.0

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 17:06:02 +00:00
commit f05c44733f
50 changed files with 3854 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<script setup>
import { Link } from '@inertiajs/vue3';
import { Panel } from '@inhaus/ui';
defineProps({ pending: { type: Array, required: true } });
</script>
<template>
<Panel title="Kleinanzeigen – Freigabe" action-label="Zur Freigabe" action-href="/kleinanzeigen/moderation">
<ul v-if="pending.length" class="ih:-mx-5 ih:divide-y ih:border-t">
<li v-for="l in pending" :key="l.id" class="ih:flex ih:items-center ih:gap-3 ih:px-5 ih:py-2.5">
<img v-if="l.thumb_url" :src="l.thumb_url" alt="" class="ih:size-10 ih:rounded ih:object-cover" />
<Link :href="l.url" class="ih:min-w-0 ih:flex-1 ih:truncate ih:text-sm ih:font-medium ih:hover:underline">{{ l.title }}</Link>
<span class="ih:shrink-0 ih:text-xs ih:text-muted-foreground">{{ l.type_label }}</span>
</li>
</ul>
<p v-else class="ih:text-sm ih:text-muted-foreground">Keine Anzeigen warten auf Freigabe.</p>
</Panel>
</template>