Add common layout components

This commit is contained in:
Bubka
2023-09-22 15:35:58 +02:00
parent c63603ae04
commit f6484bd73d
3 changed files with 46 additions and 2 deletions

View File

@ -0,0 +1,31 @@
<template>
<responsive-width-wrapper>
<h1 class="title has-text-grey-dark" v-html="title" v-if="title"></h1>
<div id="punchline" v-if="punchline" class="block" v-html="punchline"></div>
<slot />
</responsive-width-wrapper>
</template>
<script>
export default {
name: 'FormWrapper',
data() {
return {
}
},
props: {
title: {
type: String,
default: ''
},
punchline: {
type: String,
default: ''
},
}
}
</script>