From 87ce647540ef2372ef1a9d14d33b798e5f94658a Mon Sep 17 00:00:00 2001 From: Alvaro Jose Date: Tue, 17 Oct 2023 14:34:49 +0200 Subject: [PATCH] fix: remove form integration --- docusaurus.config.js | 10 ---------- static/js/frombutton.js | 44 ----------------------------------------- 2 files changed, 54 deletions(-) delete mode 100644 static/js/frombutton.js diff --git a/docusaurus.config.js b/docusaurus.config.js index 0b34857..37f71e3 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -142,16 +142,6 @@ const config = { indexName: 'tarant-js' } }), - scripts: [ - { - src: 'https://formspree.io/js/formbutton-v1.min.js', - defer: true, - }, - { - src: `/js/frombutton.js`, - defer: true, - }, - ], }; module.exports = config; diff --git a/static/js/frombutton.js b/static/js/frombutton.js deleted file mode 100644 index 2f42fa3..0000000 --- a/static/js/frombutton.js +++ /dev/null @@ -1,44 +0,0 @@ -window.formbutton=window.formbutton||function(){(formbutton.q=formbutton.q||[]).push(arguments)}; -/* customize formbutton below*/ -formbutton("create", { -action: "https://formspree.io/f/xyyabokb", -title: "How can we help?", -fields: [ - { - type: "text", - label: "Name:", - name: "name", - required: true, - placeholder: "Your Name" - }, - { - type: "email", - label: "Email:", - name: "email", - required: true, - placeholder: "your@email.com" - }, - { - type: "text", - label: "Company:", - name: "name", - required: false, - placeholder: "Your Company" - }, - { - type: "textarea", - label: "Additional Comments:", - name: "additional_comments", - placeholder: "anything else?", - }, - { type: "submit" } -], -styles: { - title: { - backgroundColor: "#c02756" - }, - button: { - backgroundColor: "#c02756" - } -} -}); \ No newline at end of file