2023-10-04 10:43:59 +02:00
|
|
|
<script setup>
|
|
|
|
const props = defineProps({
|
|
|
|
title: {
|
|
|
|
type: String,
|
|
|
|
default: ''
|
|
|
|
},
|
|
|
|
punchline: {
|
|
|
|
type: String,
|
|
|
|
default: ''
|
|
|
|
},
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
2023-09-22 15:35:58 +02:00
|
|
|
<template>
|
2023-09-27 10:37:59 +02:00
|
|
|
<ResponsiveWidthWrapper>
|
2023-10-04 10:43:59 +02:00
|
|
|
<h1 class="title has-text-grey-dark" v-html="$t(title)" v-if="title"></h1>
|
|
|
|
<div id="punchline" v-if="punchline" class="block" v-html="$t(punchline)" />
|
2023-09-22 15:35:58 +02:00
|
|
|
<slot />
|
2023-09-27 10:37:59 +02:00
|
|
|
</ResponsiveWidthWrapper>
|
2023-10-04 10:43:59 +02:00
|
|
|
</template>
|