summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/send-mail.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/js/send-mail.js b/src/js/send-mail.js
new file mode 100644
index 0000000..a43dbd2
--- /dev/null
+++ b/src/js/send-mail.js
@@ -0,0 +1,15 @@
+const function sendMail() {
+ console.log("BLARGH");
+ const $form = Array.prototype.slice.call(document.querySelectorAll('#contact-form'), 0);
+ console.log(form);
+
+// Email.send({
+// SecureToken : "12ef64f4-0d3e-4d4c-8336-eef6b89645f1",
+// To : "amy@carpentertutoring.com",
+// From : "",
+// Subject : "Carpenter Tutoring Inquiry",
+// Body : ""
+// }).then(
+// message => alert(message)
+// );
+}