2021-11-25 14:17:02 -09:00
|
|
|
|
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,
|
|
|
|
}"
|
|
|
|
>
|
2021-11-25 14:17:02 -09:00
|
|
|
<v-card-title class="headline pl-0 py-0">
|
2021-10-03 18:38:45 -08:00
|
|
|
<v-icon v-if="icon !== ''" left>
|
|
|
|
{{ icon }}
|
|
|
|
</v-icon>
|
|
|
|
{{ title }}
|
|
|
|
</v-card-title>
|
2021-11-25 14:17:02 -09: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>
|
2021-12-04 14:18:46 -09:00
|
|
|
<v-divider class="mb-3"></v-divider>
|
2021-07-31 14:45:28 -08:00
|
|
|
</v-card>
|
|
|
|
</template>
|
|
|
|
|
2022-01-09 07:15:23 +01:00
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from "@nuxtjs/composition-api";
|
|
|
|
|
|
|
|
export default defineComponent({
|
2021-07-31 14:45:28 -08:00
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
2021-08-06 16:28:12 -08:00
|
|
|
default: "Place Holder",
|
|
|
|
},
|
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>
|