2021-06-10 04:05:15 +00:00
|
|
|
<template>
|
|
|
|
<div class="column page-top-banner">
|
|
|
|
<h2 class="page-sub-title">
|
|
|
|
{{ headerTitle }}
|
|
|
|
</h2>
|
|
|
|
<p v-if="headerContent" class="small-12 column">
|
|
|
|
{{ headerContent }}
|
|
|
|
</p>
|
2022-06-10 13:59:52 +00:00
|
|
|
<slot />
|
2021-06-10 04:05:15 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
headerTitle: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
headerContent: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.page-top-banner {
|
2022-09-02 04:52:15 +00:00
|
|
|
border-bottom: 1px solid var(--color-border-light);
|
|
|
|
background: var(--s-25);
|
2021-06-10 04:05:15 +00:00
|
|
|
padding: var(--space-normal) var(--space-large) 0;
|
|
|
|
}
|
|
|
|
</style>
|