-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
397 lines (369 loc) · 32 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Comrades! ~ A team of experienced freelance web developers</title>
<meta name="description" content="A team of experienced freelance web developers">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="author" href="humans.txt" />
<style media="screen">
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
</style>
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" style="width:0;height:0;display:none;"><symbol viewBox="0 0 48 48" id="icon-down-arrow"><title>down-arrow</title><path d="M33.17 17.17L24 26.34l-9.17-9.17L12 20l12 12 12-12z"/></symbol><symbol viewBox="0 0 48 48" id="icon-flexibility"><title>flexibility</title><path d="M36 8l-8 8h6v14c0 2.21-1.79 4-4 4s-4-1.79-4-4V16c0-4.41-3.59-8-8-8s-8 3.59-8 8v14H4l8 8 8-8h-6V16c0-2.21 1.79-4 4-4s4 1.79 4 4v14c0 4.41 3.59 8 8 8s8-3.59 8-8V16h6l-8-8z"/></symbol><symbol viewBox="0 0 48 48" id="icon-quality"><title>quality</title><path d="M24 2L6 10v12c0 11.11 7.67 21.47 18 24 10.33-2.53 18-12.89 18-24V10L24 2zm-4 32l-8-8 2.83-2.83L20 28.34l13.17-13.17L36 18 20 34z"/></symbol><symbol viewBox="0 0 48 48" id="icon-services"><title>services</title><path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3c-1.22.51-2.35 1.17-3.38 1.97L9.9 10.1c-.45-.17-.97 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3c1.22-.51 2.35-1.17 3.38-1.97l4.98 2.01c.45.17.97 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/></symbol></svg>
<header>
<div class="header-inner">
<div class="header-content">
<h1>Comrades!</h1>
<p>Hello! We’re a team of experienced freelance web developers.</p>
<p><a class="transition" href="mailto:[email protected]">[email protected]</a></p>
<a data-scroll class="next" href="#skills">
<svg class="icon icon-inverse icon-centred icon-hero">
<use xlink:href="#icon-down-arrow" />
</svg>
</a>
</div>
</div>
</header>
<div class="container">
<section class="row row--skills" id="skills">
<h2 class="fancy-heading"><span>We offer</span></h2>
<div class="skills block-container">
<div class="skill skill--flexibility block block--third block--third-left">
<div class="block__inner">
<h3>Flexibility</h3>
<svg class="icon icon-centred icon-large icon-highlight">
<use xlink:href="#icon-flexibility" />
</svg>
<p>We’re not a company, we’re a group of freelancers who work well together. We can self-organise to form a ready-made team or join an existing group of developers. You can hire some of us or all of us depending on your needs.</p>
</div>
</div><!--
--><div class="skill skill--quality block block--third block--third-mid">
<div class="block__inner">
<h3>Quality</h3>
<svg class="icon icon-centred icon-large icon-highlight">
<use xlink:href="#icon-quality" />
</svg>
<p>We care deeply about the quality of the work we produce. With years of industry experience we have the skills to get things done. We’re keen advocates of agile, testing, best practices and a pragmatic approach to shipping high quality code.</p>
</div>
</div><!--
--><div class="skill skill--services block block--third block--third-right">
<div class="block__inner">
<h3>Services</h3>
<svg class="icon icon-centred icon-large icon-highlight">
<use xlink:href="#icon-services" />
</svg>
<p>We specialise in full stack web development. Whether you need help scribbling on whiteboards in the planning phase, an MVP web app to validate a business idea or a dev team to come in and work on a production-ready codebase, we can help.</p>
</div>
</div>
</div>
</section>
<section class="row row--comrades" id="comrades">
<h2 class="fancy-heading"><span>The Comrades</span></h2>
<div class="comrades block-container">
<div class="comrade comrade--jed block block--half">
<div class="block__inner">
<div class="comrade__top">
<img src="./assets/images/jed.jpg" alt="">
<h3>Jed Richards</h3>
<a class="transition" href="http://seisaku.co.uk/" rel="external">seisaku.co.uk</a>
</div>
<p>A frontend focused senior JavaScript developer. Specialising in application architecture, single page web apps and highly interactive pieces. Enthusiastic advocate of Node.js for project automation and backend use cases. An ex-Flash developer, so well at home with more creative and motion based frontend tasks.</p>
</div>
</div><!--
--><div class="comrade comrade--pete block block--half">
<div class="block__inner">
<div class="comrade__top">
<img src="./assets/images/pete.jpg" alt="">
<h3>Pete</h3>
<a class="transition" href="https://f90.co.uk/" rel="external">f90.co.uk</a>
</div>
<p>Primarily a frontend developer, specialising in HTML, CSS, JavaScript and associated technologies. Many years of experience building large websites and complex web apps. Also enjoys server-side programming with PHP, Node.js, Python and others. Capable of helping out with every phase of a project from planning and scoping through to delivery.</p>
</div>
</div><!--
--><div class="comrade comrade--mike block block--half">
<div class="block__inner">
<div class="comrade__top">
<img src="./assets/images/mike.jpg" alt="">
<h3>Mike Allanson</h3>
<a class="transition" href="http://tekniskt.com/" rel="external">tekniskt.com</a>
</div>
<p>A pragmatic developer with frontend, backend and team-lead experience. I believe in sustainable development, where business problems can be solved with good collaboration and appropriate technologies. Can translate business needs into technical project plans. Has a soft spot for web performance, developer tooling and open source software.</p>
</div>
</div><!--
--><div class="comrade comrade--matt block block--half">
<div class="block__inner">
<div class="comrade__top">
<img src="./assets/images/matt.jpg" alt="">
<h3>Matt Collins</h3>
<a class="transition" href="http://mcollins.co.uk/" rel="external">mcollins.co.uk</a>
</div>
<p>A full stack developer working with HTML, CSS, JavaScript, Node.js, PHP and Python, using a wide range of frameworks including AngularJS, Backbone.js and Django. Many years experience working in digital agencies as well as a history of direct freelance clients. Can lead technical projects through design and build to deployment.</p>
</div>
</div>
<div class="comrade comrade--rich block block--half block--centered">
<div class="block__inner">
<div class="comrade__top">
<img src="./assets/images/rich.jpg" alt="">
<h3>Richard Hallows</h3>
<a class="transition" href="http://richardhallows.com/" rel="external">richardhallows.com</a>
</div>
<p>A senior interface developer specialising in CSS architecture for start-ups and creative agencies. Ten years of experience building websites and webapps, most recently using React. An author of Node.js CSS tooling. Ex-full stack developer with a complete understanding of website development.</p>
</div>
</div>
</div>
</section>
<section class="row row--work" id="work">
<h2 class="fancy-heading"><span>Recent Projects</span></h2>
<div class="projects block-container">
<div class="project block block--third block--third-left">
<div class="block__inner">
<h3 class="underlined">Digital education</h3>
<p>We provided agile and planning consultancy to a leading digital training company while helping them re-build their bookings web app.</p>
</div>
</div><!--
--><div class="project block block--third block--third-mid">
<div class="block__inner">
<h3 class="underlined">Rich media Ad-platform</h3>
<p>Embedded in an agile product team we helped build an AngularJS single page web app designed to manage programmatic rich media ad campaigns.</p>
</div>
</div><!--
--><div class="project block block--third block--third-right">
<div class="block__inner">
<h3 class="underlined">Geolocation startup</h3>
<p>We built the first iteration of a map-based single page web app on top of a startup’s spatial search REST API.</p>
</div>
</div><!--
--><div class="project block block--third block--third-left">
<div class="block__inner">
<h3 class="underlined">Ethical social network</h3>
<p>We formed a ready-made frontend dev team to help scope, design and build a social network web app.</p>
</div>
</div><!--
--><div class="project block block--third block--third-mid">
<div class="block__inner">
<h3 class="underlined">Self-help startup</h3>
<p>We took on a full build of a startup’s MVP which included an online psychometric testing component.</p>
</div>
</div><!--
--><div class="project block block--third block--third-right">
<div class="block__inner">
<h3 class="underlined">Recruitment company</h3>
<p>We built a Python REST API and AngularJS frontend for an MVP web app to help a large recruitment company validate a new business idea.</p>
</div>
</div>
</div>
</section>
<section class="row" id="endorsements">
<h2 class="fancy-heading"><span>Endorsements</span></h2>
<div class="endorsements block-container">
<div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
We approached Matt with a vision... a bold vision which we had very little idea how to build! Matt used his experience and technical knowledge to guide us through the process of turning a pipeline idea into a reality. He built from scratch a brilliantly presented and functional website which incorporated every little detail we asked for, including tools that we didn't know were possible. I would highly recommend Matt for any project you want developing and building. He's solution focused and dedicated to his craft.
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Charles Montier</h3>
<h4>Co-founder <a class="transition" href="https://wilderness-now.com" rel="external">Wilderness Now</a></h4>
</div>
</div>
</div><!--
--><div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
Jed, Mike and Pete built a single page web application allowing users to author recipes for our interactive cookbook. Working with them was a delight, not only do they work to the highest technical standards but also excel in communication, process and documentation of work. Highly recommended!
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Tim Redfern</h3>
<h4>Co-founder <a class="transition" href="https://getdrop.com" rel="external">Drop</a></h4>
</div>
</div>
</div><!--
--><div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
Matt, Jed and Pete worked in-house with us on our core product - a critical piece for our business. They were an absolute pleasure to work with - professional, knowledgeable and insightful, and they quickly became key members of a well-established team. They are top of my list for any future projects - the whole team would love to work with them again.
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Simon Booth</h3>
<h4>CTO <a class="transition" href="http://www.rockabox.com/" rel="external">Rockabox</a></h4>
</div>
</div>
</div><!--
--><div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
Working with Matt, Mike, Jed and Pete was a joyful experience. Their combination of cutting-edge experience, process, professionalism and technical ability led to an atmosphere of trust and confidence and a regular stream of high-quality pull requests. The resulting software is robust and scalable, and has made our business better. Couldn’t recommend them enough.
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Alasdair Blackwell</h3>
<h4>Co-founder & Head of Innovation <a class="transition" href="http://decoded.com/" rel="external">Decoded</a></h4>
</div>
</div>
</div><!--
--><div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
Pete, Jed and Mike were able to quickly organise themselves into a highly productive frontend dev team to help us plan and deliver a single page web app for a startup social network client while working closely with our in-house producer and backend devs. Despite a quick turn around and tight budget the quality of their work was excellent throughout the build.
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Tom Quick</h3>
<h4>Founder & CEO <a class="transition" href="http://sme.sh/" rel="external">Sme.sh</a></h4>
</div>
</div>
</div><!--
--><div class="endorsement block clearfix">
<div class="block__inner">
<div class="endorsement__quote">
<span>“</span>
<p>
Pete and Jed worked with us to develop the first version of our one page web app during the initial stage of our business. We were really pleased with the quality of their work, it allowed us to concentrate on scaling our business which is now a great success. They understand and foresee the current and future requirements. We haven’t had to change much of the web app to this date - though it was supposed to be a prototype. The current developers have a high regard for them. The experience of working with them was more than pleasant.
</p>
<span class="last">”</span>
</div>
<div class="endorsement__client">
<h3>Kannan Rasappan</h3>
<h4>Founder <a class="transition" href="http://www.geogrep.com/" rel="external">Geogrep</a></h4>
</div>
</div>
</div>
</div>
</section>
</div>
<footer>
<div class="footer-inner">
<p><a class="transition contact-btn" href="mailto:[email protected]">[email protected]</a></p>
<p>
© Comrades!
<span class="year">2018</span>.
</p>
<p><span class="tagline">The collective is <a href="#">real</a>.</span></p>
</div>
</footer>
<script>
/**
* smooth-scroll v5.2.2
* Animate scrolling to anchor links, by Chris Ferdinandi.
* http://github.com/cferdinandi/smooth-scroll
*
* Free to use under the MIT License.
* http://gomakethings.com/mit/
*/
!function(t,e){"function"==typeof define&&define.amd?define("smoothScroll",e(t)):"object"==typeof exports?module.exports=e(t):t.smoothScroll=e(t)}(window||this,function(t){"use strict";var e,n={},o=!!document.querySelector&&!!t.addEventListener,r={speed:500,easing:"easeInOutCubic",offset:0,updateURL:!0,callbackBefore:function(){},callbackAfter:function(){}},a=function(t,e,n){if("[object Object]"===Object.prototype.toString.call(t))for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(n,t[o],o,t);else for(var r=0,a=t.length;a>r;r++)e.call(n,t[r],r,t)},c=function(t,e){var n={};return a(t,function(e,o){n[o]=t[o]}),a(e,function(t,o){n[o]=e[o]}),n},u=function(t,e){for(var n=e.charAt(0);t&&t!==document;t=t.parentNode)if("."===n){if(t.classList.contains(e.substr(1)))return t}else if("#"===n){if(t.id===e.substr(1))return t}else if("["===n&&t.hasAttribute(e.substr(1,e.length-2)))return t;return!1},i=function(t){for(var e,n=t+"",o=n.length,r=-1,a="",c=n.charCodeAt(0);++r<o;){if(e=n.charCodeAt(r),0===e)throw new InvalidCharacterError("Invalid character: the input contains U+0000.");a+=(1>e||e>31)&&127!=e&&(0!==r||48>e||e>57)&&(1!==r||48>e||e>57||45!==c)?128>e&&45!==e&&95!==e&&(48>e||e>57)&&(65>e||e>90)&&(97>e||e>122)?"\\"+n.charAt(r):n.charAt(r):"\\"+e.toString(16)+" "}return a},s=function(t,e){var n;return"easeInQuad"===t&&(n=e*e),"easeOutQuad"===t&&(n=e*(2-e)),"easeInOutQuad"===t&&(n=.5>e?2*e*e:-1+(4-2*e)*e),"easeInCubic"===t&&(n=e*e*e),"easeOutCubic"===t&&(n=--e*e*e+1),"easeInOutCubic"===t&&(n=.5>e?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1),"easeInQuart"===t&&(n=e*e*e*e),"easeOutQuart"===t&&(n=1- --e*e*e*e),"easeInOutQuart"===t&&(n=.5>e?8*e*e*e*e:1-8*--e*e*e*e),"easeInQuint"===t&&(n=e*e*e*e*e),"easeOutQuint"===t&&(n=1+--e*e*e*e*e),"easeInOutQuint"===t&&(n=.5>e?16*e*e*e*e*e:1+16*--e*e*e*e*e),n||e},l=function(t,e,n){var o=0;if(t.offsetParent)do o+=t.offsetTop,t=t.offsetParent;while(t);return o=o-e-n,0>o?0:o},f=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},d=function(t){return t&&"object"==typeof JSON&&"function"==typeof JSON.parse?JSON.parse(t):{}},h=function(e,n){history.pushState&&(n||"true"===n)&&history.pushState(null,null,t.location.protocol+"//"+t.location.host+t.location.pathname+t.location.search+e)};n.animateScroll=function(e,n,o){var a=c(a||r,o||{}),u=d(e?e.getAttribute("data-options"):null);a=c(a,u),n="#"+i(n.substr(1));var p,m,b,v=document.querySelector(n),g=document.querySelector("[data-scroll-header]"),O=null===g?0:g.offsetHeight+g.offsetTop,y=t.pageYOffset,I=l(v,O,parseInt(a.offset,10)),S=I-y,A=f(),Q=0;h(n,a.updateURL);var C=function(o,r,c){var u=t.pageYOffset;o!=r&&u!=r&&t.innerHeight+u<A||(clearInterval(c),v.focus(),a.callbackAfter(e,n))},H=function(){Q+=16,m=Q/parseInt(a.speed,10),m=m>1?1:m,b=y+S*s(a.easing,m),t.scrollTo(0,Math.floor(b)),C(b,I,p)},w=function(){a.callbackBefore(e,n),p=setInterval(H,16)};0===t.pageYOffset&&t.scrollTo(0,0),w()};var p=function(t){var o=u(t.target,"[data-scroll]");o&&"a"===o.tagName.toLowerCase()&&(t.preventDefault(),n.animateScroll(o,o.hash,e))};return n.destroy=function(){e&&(document.removeEventListener("click",p,!1),e=null)},n.init=function(t){o&&(n.destroy(),e=c(r,t||{}),document.addEventListener("click",p,!1))},n});
/**
* FitText.js 1.0 jQuery free version
*
* Copyright 2011, Dave Rupert http://daverupert.com
* Released under the WTFPL license
* http://sam.zoy.org/wtfpl/
* Modified by Slawomir Kolodziej http://slawekk.info
*
* Date: Tue Aug 09 2011 10:45:54 GMT+0200 (CEST)
*/
!function(){var t=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t};window.fitText=function(n,o,r){var a=e({minFontSize:-1/0,maxFontSize:1/0},r),c=function(e){var n=o||1,r=function(){e.style.fontSize=Math.max(Math.min(e.clientWidth/(10*n),parseFloat(a.maxFontSize)),parseFloat(a.minFontSize))+"px"};r(),t(window,"resize",r)};if(n.length)for(var u=0;u<n.length;u++)c(n[u]);else c(n);return n}}();
/**
* GlitchText
* Copyright 2014 Jed Richards
* https://gist.github.com/jedrichards/ed8fd58e22d44c1212e8
*/
function easeOut(t,e,i){return 1-Math.pow(1-t/e,i)}function randomInt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function limit(t,e,i){return Math.min(i,Math.max(e,t))}function GlitchText(t,e,i,n,r){this.el=e,this.origText=t,this.duration=80*t.length,this.charDuration=i,this.numCharSteps=n,this.textLength=this.origText.length,this.onComplete=r,this.el.innerHTML="",this.running=!0}function GlitchTextLetter(t,e,i,n){this.value="",this.started=!1,this.complete=!1,this.randomChars=t,this.duration=e,this.numSteps=i,this.finalChar=n,this.charArray=[];for(var r=0;r<this.numSteps;r++)this.charArray[r]=r===this.numSteps-1?this.finalChar:" "===this.finalChar?" ":this.randomChars.charAt(randomInt(0,this.randomChars.length))}var randomChars="jldfsifnJSODNBD~±§1234567890!@£$%^&*()-=_+,./<>?";GlitchText.prototype.start=function(){this.lettersArray=[];for(var t=0;t<this.textLength;t++){var e=new GlitchTextLetter(randomChars,this.charDuration,this.numCharSteps,this.origText.charAt(t));this.lettersArray.push(e)}this.startTime=Date.now(),requestAnimationFrame(this.step.bind(this))},GlitchText.prototype.stop=function(){this.running=!1},GlitchText.prototype.step=function(){for(var t=easeOut(Date.now()-this.startTime,this.duration,3),e=0,i=Math.round(this.lettersArray.length*t),n="",r=0;r<this.textLength;r++)i>r&&this.lettersArray[r].start(),n+=this.lettersArray[r].getCurrChar(),this.lettersArray[r].isComplete()&&e++;this.el.innerHTML=n,e<this.textLength&&this.running?requestAnimationFrame(this.step.bind(this)):this.onComplete&&this.onComplete()},GlitchTextLetter.prototype.start=function(){this.started||(this.started=!0,this.startTime=Date.now(),requestAnimationFrame(this.step.bind(this)))},GlitchTextLetter.prototype.step=function(){var t=Date.now()-this.startTime,e=limit(easeOut(t,this.duration,3),0,1),i=Math.round((this.charArray.length-1)*e);this.value=this.charArray[i],t<this.duration?requestAnimationFrame(this.step.bind(this)):(this.complete=!0,this.value=this.finalChar)},GlitchTextLetter.prototype.getCurrChar=function(){return this.value},GlitchTextLetter.prototype.isComplete=function(){return this.complete};
initSmoothScroll();
initHeader();
initExternalLinks();
initGlitchText();
function initGlitchText () {
var taglineLink = document.querySelector('footer .tagline a');
var index = 0;
var glitch;
var theCollectiveIs =['insufficiently advanced', 'octothorpe', 'destruction through the advancement of technology', 'a stick insect', 'superb', 'mad', 'commanding', 'sentient', 'vague', 'unplanned', 'dangerous', 'glorious', 'many', 'reappropriated terminology', 'good animals', 'an orange spaceman', 'a progress mechanism', 'technobabble', 'keeping it buried, crying inside', 'profiting from loneliness', 'accelerated decrepitide', 'ephemeral paraphernalia', 'sentient decay', 'complete entropic scatter', 'under emoting', 'risen', 'gincident', 'matthew david collins limited syndrome', 'f91', 'kipple', 'unplanned obsolescence', 'weird things', 'superb english', 'because of accident', 'the bitter end', 'the engine room', 'indistinguishable from magic', 'futilitarian', 'nihilist existentialist angst', 'unfathomably simple', 'on holiday', 'down the rabbit hole', 'proper peng', 'vexatious', 'dark riddles of the future', 'calamitous', 'fatal', 'ill-omened', 'a forlorn coincidence', 'transcendent', 'temporary', 'a superficial exercise', 'a blunt instrument', 'haptic dissonance', 'achieving perfection', 'futile resistance', 'rapidly adapting', 'a plug-compatible programming unit'];
theCollectiveIs = shuffle(theCollectiveIs);
taglineLink.addEventListener('click', function (event) {
event.returnValue = false;
if ( event.preventDefault ) {
event.preventDefault();
}
if ( glitch ) {
glitch.stop();
}
glitch = new GlitchText(theCollectiveIs[index], taglineLink, 800, 30);
glitch.start();
index++;
if ( index === theCollectiveIs.length ) {
theCollectiveIs = shuffle(theCollectiveIs);
index = 0;
}
});
}
function shuffle (o) {
for (var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
return o;
};
function initSmoothScroll () {
smoothScroll.init({
speed: 750,
easing: 'easeOutCubic',
updateURL: false
});
}
function initHeader () {
var header = document.getElementsByTagName('header')[0];
if (window.innerHeight > header.offsetHeight) {
header.style['height'] = '' + window.innerHeight + 'px';
}
window.fitText(
document.getElementsByTagName('h1')[0],
1.2,
{
maxFontSize: 61,
minFontSize: 24
}
);
}
function initExternalLinks() {
var aElements = document.getElementsByTagName("a");
for (i = 0; i < aElements.length; i++) {
if (aElements[i].hasAttribute('rel') && aElements[i].rel === 'external') {
aElements[i].addEventListener('click', openExternalLink);
}
}
}
function openExternalLink(e) {
e.preventDefault();
var href = e.currentTarget.attributes['href'].value;
window.open(href);
}
</script>
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-56324607-1','auto');ga('send','pageview');
</script>
</body>
</html>