21 lines
498 B
Vue
21 lines
498 B
Vue
<script setup>
|
|
defineProps({
|
|
kicker: { type: String, default: '' },
|
|
title: { type: String, required: true },
|
|
desc: { type: String, default: '' }
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<header class="page-head">
|
|
<div>
|
|
<div v-if="kicker" class="eyebrow">{{ kicker }}</div>
|
|
<h1 class="page-title">{{ title }}</h1>
|
|
<p v-if="desc" class="subtitle">{{ desc }}</p>
|
|
</div>
|
|
<div v-if="$slots.actions" class="actions">
|
|
<slot name="actions" />
|
|
</div>
|
|
</header>
|
|
</template>
|