18 lines
796 B
Vue
18 lines
796 B
Vue
<script setup lang="ts">
|
|
import { classes } from './support';
|
|
|
|
// The form of a request (callback, question, quote, contact) posts to the requests module of the package (`manager.leads.form`), with
|
|
// its honeypot, its signed moment and Turnstile. That needs fields and a token the site knows how to build, so the shipped component only
|
|
// shows the title and the text: a site replaces it with its own form (`components` of the renderer), see the README.
|
|
defineProps<{ data: Record<string, any>; style?: Record<string, string> }>();
|
|
</script>
|
|
|
|
<template>
|
|
<section :class="['mb-block mb-form', classes(style)]">
|
|
<div class="mb-inner">
|
|
<h2 v-if="data.title">{{ data.title }}</h2>
|
|
<p v-if="data.text">{{ data.text }}</p>
|
|
</div>
|
|
</section>
|
|
</template>
|