2021-07-31 14:45:28 -08:00
|
|
|
<template>
|
2021-12-04 14:18:46 -09:00
|
|
|
<v-card
|
|
|
|
color="background"
|
|
|
|
flat
|
|
|
|
class="pb-2"
|
|
|
|
:class="{
|
|
|
|
'mt-8': section,
|
|
|
|
}"
|
|
|
|
>
|
2025-06-20 00:09:12 +07:00
|
|
|
<v-card-title class="text-h5 pl-0 py-0" style="font-weight: normal;">
|
|
|
|
<v-icon
|
|
|
|
v-if="icon"
|
2025-06-28 15:59:58 +02:00
|
|
|
size="small"
|
2025-06-20 00:09:12 +07:00
|
|
|
start
|
|
|
|
>
|
2021-10-03 18:38:45 -08:00
|
|
|
{{ icon }}
|
|
|
|
</v-icon>
|
|
|
|
{{ title }}
|
|
|
|
</v-card-title>
|
2025-06-20 00:09:12 +07:00
|
|
|
<v-card-text
|
|
|
|
v-if="$slots.default"
|
|
|
|
class="pt-2 pl-0"
|
|
|
|
>
|
2021-10-09 13:08:23 -08:00
|
|
|
<p class="pb-0 mb-0">
|
|
|
|
<slot />
|
|
|
|
</p>
|
|
|
|
</v-card-text>
|
2025-06-28 15:59:58 +02:00
|
|
|
<v-divider class="mt-1 mb-3" />
|
2021-07-31 14:45:28 -08:00
|
|
|
</v-card>
|
|
|
|
</template>
|
|
|
|
|
2022-01-09 07:15:23 +01:00
|
|
|
<script lang="ts">
|
2025-06-20 00:09:12 +07:00
|
|
|
export default defineNuxtComponent({
|
2021-07-31 14:45:28 -08:00
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
2022-08-15 23:55:51 +02:00
|
|
|
required: true,
|
2021-08-06 16:28:12 -08:00
|
|
|
},
|
2021-10-03 18:38:45 -08:00
|
|
|
icon: {
|
|
|
|
type: String,
|
|
|
|
default: "",
|
|
|
|
},
|
2021-12-04 14:18:46 -09:00
|
|
|
section: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2021-08-06 16:28:12 -08:00
|
|
|
},
|
2022-01-09 07:15:23 +01:00
|
|
|
});
|
2021-07-31 14:45:28 -08:00
|
|
|
</script>
|