camp-homepage/themes/infinity-hugo/layouts/partials/contact.html
2020-07-06 22:09:52 +02:00

45 lines
2.1 KiB
HTML

{{ if .Site.Params.contact.enable }}
{{"<!-- Contact Section -->" | safeHTML}}
<section id="{{ i18n "contact" | urlize }}" class="section contact">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="block">
<div class="heading wow fadeInUp">
{{ with .Site.Params.contact.title }}
<h2>{{ . }}</h2>
{{ end }}
{{ with .Site.Params.contact.subtitle }}
<p>{{ . }}</p>
{{ end }}
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 offset-md-3">
<div class="form-group">
<form action="#" method="POST">
<div class="input-field">
<input type="text" class="form-control" placeholder="{{ i18n `yourName` }}" name="name">
</div>
<div class="input-field">
<input type="email" class="form-control" placeholder="{{ i18n `emailAddress` }}" name="email">
</div>
<div class="input-field">
<textarea class="form-control" placeholder="{{ i18n `yourMessage` }}" rows="3" name="message"></textarea>
</div>
<button class="btn btn-send" type="submit">{{ i18n "sendMe" }}</button>
</form>
<div id="success">
<p>{{ i18n "contactMessageSuccess" }}</p>
</div>
<div id="error">
<p>{{ i18n "contactMessageError" }}</p>
</div>
</div>
</div>
</div>
</div>
</section>
{{ end }}