-
Notifications
You must be signed in to change notification settings - Fork 5
/
index2.html
269 lines (235 loc) · 9.64 KB
/
index2.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
<html>
<head>
<title>Q42 logo</title>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="style.css">
<link href='https://fonts.googleapis.com/css?family=Playfair+Display:700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Work+Sans' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicons/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="favicons/android-chrome-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="favicons/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="favicons/android-chrome-144x144.png" />
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#84bc2d">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
<meta name="theme-color" content="#84bc2d">
<script src="q42.js" async></script>
</head>
<body>
<section id="hero">
<div class="content vertical">
<q42 id="logo-smol"></q42>
<h1>Download het Q42 logo</h1>
<p>In al zijn glorie en varianten.</p>
</div>
</section>
<section>
<div class="content">
<div class="logo">
<q42 id="logo"></q42>
</div>
<div class="description">
<h2>The Original</h2>
<div class="download">
<div class="link"><a href="#">EPS</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">SVG</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">PNG</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">JPG</a></div>
<div class="label">3d printen</div>
</div>
<div class="download">
<div class="link"><a href="#">HENK</a></div>
<div class="label">Om te carven</div>
</div>
<h3>Embed the codelogo</h3>
Step 1: <span class="code"><script src="<span class="truncate">https://storage.googleapis.com/static.q42.nl/q42.js</span>" async></script></span><br/>
Step 2: <span class="code"><q42></q42></span><br/>
<p>That's it! Optionally, you can add attributes to <span class="code"><q42></span>:</p>
<ul>
<li><span class="code">renderer="svg|canvas|webgl"</span>, with svg as default</li>
<li><span class="code">theme="green|black|white"</span>, with green as default</li>
</ul>
<p>Some <a href="demo">Examples</a> of renderers, attributes, and CSS animation.</p>
<h3>Q-Groen color specs</h3>
<ul>
<li>RGB: #84bc2d</li>
<li>CMYK: [57% 0% 100% 0%]</li>
<li>Pantone: <a href="https://www.pantone.com/color-finder/368-U">368U</a></li>
<li>RAL Design: <a href="http://www.e-paint.co.uk/Colour_alternatives.asp?cRange=RAL%20Design&cRef=RAL%20120%2060%2063&metallic2=False">120.60.63</a></li>
<li>RAL Classic: <a href="https://www.ralcolorchart.com/ral-classic/ral-6018-yellow-green">6018</a></li>
<li>Sikkens: <a href="https://www.kleurenwaaier.nl/kleur/133278">J0.50.50</a></li>
</ul>
</div>
</div>
</section>
<hr />
<section>
<div class="content">
<div class="logo">
<q42 id="logo"></q42>
</div>
<div class="description">
<h2>Diapositief</h2>
<div class="download">
<div class="link"><a href="#">EPS</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">SVG</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">PNG</a></div>
<div class="label">Te gebruiken in drukwerk blabla</div>
</div>
<div class="download">
<div class="link"><a href="#">JPG</a></div>
<div class="label">3d printen</div>
</div>
<div class="download">
<div class="link"><a href="#">HENK</a></div>
<div class="label">Om te carven</div>
</div>
</div>
</div>
</section>
<section id="factsheet" class="blue">
<h1>Blueprint</h1>
<p>
Checkout them sweet bezier curves.
</p>
<img src="Factsheet.svg" class="factsheet" title="Factsheet" />
</section>
<section id="getit">
<h1>How to use this logo</h1>
<ol>
<li>Add <span class="code"><script src="<span class="truncate">https://storage.googleapis.com/static.q42.nl/q42.js</span>" async></script></span>.</li>
<li>Place a logo using <span class="code"><q42></q42></span>. Use CSS to style & position.</li>
</ol>
<p>That's it! Optionally, you can add attributes to <span class="code"><q42></span>:</p>
<ul>
<li><span class="code">renderer="svg|canvas|webgl"</span>, with svg as default</li>
<li><span class="code">theme="green|black|white"</span>, with green as default</li>
</ul>
<p>Some <a href="demo">Examples</a> of renderers, attributes, and CSS animation.</p>
<h1>The old-fashioned way</h1>
<p>You can get the logo as a vector or image file (SVG or PNG). This is not recommended because it is boring.</p>
<div>
<span class="lhead">Color way</span>
<select id="colorway">
<option value="">White on green</option>
<option value="-white">White (transparant text)</option>
<option value="-black">Black (transparent text)</option>
</select>
</div>
<div>
<span class="lhead">Format</span>
<select id="format">
<option value=".svg">SVG</option>
<option value="-big.png">PNG (1440 px high)</option>
<option value=".png">PNG (720 px high)</option>
</select>
</div>
<div>
<span class="lhead"></span>
<span class="arrow">↓</span>
</div>
<div>
<span class="lhead">Include</span>
<span class="code"><img src="http://logo.q42.com/<span class="imgfilename"></span>" /></span>
</div>
<div>
<span class="lhead">or download</span>
<a id="imgdownload" href="#">http://logo.q42.com/<span class="imgfilename"></span></a>
</div>
<h1>Even more old-fashioned</h1>
<p>Rumors exist that outside of the modern world, some still use paper to get stuff done.
We don't know why or what for. But if someone asks for something called a 'vector file',
just give them <a href="q42-logo.eps">this EPS file</a>. </p>
<h1>Physical prototyping</h1>
<ul>
<li>To carve it in wood or metal on our <a href="https://www.inventables.com/technologies/carvey">Carvey</a>,
<a href="http://easel.inventables.com/">fire up Easel</a> and <a href="q42-logo.svg">import this SVG file</a>.</li>
<li>To work it into a 3D printed model, import a <a href="q42-logo.dxf" download>DXF</a>,
<a href="q42-logo.stl" download>STL</a>, or <a href="q42-logo.svg">SVG</a> file into your modeler.</li>
</ul>
<h1>Pride</h1>
<p>For all the colors on your rainbow</p>
<ul>
<li><a href="q42-logo-pride.svg">Q42 Pride</a></li>
</ul>
<h1>Go wild</h1>
<p>Some awesome alternative logos for use on swag:</p>
<ul>
<li><a href="q42-logo-nerd.png">Q42 Nerd</a></li>
<li><a href="q42-logo-guitar.png">Q42 Rock Guitar Wings</a></li>
</ul>
</section>
<div id="codeplaceholder">
<section id="code">
<h1>Contribute (Q42-ers only)</h1>
<p>Doodles on specific days, attract animations, hidden minigames, whatever:</p>
<ol>
<li>Clone from <a href="https://github.com/Q42/logo">Github</a></li>
<li>Create a module to add behavior (based on either canvas or WebGL)</li>
<li>PR</li>
<li>Voila! Logo awesome +1</li>
</ol>
</section>
<section id="colophon">
<p>© <span class="year"></span> Q42</p>
</section>
</div>
<script>
function romanize (num) {
if (!+num)
return false;
var digits = String(+num).split(""),
key = ["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM",
"","X","XX","XXX","XL","L","LX","LXX","LXXX","XC",
"","I","II","III","IV","V","VI","VII","VIII","IX"],
roman = "",
i = 3;
while (i--)
roman = (key[+digits.pop() + (i * 10)] || "") + roman;
return Array(+digits.join("") + 1).join("M") + roman;
};
var _years = document.querySelectorAll('.year');
for(var i=0;i<_years.length;i++)
_years[i].textContent = romanize(new Date().getFullYear());
var _colorway = document.getElementById('colorway');
_colorway.onchange = updateImageDownload;
var _format = document.getElementById('format');
_format.onchange = updateImageDownload;
var _img = document.querySelectorAll('.imgfilename');
var _imgDl = document.getElementById('imgdownload');
function updateImageDownload() {
var fn = "q42-logo" + _colorway.value + _format.value;
for(var i=0;i<_img.length;i++)
_img[i].textContent = fn;
_imgDl.href = fn;
};
updateImageDownload();
</script>
</body>
</html>