Init
This commit is contained in:
48
themes/educenter-hugo/layouts/contact/list.html
Normal file
48
themes/educenter-hugo/layouts/contact/list.html
Normal file
@ -0,0 +1,48 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<!-- contact -->
|
||||
<section class="section bg-gray">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h2 class="section-title">{{ i18n "contact_us" }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-7 mb-4 mb-lg-0">
|
||||
<form action="{{ .Site.Params.contact_form_action | safeURL }}" method="POST">
|
||||
<input type="text" class="form-control mb-3" id="name" name="name" placeholder="Your Name">
|
||||
<input type="email" class="form-control mb-3" id="mail" name="mail" placeholder="Your Email">
|
||||
<input type="text" class="form-control mb-3" id="subject" name="subject" placeholder="Subject">
|
||||
<textarea name="message" id="message" class="form-control mb-3" placeholder="Your Message"></textarea>
|
||||
<button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-5 content">
|
||||
{{ .Content }}
|
||||
<a href="tel:{{ .Site.Params.mobile }}" class="text-color h5 d-block">{{ .Site.Params.mobile }}</a>
|
||||
<a href="mailto:{{ .Site.Params.email }}" class="mb-5 text-color h5 d-block">{{ .Site.Params.email }}</a>
|
||||
<p>{{ .Site.Params.address | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /contact -->
|
||||
|
||||
<!-- gmap -->
|
||||
<section class="section pt-0">
|
||||
<!-- Google Map -->
|
||||
<div class="map_canvas">
|
||||
<iframe width="100%" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=11.963604390621185%2C51.472637532848985%2C11.967144906520845%2C51.474201296827125&layer=mapnik&marker=51.473419421538615%2C11.965374648571014"></iframe>
|
||||
</div>
|
||||
<style>
|
||||
.map_canvas {
|
||||
overflow:hidden;
|
||||
background:none!important;
|
||||
height:400px;
|
||||
width:100%;
|
||||
}
|
||||
</style>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user