Files
Twyco b79d93fede
CI/CD / test_and_check_app (push) Failing after 48s
CI/CD / Publish immutable image (push) Skipped
formatted, added team index, create, show
2026-09-19 01:09:55 +02:00

29 lines
578 B
Vue

<script setup lang="ts">
type Props = {
title: string;
description?: string;
variant?: 'default' | 'small';
};
withDefaults(defineProps<Props>(), {
variant: 'default',
});
</script>
<template>
<header :class="variant === 'small' ? '' : 'mb-8 space-y-0.5'">
<h2
:class="
variant === 'small'
? 'mb-0.5 text-base font-medium'
: 'text-xl font-semibold tracking-tight'
"
>
{{ title }}
</h2>
<p v-if="description" class="text-muted-foreground text-sm">
{{ description }}
</p>
</header>
</template>