Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Failing after 15m6s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 15m58s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 15m42s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 15m21s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 1h1m41s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 1h2m13s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 23m20s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 23m33s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 1m17s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m57s
Feed-Registry mit Anbietern (Neu im Team, Neuigkeiten, Termine, Umfragen), Schnellaktionen je nach Rechten, Nachladen über /feed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
27 lines
1,022 B
Vue
27 lines
1,022 B
Vue
<script setup>
|
|
import { Link } from '@inertiajs/vue3';
|
|
import { ChevronRight } from '@lucide/vue';
|
|
|
|
defineProps({
|
|
title: { type: String, default: '' },
|
|
actionLabel: { type: String, default: '' },
|
|
actionHref: { type: String, default: '' },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<section class="rounded-lg border bg-card text-card-foreground">
|
|
<header v-if="title || $slots.actions" class="flex items-center justify-between gap-4 px-5 pt-4 pb-3">
|
|
<h2 v-if="title" class="text-base font-semibold">{{ title }}</h2>
|
|
<slot name="actions">
|
|
<Link v-if="actionHref" :href="actionHref" class="inline-flex items-center gap-0.5 text-[13px] font-medium text-brand-text hover:underline">
|
|
{{ actionLabel }}
|
|
<ChevronRight class="size-3.5" />
|
|
</Link>
|
|
</slot>
|
|
</header>
|
|
<div class="px-5 pb-5" :class="{ 'pt-5': !title && !$slots.actions }">
|
|
<slot />
|
|
</div>
|
|
</section>
|
|
</template>
|