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