2022-07-19 09:14:46 +02:00
|
|
|
{{ $data := index site.Data site.Language.Lang }}
|
|
|
|
|
|
|
|
{{ if $data.contact.contact.enable }}
|
|
|
|
{{ with $data.contact.contact }}
|
|
|
|
{{"<!-- Start Contact Us -->" | safeHTML}}
|
|
|
|
<section id="contact" class="contact-us section-bg">
|
|
|
|
<div class="container pb-5">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
{{"<!-- section title -->" | safeHTML}}
|
|
|
|
<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-meghna"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{"<!-- /section title -->" | safeHTML}}
|
|
|
|
|
|
|
|
{{"<!-- Contact Details -->" | safeHTML}}
|
|
|
|
<div class="contact-info col-lg-6 wow fadeInUp" data-wow-duration="500ms">
|
2022-10-05 17:19:30 +02:00
|
|
|
<div class="p-3">
|
|
|
|
{{ with .subtitle }}
|
|
|
|
<h3>{{ . | markdownify }}</h3>
|
|
|
|
{{ end }}
|
|
|
|
{{ .content | markdownify }}
|
|
|
|
</div>
|
2022-09-08 15:24:41 +02:00
|
|
|
</div>
|
2022-07-19 09:14:46 +02:00
|
|
|
|
2022-10-05 17:19:30 +02:00
|
|
|
<div class="contact-details col-lg-6 mt-5 mt-lg-0">
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ range .contact_list }}
|
|
|
|
<div class="con-info clearfix">
|
|
|
|
<i class="{{ .icon }}"></i>
|
|
|
|
<span>{{ .info | markdownify }}</span>
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ end }}
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{"<!-- Contact Form -->" | safeHTML}}
|
|
|
|
{{ if .contact_form.enable }}
|
|
|
|
{{ with .contact_form }}
|
|
|
|
<div class="col-lg-6 wow fadeInUp" data-wow-duration="500ms" data-wow-delay="300ms">
|
|
|
|
<form id="contact-form" class="form-meghna" method="post" action="{{ .form_action }}" role="form">
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" placeholder="{{ .name }}" class="form-control" name="name" id="name">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="email" placeholder="{{ .email }}" class="form-control" name="email" id="email">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" placeholder="{{ .subject }}" class="form-control" name="subject" id="subject">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<textarea rows="6" placeholder="{{ .message }}" class="form-control" name="message" id="message"></textarea>
|
|
|
|
</div>
|
|
|
|
<div id="cf-submit">
|
|
|
|
<button type="submit" id="contact-submit" class="btn btn-transparent btn-block"
|
|
|
|
value="{{ .submit }}">{{ .submit }}</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{"<!-- /contact -->" | safeHTML}}
|
|
|
|
{{ end }}
|
2022-09-08 11:36:09 +02:00
|
|
|
{{ end }}
|