-
Notifications
You must be signed in to change notification settings - Fork 22
/
participants.html
116 lines (108 loc) · 4.23 KB
/
participants.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
---
layout: page
title: Participants
---
<h1 class="my-4">Participants</h1>
<iframe class="float-lg-end ms-3 mb-3" width="300" height="150" src="https://www.youtube.com/embed/E-oBTjJz4xM?si=ZOXU3-DpyFakahSx" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<p class="lead">
🚨 <a href="https://twitter.com/messages/compose?recipient_id=47729549&text=Please%20update%20my%20name,%20Ethereum%20address,%20GitHub%20username%20on%20the%20hour.gg">DM Will</a>
or click <kbd>EDIT</kbd> below to update how you are shown on this website.
</p>
<p class="lead">
ℹ️ You can follow people below all at once with <a href="https://twitter.com/fulldecent/lists">our lists on X</a>.
</p>
<table class="table">
<tr>
<th>Participant</th>
<th>Name</th>
<th>Ethereum</th>
<th>GitHub</th>
<th>Photo</th>
<th>Last participated</th>
<th>Edit</th>
</tr>
{% for participant in site.data.participants -%}
<tr id="{{ participant[0] }}">
<td class="position-relative">
<a href="http://twitter.com/{{ participant[1].x }}" class="stretched-link icon-link" target="_blank">
<i class="bi-twitter-x"></i>
{{ participant[1].x }}
</a>
</td>
<td class="position-relative">
{{ participant[1].name | default: "???" }}
</td>
<td class="position-relative">
{% assign ethereum = participant[1].ethereum | default: "???" %}
{% if ethereum == "???" %}
???
{% else %}
<a href="ethereum:{{ participant[1].ethereum }}" class="stretched-link icon-link">
<i class="bi-wallet"></i>
{% assign suffix = participant[1].ethereum | slice: -4, 4 %}
{% if suffix == ".eth" %}
{{ participant[1].ethereum }}
{% else %}
<code>{{ participant[1].ethereum }}</code>
{% endif %}
</a>
{% endif %}
</td>
<td class="position-relative">
{% assign github = participant[1].github | default: "???" %}
{% if github == "???" %}
???
{% else %}
<a href="https://github.com/{{ participant[1].github }}" class="stretched-link icon-link">
<i class="bi-github"></i>
{{ participant[1].github }}
{% endif %}
</td>
<td class="position-relative">
{% for file in site.static_files %}
{% if file.path contains participant[0] %}
<p>
<img src="{{ file.path }}" class="rounded-circle" style="width: 2.5rem; height: 2.5rem" alt="Photo of {{ participant[0] }}">
</p>
{% break %}
{% endif %}
{% endfor %}
</td>
<td class="position-relative">
{% assign episodes = site.episodes | where: "posted", true | reverse %}
{% for episode in episodes -%}
{% if episode.participants contains participant[0] %}
<a href="{{ episode.url }}" target="_blank" class="stretched-link">
{{ episode.itunes-episode }} / {{ episode.title | escape }}
</a>
{% break %}
{% endif -%}
{% endfor -%}
</td>
<td class="position-relative">
<a href="https://github.com/community-service/hour.gg/edit/main/_data/participants.yml" target="_blank" class="stretched-link btn btn-primary btn-sm">
Edit
</a>
</td>
</tr>
{% endfor -%}
</table>
<h2 class="mt-5">Missing photos</h2>
<p>Please <a href="https://github.com/community-service/hour.gg/tree/main/assets/participants">add photos</a> for these participants to fix broken image links.</p>
<ul>
{% for participant in site.data.participants -%}
{% assign extension = false -%}
{% for file in site.static_files -%}
{% if file.path contains participant[0] -%}
{% assign extension = file.extname -%}
{% break -%}
{% endif -%}
{% endfor -%}
{% if extension == false -%}
<li><a href="https://twitter.com/{{ participant[1].x }}" target="_blank">{{ participant[1].x }}</a></li>
{% elsif extension != ".jpg" -%}
<li><code>convert {{ participant[0] }}{{ extension }} {{ participant[0] }}.jpg; rm {{ participant[0] }}{{ extension }}</code></li>
{% endif -%}
{% endfor -%}
</ul>
<a class="link-primary" href="badges">Badge tallys…</a>