2021-09-04 20:24:32 -08:00
|
|
|
<template>
|
|
|
|
<div class="mt-4">
|
|
|
|
<section class="d-flex flex-column align-center">
|
2025-06-20 00:09:12 +07:00
|
|
|
<slot name="header" />
|
|
|
|
<h2 class="text-h5">
|
|
|
|
<slot name="title">
|
|
|
|
👋 Here's a Title
|
|
|
|
</slot>
|
2021-09-04 20:24:32 -08:00
|
|
|
</h2>
|
|
|
|
|
|
|
|
<h3 class="subtitle-1">
|
2025-06-20 00:09:12 +07:00
|
|
|
<slot />
|
2021-09-04 20:24:32 -08:00
|
|
|
</h3>
|
|
|
|
</section>
|
2021-10-19 18:45:03 -08:00
|
|
|
<section class="d-flex">
|
2025-06-20 00:09:12 +07:00
|
|
|
<slot name="content" />
|
2021-10-19 18:45:03 -08:00
|
|
|
</section>
|
2025-06-20 00:09:12 +07:00
|
|
|
<v-divider
|
|
|
|
v-if="divider"
|
|
|
|
class="my-4"
|
|
|
|
/>
|
2021-09-04 20:24:32 -08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-09 07:15:23 +01:00
|
|
|
<script lang="ts">
|
2025-06-20 00:09:12 +07:00
|
|
|
export default defineNuxtComponent({
|
2021-09-04 20:24:32 -08:00
|
|
|
props: {
|
|
|
|
divider: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
},
|
2022-01-09 07:15:23 +01:00
|
|
|
});
|
|
|
|
</script>
|
2025-06-20 00:09:12 +07:00
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.subtitle-1 {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
color: var(--v-text-caption);
|
|
|
|
}
|
|
|
|
</style>
|