2019-08-14 09:48:44 +00:00
|
|
|
<template>
|
|
|
|
<div class="column page-top-bar">
|
2019-12-28 16:26:42 +00:00
|
|
|
<img v-if="headerImage" :src="headerImage" alt="No image" />
|
2019-08-14 09:48:44 +00:00
|
|
|
<h2 class="page-sub-title">
|
2019-12-28 16:26:42 +00:00
|
|
|
{{ headerTitle }}
|
2019-08-14 09:48:44 +00:00
|
|
|
</h2>
|
2022-06-24 17:42:53 +00:00
|
|
|
<p v-if="headerContent" class="small-12 column wrap-content">
|
2019-12-28 16:26:42 +00:00
|
|
|
{{ headerContent }}
|
2022-09-01 07:57:08 +00:00
|
|
|
<span v-if="headerContentValue" class="content-value">
|
|
|
|
{{ headerContentValue }}
|
|
|
|
</span>
|
2019-08-14 09:48:44 +00:00
|
|
|
</p>
|
2022-06-10 13:59:52 +00:00
|
|
|
<slot />
|
2019-08-14 09:48:44 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
2020-08-05 12:16:17 +00:00
|
|
|
headerTitle: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
headerContent: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
2022-09-01 07:57:08 +00:00
|
|
|
headerContentValue: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
2020-08-05 12:16:17 +00:00
|
|
|
headerImage: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
2019-08-14 09:48:44 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
2022-06-24 17:42:53 +00:00
|
|
|
<style scoped lang="scss">
|
|
|
|
.wrap-content {
|
|
|
|
word-wrap: break-word;
|
2022-09-01 07:57:08 +00:00
|
|
|
.content-value {
|
|
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
}
|
2022-06-24 17:42:53 +00:00
|
|
|
}
|
|
|
|
</style>
|