Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uicardiodev/hugo-uilite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/contact.html')
-rw-r--r--layouts/partials/contact.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html
new file mode 100644
index 0000000..306f4b3
--- /dev/null
+++ b/layouts/partials/contact.html
@@ -0,0 +1,29 @@
+{{ $config := .Site.Data.config }}
+<section id="contact" class="bg-light d-flex align-items-center" style="height: 100vh;">
+ <div class="container">
+ <h2 class="heading mb-3">Contact</h2>
+
+ <div class="text-success my-3">
+ {{ $config.message }}
+ </div>
+
+ <form action="https://formspree.io/{{ $config.email }}" method="post">
+ <div class="form-row">
+ <div class="col-12 col-xl-6 col-lg-6 col-md-6">
+ <label>Name</label>
+ <input type="text" class="form-control" name="name" placeholder="Name">
+ </div>
+ <div class="col-12 col-xl-6 col-lg-6 col-md-6">
+ <label>Email</label>
+ <input type="email" class="form-control" name="_replyto" placeholder="Email">
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label>Message</label>
+ <textarea placeholder="Message" name="message" class="form-control" rows="4"></textarea>
+ </div>
+ <button type="submit" class="btn btn-dark">Submit</button>
+ </form>
+ </div>
+</section> \ No newline at end of file