-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.njk
More file actions
389 lines (354 loc) · 13.1 KB
/
Copy pathindex.njk
File metadata and controls
389 lines (354 loc) · 13.1 KB
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
---
title: Associació Geeks.CAT
---
<!DOCTYPE html>
<!--
Overflow by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html lang="ca">
<head>
<title>{{ title }}</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png" />
<link
rel="apple-touch-icon"
sizes="114x114"
href="/images/favicon/apple-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/images/favicon/apple-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/images/favicon/apple-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/images/favicon/apple-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/images/favicon/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/images/favicon/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/images/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="/images/favicon/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/images/favicon/favicon-16x16.png"
/>
<link rel="manifest" href="/images/favicon/manifest.json" />
<meta name="msapplication-TileColor" content="orange" />
<meta
name="msapplication-TileImage"
content="/images/favicon/ms-icon-144x144.png"
/>
<meta name="theme-color" content="orange" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript>
<link rel="stylesheet" href="assets/css/noscript.css"
/></noscript>
</head>
<body class="is-preload">
{# TODO: allow rendering different pages here #}
{# {{ content | safe }} #}
<!-- Header -->
<section id="header">
<header>
<img src="images/logo/geekscat_logo_100px.png"/>
<h1>Geeks.CAT</h1>
<p>L'Associació de Geeks de Catalunya!</p>
</header>
<footer>
<a
target="new"
href="#fes-te-soci"
class="button style2 scrolly-middle"
>Fes-te soci!</a
>
</footer>
</section>
<!-- Banner -->
<section id="banner" class="banner">
<header>
<h2>Som GEEKS de Catalunya</h2>
</header>
<p><strong>1) We ❤️ Tech</strong>: <em>Estimem la tecnologia i volem contribuïr a dinamitzar l'escena catalana!</em></p>
<p><strong>2) We're FLOSS</strong>: <em>Creiem en el software lliure i el volem potenciar</em></p>
<p><strong>3) We're open</strong>: <em>Volem fomentar que el coneixement sigui accessible per a tothom</em></p>
<footer>
<a target="new" href="#fes-te-soci" class="button style2 scrolly-middle">Fes-te soci!</a>
</footer>
</section>
<!-- Què fem? -->
<section id="que-fem" class="">
<article id="nem-per-feina" class="container box style1 center">
<header>
<h2>Alguns dels nostres projectes</h2>
</header>
</article>
{%- for projecte in collections.projectes | reverse -%}
<article id="{{ projecte.fileSlug }}" class="container box {{ projecte.data.classes }}">
<div class="inner">
<header>
<h2>
{%- if projecte.data.url -%}
<a href="{{ projecte.data.url }}" target="_blank">{{ projecte.data.title }}</a>
{%- else -%}
{{ projecte.data.title }}
{%- endif -%}
</h2>
{% if projecte.data.url -%}<a href="{{ projecte.data.url }}" class="image fit" target="_blank">{% endif %}
<img class="image fit" src="images/projects/{{ projecte.data.image }}" alt="{{ projecte.data.image_alt if projecte.data.image_alt else projecte.data.title }}">
{% if projecte.data.url -%}</a>{% endif %}
</header>
{{- projecte.content | safe }}
</div>
</article>
{%- endfor -%}
<!-- <footer>
<a href="#first" class="button style2 scrolly"
>Act on this message</a
>
</footer> -->
</section>
<!-- Fes-te soci! -->
<section id="fes-te-soci-section" class="banner">
<header id="fes-te-soci">
<h2>Fes-te soci!</h2>
</header>
<p>Des de l'Associació <strong>volem contribuir a que cap soci mai se senti sol</strong>, i tingui tot el
<strong>suport per poder tirar endavant nous projectes</strong>.</p><br />
<p>Ens organitzem en diferents <strong>Comissions i Grups de Treball</strong> autosuficients per liderar un abast concret.</p>
<p>P.e PythonGirona té el seu propi Grup de Treball.</p>
<br/>
<p><strong>Tots tenim veu i vot</strong>, i volem que t'involucris per <strong>ajudar-nos a remoure l'escena techie catalana!</strong></p>
<footer>
<a target="new" href="https://forms.gle/qFsDhWja3Dtoa9ao6" class="button style2 scrolly-middle">Fes-te soci!</a>
</footer>
<hr/>
<h3>Com a soci podràs:</h3>
<li>Formar part o <strong>tirar endavant nous Grups de Treball</strong></li>
<li><strong>Impulsar esdeveniments</strong> sota el paraigües de l'Associació</li>
<li><strong>Gaudir de tota la infraestructura</strong> lògica i tècnica de l'Associació</li>
<li><strong>Sol·licitar recursos</strong> per tirar endavant qualsevol cosa relacionada amb l'Associació</li>
<li><strong>Votar</strong> qualsevol de les decisions de l'Associació, i <strong>formar part de la Junta Directiva</strong></li>
<li>Ser convocat anualment i <strong>assistir a l'Assemblea General</strong></li>
<footer>
<a target="new" href="https://forms.gle/qFsDhWja3Dtoa9ao6" class="button style2 scrolly-middle">Fes-te soci!</a>
</footer>
<hr/>
<h3>Són només 40€ a l'any que destinarem a:</h3>
<li><strong>Seguir preparant esdeveniments</strong> presencials i online relacionats amb la tecnologia i la cultura geek</li>
<li><strong>Cobrir els costos</strong> tècnics (dominis, email, vps, S3, ...) i organitzatius (gestoria, advocats, impostos, ...)</li>
<li>Pagar l'<strong>assegurança de RC</strong> per blindar qualsevol dels esdeveniments</li>
<footer>
<a target="new" href="https://forms.gle/qFsDhWja3Dtoa9ao6" class="button style2 scrolly-middle">Fes-te soci!</a>
</footer>
<hr/>
<h3>Ens comprometem a:</h3>
<li><strong>Invertir de forma responsable</strong> evitant malbaratar els recursos</li>
<li><strong>Estudiar totes les sol·licituds</strong> dels socis</li>
<li>Publicar els <strong>pressupostos generals i el balanç de comptes anualment</strong></li>
<li><strong>Cap carreg</strong> de l'Associació <strong>mai serà remunerat</strong></li>
<footer>
<a target="new" href="https://forms.gle/qFsDhWja3Dtoa9ao6" class="button style2 scrolly-middle">Fes-te soci!</a>
</footer>
</section>
<!-- Subscriute -->
<article id="subscriute" class="container box style3">
<header>
<h2>Subscriu-te</h2>
<p>Vull estar al corrent de les novetats de Geeks.CAT</p>
</header>
<form
action="https://geekscat.us2.list-manage.com/subscribe/post?u=04c7e5f2cdec77b33da4fb17e&id=c91e51c76c"
method="post"
id="mc-embedded-subscribe-form"
name="mc-embedded-subscribe-form"
class="validate"
target="_blank"
novalidate
>
<div class="row gtr-50 centered">
<div class="col-6 col-12-mobile">
<input
type="email"
value=""
name="EMAIL"
class="email"
id="mce-EMAIL"
placeholder="un@email.cat"
required
/>
</div>
<div class="col-6 col-12-mobile">
<ul class="actions">
<li>
<input
type="submit"
value="Notifica'm!"
name="subscribe"
id="mc-embedded-subscribe"
class="button"
/>
</li>
</ul>
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px" aria-hidden="true">
<input
type="text"
name="b_04c7e5f2cdec77b33da4fb17e_4d787611bf"
tabindex="-1"
value=""
/>
</div>
</div>
</form>
</article>
<!-- Contact -->
<article id="contacte" class="container box style3">
<header>
<h2>Contacta amb nosaltres!</h2>
<p>Escriu-nos per a qualsevol cosa:</p>
</header>
<form id="my-form" method="post" action="https://formspree.io/xaypbjqn">
<div class="row gtr-50">
<div class="col-6 col-12-mobile">
<input type="text" class="text" name="name" placeholder="Nom" />
</div>
<div class="col-6 col-12-mobile">
<input
type="text"
class="text"
name="_replyto"
placeholder="Email"
/>
</div>
<div class="col-12">
<textarea name="message" placeholder="Missatge..."></textarea>
</div>
<div class="col-12">
<ul class="actions">
<li>
<input id="my-form-button" type="submit" value="Enviar" />
</li>
</ul>
</div>
</div>
</form>
<br />
<p id="my-form-status"></p>
</article>
<section id="footer">
<ul class="icons">
<li>
<a href="https://twitter.com/Geeks_CAT" class="icon brands fa-twitter"
><span class="label">Twitter</span></a
>
</li>
<li>
<a
href="https://github.com/Geeks-CAT/associacio"
class="icon brands fa-github"
><span class="label">GitHub</span></a
>
</li>
<li>
<a href="https://t.me/GeeksCAT" class="icon brands fa-telegram"
><span class="label">Telegram</span></a
>
</li>
<li>
<a href="#contacte" class="fa fa-envelope-square"></a>
</li>
</ul>
<div class="copyright">
<ul class="menu">
<li>Associació Geeks.CAT - NIF: G01765429</li>
<li>Disseny d'<a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</div>
</section>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.poptrox.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function () {
// get the form elements defined in your form HTML above
var form = document.getElementById('my-form');
var button = document.getElementById('my-form-button');
var status = document.getElementById('my-form-status');
// Success and Error functions for after the form is submitted
function success() {
form.reset();
button.style = 'display: none ';
status.innerHTML =
'<h4>Gràcies pel vostre missatge!</h4><br/>En breu us contestarem :)';
}
function error() {
status.innerHTML =
"<h4>Oops! Hi ha hagut algún tipus de problema...</h4><br/>Contacta'ns a info arroba geekscat punt org";
}
// handle the form submission event
form.addEventListener('submit', function (ev) {
ev.preventDefault();
var data = new FormData(form);
ajax(form.method, form.action, data, success, error);
});
});
// helper function for sending an AJAX request
function ajax(method, url, data, success, error) {
var xhr = new XMLHttpRequest();
xhr.open(method, url);
xhr.setRequestHeader('Accept', 'application/json');
xhr.onreadystatechange = function () {
if (xhr.readyState !== XMLHttpRequest.DONE) return;
if (xhr.status === 200) {
success(xhr.response, xhr.responseType);
} else {
error(xhr.status, xhr.response, xhr.responseType);
}
};
xhr.send(data);
}
</script>
</body>
</html>