17 lines
470 B
Vue
17 lines
470 B
Vue
<script setup lang="ts">
|
|
import Buttons from './Buttons.vue';
|
|
import { classes } from './support';
|
|
|
|
defineProps<{ data: Record<string, any>; style?: Record<string, string> }>();
|
|
</script>
|
|
|
|
<template>
|
|
<section :class="['mb-block mb-cta', classes(style)]">
|
|
<div class="mb-inner">
|
|
<h2>{{ data.title }}</h2>
|
|
<p v-if="data.text">{{ data.text }}</p>
|
|
<Buttons :buttons="data.buttons" />
|
|
</div>
|
|
</section>
|
|
</template>
|