-
Notifications
You must be signed in to change notification settings - Fork 1
/
bundle.js
551 lines (503 loc) · 20.9 KB
/
bundle.js
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
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
const page = require('..')
function demo (cb) {
let font = new FontFace('Magic School One', 'url("https://fonts.cdnfonts.com/s/56374/MagicSchoolOne.woff")')
document.fonts.add(font)
font.load()
const favicon = document.createElement('link')
favicon.setAttribute('rel', 'icon')
favicon.setAttribute('type', 'imagine/png')
favicon.setAttribute('href', './assets/Wizard-Amigos---Stickers---WIZARD-BALL---TRANSPARENT---2022.png')
document.head.append(favicon)
const codecamp = page(cb)
return codecamp
}
var count = 0
const el = demo(async () => {
await document.fonts.ready
const style = document.createElement('style')
style.textContent = `
html, body {
height: 100%;
font-size: 1.3em;
margin: 0;
padding: 0;
background-color: black;
}
`
document.body.append(style, el)
})
},{"..":2}],2:[function(require,module,exports){
const list = require('speakers')()
module.exports = page
function page (cb) {
const el = document.createElement('div')
const shadow = el.attachShadow({ mode: 'closed' })
const mastodon = document.createElement('button')
mastodon.innerText = 'Follow us'
mastodon.onclick = () => follow()
// Speakers
let speakers_wrapper = document.createElement('div')
speakers_wrapper.classList.add('box')
speakers_wrapper.innerHTML = `
<h2>Wizards</h2>
<div class="speaker_grid"></div>
`
list.forEach(item => {
let speaker_grid = speakers_wrapper.querySelector('.speaker_grid')
let speaker_card_container = document.createElement('div')
speaker_card_container.classList.add('speaker_card_container')
speaker_card_container.innerHTML = `
<div class="speaker_card">
<img src="./assets/speakers/${item.name}" class="profile_img" ></img>
<div class="username">
<a href="${item.link}" target="_blank">${item.name}</a> - <a>${item.project}</a>
</div>
<div class="talk">
<a href="${item.peertube}" target="_blank">${item.talk}</a>
</div>
</div>`
speaker_grid.append(speaker_card_container)
})
shadow.innerHTML = `
<link rel="preload" href'./assets/camp3.jpg' as="image">
<link rel="preload" href'./assets/camp9.jpg' as="image">
<link rel="preload" href'./assets/camp1.jpg' as="image">
<link rel="preload" href'./assets/camp8.jpg' as="image">
<link rel="preload" href'./assets/camp10.jpg' as="image">
<link rel="preload" href'./assets/camp7.jpg' as="image">
<link rel="preload" href'./assets/camp5.jpg' as="image">
<link rel="preload" href'./assets/camp2.jpg' as="image">
<link rel="preload" href'./assets/camp4.jpg' as="image">
<link rel="preload" href'./assets/camp6.jpg' as="image">
<link rel="preload" href'./assets/camp11.jpg' as="image">
<link rel="preload" href'./assets/camp12.jpg' as="image">
<link rel="preload" href'./assets/camp13.jpg' as="image">
<div class='main'>
<img class='logo' src='./assets/Wizard-Amigos---Stickers---CAT-NOMAD---TRANSPARENT---2022.png'></img>
<h1>
<span>Wizard Amigos</span>
<span> Code Camp</span>
</h1>
<div class='date'>October 2023, Portugal</div>
<div class='box'>
<p>Wizard Amigos code camp is a DIY gathering and has this year stretched over the whole October.</p>
<p>
A full month of co-living, co-working and organizing an unconference (with remote guests) sharing knowledge about
P2P / federated / co-governed tech, care for people & the future, sustainability and exploring pathways toward a real systemic change.
</p>
<p>Are you thinking of joining? We are already planning the next cam, so stay tuned :)</p>
<mastodon></mastodon>
</div>
<div class='box'>
<h2> Talks, Workshops & Discussions </h2>
<p></p>
<p> Talks from the code camp are recorded and available on our <a target='_blank' href='https://peertube.1312.media/a/wizardamigos/video-channels'> PeerTube</a> and <a target='_blank' href='https://www.youtube.com/@wizardamigos4213'> Youtube</a> channels. </p>
<p>To support Wizard Amigos, You can drop a coin in the tip jar through our <a target='_blank' href='https://opencollective.com/wizardamigos'> Open Collective page. </a></p>
</div>
<speakers></speakers>
<div class='venue box'>
<h2>Location</h2>
<p>
Wizard Amigos code camp 2023 was set in a villa on a valley with a breathtaking view of the mountains around it. Located in a quiet village in Portugal called Alvados we experienced a perfect mash between tech and the old days' rural life.
Surrounded by nature 360º you will feel like you've been immersed into relaxing mode.
We plan were coworking, learning from each other and relaxing inside the house or outside beneath the shade of an olive tree or on a hike in amazingly indigenous nature trails that surrounded the wizard villa.
</p>
<div class='gallery'>
<img src='./assets/camp1.jpg'></img>
<img src='./assets/camp10.jpg'></img>
<img src='./assets/camp12.jpg'></img>
<img src='./assets/camp2.jpg'></img>
<img src='./assets/camp17.jpg'></img>
<img src='./assets/camp8.jpg'></img>
<img src='./assets/camp6.jpg'></img>
<img src='./assets/camp9.jpg'></img>
<img src='./assets/camp7.jpg'></img>
<img src='./assets/camp16.jpg'></img>
<img src='./assets/camp11.jpg'></img>
<img src='./assets/camp19.jpg'></img>
<img src='./assets/camp4.jpg'></img>
</div>
</div>
<div class='faq box'>
<h2>About</h2>
<h3>Who is organizing this?</h3>
<p>
Wizard Amigos code camps are being organised by enthusiasts, for enthusiasts.
We are a group doing this together, and we want to learn how to do things together. If you want to <a href='https://discord.gg/8FzZPHkp44' target="_blank">tag along</a>, you are in the group. We are we.
</p>
<h3>Is event sponsored?</h3>
<p>
No. We have not yet asked for, nor recieved any interest in sponsorship.
If you would like to support Wizard Amigos, you can donate through our <a href="https://opencollective.com/wizardamigos" target="_blank">Open Collective page.</a>
</p>
</div>
</div>
`
shadow.querySelector('img').onload = cb
shadow.querySelector('speakers').replaceWith(speakers_wrapper)
shadow.querySelector('mastodon').replaceWith(mastodon)
// shadow.adoptedStyleSheets = [sheet]
const style = document.createElement('style')
style.textContent = get_theme()
shadow.append(style)
return el
// handlers
function follow () {
window.open('https://fosstodon.org/@wizardamigos')
}
function open_map () {
window.open('https://www.openstreetmap.org/way/308537567')
}
}
function get_theme () {
return `
:host {
font-family: "Courier New", Courier, monospace;
--pink: hsla(291, 100%, 81%, 1);
--light-purple: hsla(247, 89%, 70%, 1);
--fluo-green: hsla(121, 97%, 65%, 1);
--green: hsla(163, 76%, 58%, 1);
--red: hsla(316, 56%, 32%, 1);
--light-yellow: hsla(44, 87%, 78%, 1);
}
.main {
display: grid;
justify-items: center;
line-height: 2rem;
grid-template-columns: 1fr 4fr 1fr;
justify-items: center;
}
.logo {
margin-top: 55px;
min-width: 550px;
max-width: 550px;
width: 20%;
height: auto;
grid-column-start: 2;
}
h1 {
font-family: 'Magic School One', sans-serif;
display: block;
line-height: 0.8;
text-align: center;
font-size: 4rem;
font-weight: 100;
color: var(--pink);
grid-column-start: 2;
}
h2 {
font-family: 'Magic School One', sans-serif;
text-align: center;
line-height: 1;
font-size: 3em;
font-weight: 100;
color: var(--fluo-green);
grid-column-start: 2;
}
h3 {
color: var(--green);
grid-column-start: 2;
}
p {
color: var(--green);
display: subgrid;
justify-items: space-between;
grid-column-start: 2;
}
a {
color: var(--green);
transition: color .3s;
min-width: 280px;
max-width: 350px;
width: 20%;
height: auto;
}
a:hover {
text-decoration: underline;
color: var(--fluo-green);
transition: color .3s;
cursor: pointer;
}
button {
font-size: 1rem;
border: none;
padding: 1em;
background-color: var(--pink);
transition: background-color .3s ease-in-out;
color: var(--red);
grid-column-start: 2;
margin: 3% 0 3% 0;
width: 215px;
height: 70px;
}
button:hover {
background-color: var(--fluo-green);
transition: background-color .3s ease-in-out;
cursor: pointer;
}
.date {
font-family: "Courier New", Courier, monospace;
justify-items: center;
text-align: center;
font-size: 2rem;
font-weight: 600;
color: var(--fluo-green);
grid-column-start: 2;
}
.box {
container-type: inline-size;
grid-column-start: 2;
border: 6px solid var(--light-purple);
transition: box-shadow .3s ease-in-out;
padding: 3%;
margin: 5% 5% 0 5%;
text-align: center;
font-size: 1.5rem;
width: 90%;
}
/* SPEAKER */
.speaker_grid{
display:grid;
grid-template-columns: 12fr;
gap: 30px;
.speaker_card_container{
background-color:var(--light-purple);
height:100%;
width:100%;
.speaker_card{
height:100%;
width:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
background-color:black;
border:2px solid var(--light-purple);
transition:0.2s;
text-align:center;
box-sizing: border-box;
padding:40px;
}
.profile_img{
width:110px;
aspect-ratio:1/1;
border-radius:10rem;
background-color:red;
margin-bottom:25px;
}
.username{
color: var(--fluo-green);
font-size:1.2rem;
font-weight:700;
a{
text-decoration:none;
color:var(--flou-green);
&:hover{
text-decoration:underline;
}
}
}
.talk{
color:var(--green);
font-size:1rem;
margin-top:10px;
line-height:28px;
}
&:hover{
.speaker_card{
transform: translate(-12px, -12px)
}
}
}
}
@container (min-width: 810px) {
.speaker_grid{
grid-template-columns: 6fr 6fr;
}
}
.local {
box-shadow: 7px 7px var(--pink);
-moz-box-shadow: 7px 7px var(--pink);
-webkit-box-shadow: 7px 7px var(--pink);
-o-box-shadow: 7px 7px var(--pink);
}
.remote {
box-shadow: 7px 7px var(--fluo-green);
-moz-box-shadow: 7px 7px var(--fluo-green);
-webkit-box-shadow: 7px 7px var(--fluo-green);
-o-box-shadow: 7px 7px var(--fluo-green);
}
.booking {
}
.venue {
}
.faq {
word-break: break-word;
}
.astralship {
font-style: italic;
font-size: 1rem;
padding: 0 3% 3% 3%;
}
.gallery {
grid-column-start: 2;
grid-column-end: 3;
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(31, 5vw);
grid-gap: 15px;
}
.gallery img {
height: 100%;
width: 100%;
object-fit: cover;
transition: border .3s, opacity .3s ease-in-out;
}
.gallery img:hover {
opacity: 0.8;
transition: border .3s, opacity .3s ease-in-out;
}
.gallery img:nth-child(1) {
grid-column-start: 1;
grid-column-end: 6;
grid-row-start: 1;
grid-row-end: 7;
}
.gallery img:nth-child(2) {
grid-column-start: 6;
grid-column-end: 9;
grid-row-start: 1;
grid-row-end: 4;
}
.gallery img:nth-child(3) {
grid-column-start: 1;
grid-column-end: 6;
grid-row-start: 12;
grid-row-end: 18;
}
.gallery img:nth-child(4) {
grid-column-start: 4;
grid-column-end: 9;
grid-row-start: 7;
grid-row-end: 12;
}
.gallery img:nth-child(5) {
grid-column-start: 6;
grid-column-end: 9;
grid-row-start: 4;
grid-row-end: 7;
}
.gallery img:nth-child(6) {
grid-column-start: 6;
grid-column-end: 9;
grid-row-start: 12;
grid-row-end: 18;
}
.gallery img:nth-child(7) {
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 7;
grid-row-end: 12;
}
.gallery img:nth-child(8) {
grid-column-start: 4;
grid-column-end: 9;
grid-row-start: 18;
grid-row-end: 23;
}
.gallery img:nth-child(9) {
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 18;
grid-row-end: 23;
}
.gallery img:nth-child(10) {
grid-column-start: 1;
grid-column-end: 6;
grid-row-start: 23;
grid-row-end: 28;
}
.gallery img:nth-child(11) {
grid-column-start: 6;
grid-column-end: 9;
grid-row-start: 23;
grid-row-end: 28;
}
.gallery img:nth-child(12) {
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 28;
grid-row-end: 33;
}
.gallery img:nth-child(13) {
grid-column-start: 4;
grid-column-end: 9;
grid-row-start: 28;
grid-row-end: 33;
}
@media screen and (max-width: 956px) {
.main {
grid-template-columns: 1fr 5fr 1fr;
font-size: 1vw;
};
}
@media only screen and (max-width: 768px) {
.main {
grid-template-columns: 1fr 8fr 1fr;
font-size: 1vw;
};
}
`
}
},{"speakers":3}],3:[function(require,module,exports){
module.exports = get_speakers
function get_speakers () {
const list = [
// { name: 'mafintosh', project: 'Hypercore & Holepunch', from: 'remote', link: 'https://twitter.com/mafintosh' },
{ name: 'olemehll', project: 'Grillchat', from: 'remote', link: 'https://github.com/olehmell/', talk: 'Subsocial: Grill chat' , peertube: 'https://peertube.1312.media/w/rhypeBrAAy4gvPULaBeXZs'},
{ name: 'cryptix', project: 'Cabal', from: 'remote', link: 'github.com/cryptix/', talk: 'Cable Protocol (cabal.chat)', peertube: 'https://peertube.1312.media/w/2sBmXUMoiCpZbatWZTwcvo'},
{ name: 'jam10o', project: 'Shokunin', from: 'local', link: 'https://twitter.com/jam10o', talk: 'A weird esolang I accidentally created on the way to building a portable AI sideproject', peertube: 'https://peertube.1312.media/w/vBPRTa65sNH6GkAZr5DUkr'},
{ name: 'serapath', project: 'DatDot & WizardAmigos', from: 'local', link: 'https://twitter.com/serapath', talk: 'A Deep Dive into DatDot', peertube: 'https://peertube.1312.media/w/m7iTbVpBiHoa7LhAFR93i8'},
{ name: 'bjoern', project: 'Delta Chat', from: 'remote', link: 'https://github.com/r10s', talk: 'Deltachat/Webxdc Secure Sandbox', peertube: 'https://peertube.1312.media/w/dXsfZnndDgyiqkD16NFETr'},
{ name: 'micahscopes', project: 'Wondering Xyz', from: 'remote', link: 'https://twitter.com/micahscopes', talk: 'Visualizing Dat ecosystem with Webscape Wanderer', peertube: 'https://peertube.1312.media/w/8eYaLNtQaF5xFX9NnPCjM3'},
{ name: 'mariha', project: 'Sleepy bike', from: 'remote', link: 'https://liberapay.com/mariha', talk: 'Solid + sleepy.bike', peertube: 'https://peertube.1312.media/w/hRHVQQ73XEeNZP3bznNRfG'},
{ name: 'hdegroote', project: 'Dcent reads', from: 'local', link: 'https://gitlab.com/HDegroote', talk: 'Decentralised publishing (dcent reads, dcent beats)', peertube: 'https://peertube.1312.media/w/bWQTNso62uYkL9UCZAtuRy'},
{ name: 'tinchoz', project: 'Sher', from: 'remote', link: 'https://twitter.com/tinchoz49', talk: 'Audio streaming with Sher', peertube: 'https://peertube.1312.media/w/oyZi7MCAuSqgkqN22Koedt'},
{ name: 'ninjabirdy', project: 'DatDot & WizardAmigos', from: 'local', link: 'https://twitter.com/ninabreznik', talk: 'Organizing WizardAmigos code camps behind the scenes', peertube: 'https://peertube.1312.media/w/bnAyuquUjwCd8pGGpwa1q1'},
{ name: 'nora', project: 'Patronage', from: 'local', link: 'https://twitter.com/noraliucode', talk: 'Funding Open Source Projects with Crypto Patronage' , peertube: 'https://peertube.1312.media/w/5t9jGpjEvC4k3Ggc7NpCHw'},
{ name: 'gus', project: 'Templo', from: 'local', link: 'https://medium.com/@gustavo_64625', talk: 'Open House - Social Experiment for Innovation', peertube: 'https://peertube.1312.media/w/gACwdETGHqHPvsMDcxLPgX'},
{ name: 'derhuerst', project: 'Open Transportation', from: 'local' , link: 'https://twitter.com/derhuerst', talk: 'NAT and networking workshop', peertube: 'https://peertube.1312.media/w/veXvZbNCpk8FsxYjKi1r5A'},
{ name: 'viktor', project: 'Darksoil', from: 'remote', link: 'https://github.com/zaunders', talk: 'Group organizing with Darksoil and Holochain', peertube: 'https://peertube.1312.media/w/d5SpyWphyC5JepaWV3mEAh'},
{ name: 'michal', project: 'Sleepy bike', from: 'remote', link: 'https://github.com/mrkvon', talk: 'Solid + sleepy.bike', peertube: 'https://peertube.1312.media/w/hRHVQQ73XEeNZP3bznNRfG'},
{ name: 'miguel', project: 'Kinera', from: 'local', link: 'https://www.linkedin.com/in/miguel-marques-4322101a8/', talk: 'Prediction markets in Movie Industry', peertube: ''},
{ name: 'naugtur', project: 'Endo & MetaMask', from: 'remote', link: 'https://twitter.com/naugtur', talk: 'Safely running obfuscated Malware from npm', peertube: ''},
{ name: 'telamohn', project: 'Pico Stack', from: 'remote', link: 'https://twitter.com/telamohn', talk: 'It is called: The Subtle Art of Xorcery', peertube: 'https://peertube.1312.media/w/9ctufucuzhCn6nURkuaoSk'},
{ name: 'adelayde', project: 'Hacktion Lab', from: 'local' , link: 'https://twitter.com/MBrinsleyHarris', talk: 'How Science Publishing works today and how it could look like in the future', peertube: ''},
// { name: 'rtn', project: 'Linkping', from: 'remote', link: ' https://github.com/ralphtheninja'},
// { name: 'fredrik', project: 'digital philosopher', from: 'local' , link: ''},
// { name: 'kumavis_', project: 'LavaMoat & MetaMask', from: 'remote', link: 'https://twitter.com/kumavis_'},
// { name: 'heapwolf', project: 'Socket Supply', from: 'remote', link: 'https://twitter.com/heapwolf'},
// { name: 'zobroj', project: 'Art & Design', from: 'local', link: 'https://twitter.com/zobroj'},
// { name: 'RangerMauve', project: 'Agregore', from: 'remote', link: 'https://twitter.com/RangerMauve'},
// { name: 'Aglae Bindi', project: 'Astralship & TyddynTeg', from: 'local', link: 'https://twitter.com/AstralMarlene'},
// { name: 'liamkurmos', project: 'Astralship', from: 'local', link: 'https://twitter.com/liamkurmos'},
// { name: 'hugozap', project: 'Rust in JS', from: 'remote', link: 'https://twitter.com/hugozap'},
// { name: 'xylodrone', project: 'Ordum', from: 'local', link: 'https://twitter.com/xylodrone'},
// { name: 'jeffemmett', project: 'Commons stack', from: 'remote', link: 'https://twitter.com/jeffemmett'},
// { name: 'MikolaLysenko', project: '0fps & Socket Security', from: 'remote', link: 'https://twitter.com/MikolaLysenko'},
// { name: 'nicksellen', project: 'Karrot', from: 'local', link: 'https://nicksellen.co.uk/'},
// { name: 'julianne becker', project: 'Coconat', from: 'remote', link: 'https://www.facebook.com/juliannebecker'},
// { name: 'whimful', project: 'Ahau', from: 'remote', link: 'https://twitter.com/whimful'},
// { name: 'shaneo_donnell', project: 'Value Flows', from: 'remote', link: 'https://twitter.com/shaneo_donnell'},
// { name: 'Stephen Reid', project: 'Worker Cooperatives and DAOs', from: 'remote', link: 'https://twitter.com/lunarpunk_0x'},
// { name: 'Daniel Bar', project: 'Pink Valley Farm', from: 'remote', link: 'https://twitter.com/danieltbar'},
// { name: 'Aral Balkan', project: 'Small World Tech & Kitten', from: 'remote' },
// { name: 'Toshi', project: ' Freelance', from: 'remote' },
// { name: 'Mirsal', project: 'Peertube', from: 'local' },
// { name: 'Naomi', project: 'Freelance', from: 'remote' },
// { name: 'Leslie', project: 'Zen', from: 'remote' },
]
return list
}
},{}]},{},[1]);