mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 07:44:23 +01:00
Add: contact partial
This commit is contained in:
parent
cfb54bdf40
commit
066e75539a
1 changed files with 54 additions and 0 deletions
54
layouts/partials/contact.html
Normal file
54
layouts/partials/contact.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
{{ $data := index site.Data }}
|
||||
|
||||
{{ if $data.contact.contact.enable }}
|
||||
{{ with $data.contact.contact}}
|
||||
{{"<!-- /Contact Section -->" | safeHTML}}
|
||||
<section id="contact" class="section bg-two">
|
||||
<div class="container pb-5">
|
||||
{{"<!-- Title -->" | safeHTML}}
|
||||
<div class="col-lg-12">
|
||||
<div class="title text-center wow fadeIn" data-wow-duration="500ms">
|
||||
<h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
|
||||
{{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2>
|
||||
<div class="border-biotech"></div>
|
||||
</div>
|
||||
</div>
|
||||
{{"<!-- /Title -->" | safeHTML}}
|
||||
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
||||
<form name="contact" method="post" action="/thank-you/" method="POST" data-netlify="true">
|
||||
<input type="hidden" name="form-name" value="contact" />
|
||||
<h3 class="text-center">Drop Me a Message</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<input id="contact-form-name" type="text" name="Name" class="form-control" placeholder="Your Name *" value="" required="true" autocomplete="off" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="contact-form-email" type="email" name="Email" class="form-control" placeholder="Your Email *" value="" required="true" autocomplete="off"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="contact-form-subject" type="text" name="Subject" class="form-control" placeholder="Subject *" value="" required="" autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="form-group">
|
||||
<textarea id="contact-form-message" class="form-control" placeholder="What's up?" rows="8" style="width: 100%; height: 150px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
<div class="form-group">
|
||||
<div class="h-captcha" data-theme="dark" data-sitekey="7e9fcbed-3001-42cb-a416-0966c3d9123f"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="form-submit" type="submit" name="Submit" class="btn btn-light" value="Submit" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
{{"<!-- /Contact Section -->" | safeHTML}}
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Reference in a new issue