-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage-contact.php
132 lines (92 loc) · 3.56 KB
/
page-contact.php
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?php get_header(); ?>
<div class="content">
<?php $banner = get_field('portfolio_page_banner'); ?>
<div class="pg_banner" style="background-image: url('<?php echo $banner['url']; ?>')">
<div class="overlay"></div>
</div>
<div class="section">
<div class="inner-wrap">
<div class="pg_title">Contact</div>
<div class="col_inner">
<?php $contact = get_field('major_caption')?>
<div class="major_cap"><?php echo $contact; ?></div>
<?php $contact = get_field('sub_caption')?>
<div class="det_text s_line">
<p><?php echo $contact; ?></p>
</div>
</div>
<div class="row-t">
<div class="cont_wrap -js_anime">
<div class="cont_hld">
<div class="cont_title">Address</div>
<div class="cont_det">
<p><?php echo get_field('address')?></p>
</div>
</div>
<div class="cont_hld">
<div class="cont_title">Email</div>
<div class="cont_det">
<p><?php echo get_field('email')?></p>
</div>
</div>
<div class="cont_hld">
<div class="cont_title">Phone</div>
<div class="cont_det"><?php echo get_field('phone')?></div>
</div>
</div>
<form>
<div class="in_row clearfix">
<div class="tgroup">
<label>Name</label>
<input type="text" id="name" name="name" />
</div>
<div class="tgroup">
<label>Email</label>
<input type="email" id="email" name="email" />
</div>
</div>
<div class="in_row clearfix">
<div class="tgroup">
<label>Phone</label>
<input type="phone" id="phone" name="phone"/>
</div>
<div class="tgroup">
<label>Company</label>
<input type="text" id="company" name="company" />
</div>
</div>
<div class="in_row clearfix">
<div class="tgroup">
<label>Message</label>
<textarea placeholder="Enter Text Here"></textarea>
</div>
</div>
<button class="edge-cta cta -js_anime" id="submit">Submit</button>
</form>
</div>
<div class="row-t -js_anime">
<div class="pg_wrap">
<div id="map"></div>
</div>
</div>
</div>
</div>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBnfMCvOW_WJ2Y3OjlcZlE_3yCxXOK9mzs"></script>
<script>
var myCenter = new google.maps.LatLng(6.436394, 3.418948);
function initialize(){
var mapProp = {
center:myCenter,
zoom:15,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map"),mapProp);
var marker = new google.maps.Marker({
position:myCenter,
});
marker.setMap(map);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</div>
<?php get_footer(); ?>