Files
archie/ui/src/settings/ConfigCard.vue
T
sam 1103b4f1e6 feat(tools): a capture-intake sender for exercising the Events surfaces
Posts to /webhooks/capture/{source} with a realistic GitHub, Sentry, form or
large payload (or an exact body), reads the capture back so a silent drop is
visible immediately, and names the intake's rate and size limits when it
hits them. Wired as task webhook:send.
2026-09-21 01:10:30 +10:00

26 lines
845 B
Vue

<script setup lang="ts">
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
/**
* One titled card of the System surface. Every card on the six pages opens the
* same way, so it is a component rather than six copies of the same CardHeader
* markup. A description is reserved for context the card cannot show itself.
*
* The card owns its own bottom margin: the pages stack cards directly, with
* nothing between them.
*/
defineProps<{ title?: string; description?: string }>();
</script>
<template>
<Card class="mb-4">
<CardHeader v-if="title || description">
<CardTitle v-if="title">{{ title }}</CardTitle>
<CardDescription v-if="description">{{ description }}</CardDescription>
</CardHeader>
<CardContent>
<slot />
</CardContent>
</Card>
</template>