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

contact.html « partials « layouts - github.com/saey55/hugo-elate-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32fecfb9a7b6b6b245f916a4cfab9ee61ab5a6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	<section id="fh5co-contact" data-section="contact">
		<div class="container">
			<div class="row">
				<div class="col-md-12 section-heading text-center">
					<h2 class="to-animate">{{ with .Site.Params.contact.title }}{{ . | markdownify }}{{ end }}</h2>
					<div class="row">
						<div class="col-md-8 col-md-offset-2 subtext to-animate">
							<h3>{{ with .Site.Params.contact.description }}{{ . | markdownify }}{{ end }}</h3>
						</div>
					</div>
				</div>
			</div>
			<div class="row row-bottom-padded-md">
				<div class="col-md-6 to-animate">
					<h3>{{ with .Site.Params.contact.info }}{{ . | markdownify }}{{ end }}</h3>
					<ul class="fh5co-contact-info">
					{{ range .Site.Params.contact.details }}
						<li class="fh5co-contact-address "><i class="{{ with index . 0}}{{ . }}{{ end }}"></i>{{ with index . 1}}{{ . | markdownify }}{{ end }}</li>
					{{ end }}
					</ul>
				</div>

				<div class="col-md-6 to-animate">
					<h3>{{ with .Site.Params.contact.form }}{{ . | markdownify }}{{ end }}</h3>
					<form method="post" action="//formspree.io/{{ with .Site.Params.email }}{{.}}{{ end }}">
					<div class="form-group ">
						<label for="name" class="sr-only">{{ with .Site.Params.contact.name }}{{ . | markdownify }}{{ end }}</label>
						<input id="name" class="form-control" name="name" placeholder="Name" type="text">
					</div>
					<div class="form-group ">
						<label for="email" class="sr-only">{{ with .Site.Params.contact.email }}{{ . | markdownify }}{{ end }}</label>
						<input id="email" class="form-control" name="_replyto" placeholder="Email" type="email">
					</div>
					<div class="form-group ">
						<label for="phone" class="sr-only">{{ with .Site.Params.contact.phone }}{{ . | markdownify }}{{ end }}</label>
						<input id="phone" class="form-control" placeholder="Phone" type="text">
					</div>
					<div class="form-group ">
						<label for="message" class="sr-only">{{ with .Site.Params.contact.message }}{{ . | markdownify }}{{ end }}</label>
						<textarea name="" id="message" cols="30" rows="5" class="form-control" name="message" placeholder="Message"></textarea>
					</div>
					<div class="form-group ">
						<input class="btn btn-primary btn-lg" value="{{ .Site.Params.contact.button | markdownify }}" type="submit">
					</div>
					</div>
					</form>
				</div>

			</div>
		</div>
		{{ if .Site.Params.contact.map }}
        	<div id="map" class="to-animate"></div>
		{{ end }}
	</section>