-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (182 loc) · 6.65 KB
/
index.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
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="assets/css/app.min.css" rel="stylesheet" />
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/flickity/dist/flickity.pkgd.min.js"></script>
</head>
<body>
<div class="pane logo-pane">
<img src="assets/svg/Logo.svg" class="logo center-block"/>
<div class="title center-block">A team of self confessed geeks who are all about great digital design</div>
<a class="arrow-icon white center-block" href="#section-1">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="section-1">
<img src="assets/svg/machine.svg" class="machine center-block"/>
<div class="title center-block">Some agencies love <span class="red">design</span>, but don't know how to build
</div>
<a class="arrow-icon white center-block" href="#section-2">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="section-2">
<img src="assets/svg/problem.svg" class="problem center-block"/>
<div class="title center-block">Some agencies know how to <span class="red">build</span> but can’t do design
</div>
<a class="arrow-icon white center-block" href="#section-3">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="section-3">
<img src="assets/svg/solution.svg" class="solution center-block"/>
<div class="title center-block">We love <span class="red">both</span></div>
<a class="arrow-icon white center-block" href="#services">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane white-pane" id="services">
<div class="title center-block">Services</div>
<div class="service-container">
<div class="service">
<div class="icon development"></div>
<div class="name">Web Developement</div>
</div>
<div class="service">
<div class="icon design"></div>
<div class="name">Design</div>
</div>
<div class="service">
<div class="icon branding"></div>
<div class="name">Branding</div>
</div>
<div class="service">
<div class="icon ux"></div>
<div class="name">UX Research</div>
</div>
</div>
<a class="arrow-icon black center-block" href="#clients">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="clients">
<div class="title center-block">Clients</div>
<div class="carousel">
<div class="carousel-cell">
<img src="assets/images/client1.png" /></div>
<div class="carousel-cell"><img src="assets/images/client2.png" /></div>
<div class="carousel-cell"><img src="assets/images/client3.png" /></div>
</div>
<a class="arrow-icon black center-block" href="#map">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="map">
<div class="title center-block">How to find us</div>
<div id="map-container">
<div class="map-shadow-top"></div>
<div class="map-shadow-bottom"></div>
<div id="google-map"></div>
</div>
<a class="arrow-icon white center-block" href="#contact">
<i class="ion-chevron-down"></i>
</a>
</div>
<div class="pane gray-pane" id="contact">
<div class="title center-block">Contact</div>
<div class="form-container">
<input type="text" placeholder="Name"/>
<input type="text" placeholder="Email"/>
<textarea placeholder="Message"></textarea>
<button>Send Message!</button>
Or phone on : 01923 220121
</div>
</div>
<div></div>
<script type="text/javascript">
$(document).ready(function() {
$('a[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html, body').animate({
scrollTop: target.offset().top
}, 400);
return false;
}
}
});
// Init Carousel
$('.carousel').flickity({
// options
cellAlign: 'left',
contain: true,
groupCells: true
});
});
function initMap() {
var office = new google.maps.LatLng(51.51, -0.12);
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "bower_components/google-infobox/google-infobox.js";
$("head").append(script);
var map = new google.maps.Map(document.getElementById('google-map'), {
center: office,
zoom: 16,
zoomControl: true,
zoomControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
scaleControl: true,
mapTypeControl: false,
fullscreenControl: false,
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: [{
stylers: [{
saturation: -100
}]
}]
});
var marker = new google.maps.Marker({
position: office,
map: map,
icon: '/assets/images/map-marker.png'
});
var boxText = document.createElement("div");
boxText.innerHTML = 'Geek Label<br/>4th Floor<br/>27 - 33 Bethnal Green Road<br/>Shoreditch<br/>London<br/>E1 6LA';
var ibOptions = {
content: boxText,
disableAutoPan: false,
maxWidth: 0,
pixelOffset: new google.maps.Size(40, -95),
zIndex: null,
boxStyle: {
width: "180px",
height: "170px",
"line-height": "20px",
"font-size": "14px",
"background-color": "#fff",
"padding": "20px",
"box-shadow": "0 0 10px 1px #ccc",
"color": "#666"
}
, closeBoxURL: ""
, infoBoxClearance: new google.maps.Size(1, 1)
, isHidden: false
, pane: "floatPane"
, enableEventPropagation: false
};
var ib = new InfoBox(ibOptions);
ib.open(map, marker);
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDZtPdiEGweiBVQvF5xKOCKTYB2Zhf9AKc&callback=initMap">
</script>
</body>
</html>