summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/contact-form.liquid63
-rw-r--r--_includes/head.liquid1
2 files changed, 63 insertions, 1 deletions
diff --git a/_includes/contact-form.liquid b/_includes/contact-form.liquid
new file mode 100644
index 0000000..52f696d
--- /dev/null
+++ b/_includes/contact-form.liquid
@@ -0,0 +1,63 @@
+ <form name="inquiry">
+ <div class="field">
+ <div class="control has-icons-left">
+ <span class="icon">
+ <i class="iconify" data-icon="mdi-account"></i>
+ </span>
+ <input
+ name="name"
+ class="input is-rounded"
+ type="text"
+ placeholder="name"
+ />
+ </div>
+ </div>
+ <div class="field">
+ <div class="control has-icons-left">
+ <span class="icon">
+ <i class="iconify" data-icon="mdi-email"></i>
+ </span>
+ <input
+ name="from"
+ class="input is-rounded"
+ type="text"
+ placeholder="email address"
+ />
+ </div>
+ </div>
+ <div class="field">
+ <div class="control">
+ <textarea
+ name="body"
+ class="textarea"
+ placeholder="question/comment"
+ spellcheck="true"
+ ></textarea>
+ </div>
+ </div>
+ <div class="field is-grouped is-grouped-right">
+ <div class="control">
+ <button class="button is-rounded is-primary" type="submit">
+ <span class="icon">
+ <i class="iconify" data-icon="mdi-check"></i>
+ </span>
+ <span>
+ Submit
+ </span>
+ </button>
+ </div>
+ </div>
+
+ <div
+ id="errorBox"
+ class="notification is-danger"
+ style="display: none;"
+ ></div>
+ <div
+ id="successBox"
+ class="notification is-success"
+ style="display: none;"
+ >
+ Message sent!
+ </div>
+ </form>
diff --git a/_includes/head.liquid b/_includes/head.liquid
index a1a082e..17245e8 100644
--- a/_includes/head.liquid
+++ b/_includes/head.liquid
@@ -7,5 +7,4 @@
<meta property="og:description" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
-<title>{{ page.title }}</title>
<link rel="stylesheet" href="index.css" />