Skip to content

Beautiful Open-Source Form Builder

Create form abuse page (#731)

Chirag Chhatrala5f0140c6dfb9
diff --git a/client/components/pages/OpenFormFooter.vue b/client/components/pages/OpenFormFooter.vue
index f9446d260..6f47a834a 100644
--- a/client/components/pages/OpenFormFooter.vue
+++ b/client/components/pages/OpenFormFooter.vue
@@ -63,6 +63,13 @@
>
Terms & Conditions
</router-link>
+
+ <router-link
+ :to="{ name: 'report-abuse' }"
+ class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
+ >
+ Report Abuse
+ </router-link>
</template>
</div>
</div>
diff --git a/client/pages/report-abuse.vue b/client/pages/report-abuse.vue
new file mode 100644
index 000000000..43b6e3b4c
--- /dev/null
+++ b/client/pages/report-abuse.vue
@@ -0,0 +1,36 @@
+<template>
+ <div>
+ <div
+ class="h-screen w-screen mt-4"
+ style="height: 100%;"
+ >
+ <iframe
+ id="opnform-form-abuse-report-wnociq"
+ style="border:none;width:100%;min-height: 1000px;"
+ src="https://opnform.com/forms/opnform-form-abuse-report-wnociq"
+ />
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script setup>
+useOpnSeoMeta({
+ title: "Report Abuse",
+})
+definePageMeta({
+ middleware: ["self-hosted"]
+})
+defineRouteRules({
+ swr: 3600,
+})
+
+useHead({
+ script: [
+ {
+ src: 'https://opnform.com/widgets/iframe.min.js',
+ onload: "initEmbed('opnform-form-abuse-report-wnociq')"
+ }
+ ]
+})
+</script>