-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
178 lines (166 loc) · 4.49 KB
/
contact.html
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
---
title: Contato
heading: Entre em contato com a equipe da <strong>PCD.dataverso!</strong></a>
description: Venha navegar no Universo de Dados da Pessoa com Deficiência.
map:
latitude: -23.2660206
longitude: -47.2661636
address: "Alameda das Romanzeiras, 61 - Jardim Paraíso 2, Itu - SP, 13306-364, Brazil"
zoom: 15
---
<div class="map" id="map"></div>
<div class="contact-box">
<form action="{{ site.baseurl }}/contact-success/" method="post" class="contact-form">
<input type="hidden" name="_to" value="pcd.dataverso@gmail.com" />
<input type="text" name="_gotcha" style="display: none;">
<label for="name">Nome</label>
<input type="text" name="name" id="name" placeholder="Digite seu nome..." />
<label for="email">Email</label>
<input type="email" name="email" id="email" placeholder="Digite seu email..." required />
<label for="message">Mensagem</label>
<textarea name="message" id="message" placeholder="Digite sua mensagem..."></textarea>
<input type="submit" value="Enviar mensagem" />
</form>
<div class="contact-details">
<h3 class="editable">Endereço</h3>
<address><a target="_blank" href="https://www.google.com/maps/place/Jornalista+Inclusivo/@-23.2660206,-47.2661636,15z/data=!4m6!3m5!1s0x94cf454f364656c7:0xecb560dbbb8ee4ca!8m2!3d-23.2660206!4d-47.2661636!16s%2Fg%2F11fr0_dfpw?entry=ttu">Jornalista Inclusivo - Alameda das Romanzeras, 61 - Jardim Paraíso 2,Itu - SP, 13306-364, Brazil</a></address>
<h3 class="editable">Contato</h3>
<p><a href="mailto:pcd.dataverso@gmail.com">pcd.dataverso@gmail.com</a></p>
</div>
</div>
<script type="text/javascript">
window.mapData = {{ page.map | jsonify }};
function initMap() {
var myOptions = {
scrollwheel: false,
draggable: false,
panControl: false,
disableDefaultUI: true,
styles: [{
"featureType": "all",
"elementType": "labels.text.fill",
"stylers": [{
"saturation": 36
}, {
"color": "#000000"
}, {
"lightness": 40
}]
}, {
"featureType": "all",
"elementType": "labels.text.stroke",
"stylers": [{
"visibility": "on"
}, {
"color": "#000000"
}, {
"lightness": 16
}]
}, {
"featureType": "all",
"elementType": "labels.icon",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "administrative",
"elementType": "geometry.fill",
"stylers": [{
"color": "#000000"
}, {
"lightness": 20
}]
}, {
"featureType": "administrative",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#000000"
}, {
"lightness": 17
}, {
"weight": 1.2
}]
}, {
"featureType": "landscape",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 20
}]
}, {
"featureType": "poi",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 21
}]
}, {
"featureType": "road.highway",
"elementType": "geometry.fill",
"stylers": [{
"color": "#000000"
}, {
"lightness": 17
}]
}, {
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#000000"
}, {
"lightness": 29
}, {
"weight": 0.2
}]
}, {
"featureType": "road.arterial",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 18
}]
}, {
"featureType": "road.local",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 16
}]
}, {
"featureType": "transit",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 19
}]
}, {
"featureType": "water",
"elementType": "geometry",
"stylers": [{
"color": "#000000"
}, {
"lightness": 17
}]
}],
zoom: window.mapData.zoom,
maxZoom: window.mapData.zoom,
minZoom: window.mapData.zoom,
center: new google.maps.LatLng(window.mapData.latitude, window.mapData.longitude),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("map"), myOptions);
marker = new google.maps.Marker({
map: map,
position: new google.maps.LatLng(window.mapData.latitude, window.mapData.longitude)
});
google.maps.event.addDomListener(window, "resize", function () {
map.setCenter(myOptions.center);
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDogx7JZWtUMDV1Je-cKI3jNnCMq5Cy5X0&callback=initMap"></script>