<script setup>
/** Propiedades */
defineProps({
    subtitle: String,
    title: String
})
</script>

<template>
    <div class="text-center p-6 bg-primary dark:bg-primary-d border-b">
        <slot />
        <p class="pt-2 text-lg font-bold text-gray-50">
            {{ title }}
        </p>
        <p v-if="subtitle"
            class="text-sm text-gray-50"
        >
            {{ subtitle }}
        </p>
    </div>
</template>