-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathpage_bof.html
More file actions
229 lines (218 loc) · 11.3 KB
/
Copy pathpage_bof.html
File metadata and controls
229 lines (218 loc) · 11.3 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
---
layout: page
title: Birds of a Feather
permalink: /bof
---
{% assign all_bofs = site.bofs | sort: 'start_date' %}
{% assign bofs = all_bofs | reverse %}
{% assign today = site.time | date: "%Y-%m-%d" %}
{% assign upcoming = all_bofs | where_exp: "b", "b.start_date >= today" %}
{% assign past = bofs | where_exp: "b", "b.start_date < today" %}
{% assign first_year = all_bofs.first.start_date | slice: 0, 4 %}
{% assign this_year = today | slice: 0, 4 %}
{% assign span_years = this_year | minus: first_year | plus: 1 %}
{% assign people = 0 %}
{% for b in site.bofs %}
{% if b.speakers %}{% assign people = people | plus: b.speakers.size %}{% endif %}
{% if b.organizers %}{% assign people = people | plus: b.organizers.size %}{% endif %}
{% endfor %}
<section class="bofx-hero">
<div class="container">
<div class="bofx-hero-card" data-aos="fade-up">
<div class="bofx-hero-glow"></div>
<div class="bofx-hero-inner">
<div class="bofx-eyebrow"><span class="bofx-dot"></span>Birds of a Feather</div>
<h1>Focused conversations that<br class="d-none d-lg-block" /> connect communities</h1>
<p class="bofx-lead">BoF sessions gather researchers, developers, and users from across workflow systems at major
conferences to debate the challenges and opportunities shaping the field — in the open, and in person.</p>
<div class="bofx-stats">
<div class="bofx-stat">
<strong>{{ site.bofs | size }}</strong>
<span>Sessions held</span>
</div>
<div class="bofx-stat">
<strong>{{ span_years }}</strong>
<span>Years running</span>
</div>
<div class="bofx-stat">
<strong>{{ people }}+</strong>
<span>Speakers & organizers</span>
</div>
<div class="bofx-stat">
<strong>3</strong>
<span>Conference series</span>
</div>
</div>
</div>
</div>
</div>
</section>
{% if upcoming.size > 0 %}
<section class="bofx-next">
<div class="container">
<div class="bofx-section-head" data-aos="fade-up">
<h2><span class="bofx-live"></span>Coming up next</h2>
<p>Join us at the next gathering — everyone is welcome, no registration required beyond the conference itself.</p>
</div>
{% for bof in upcoming %}
{% if bof.title contains "ISC" %}{% assign series = "ISC" %}{% elsif bof.title contains "ECP" %}{% assign series = "ECP" %}{% elsif bof.title contains "SC" %}{% assign series = "SC" %}{% else %}{% assign series = "BoF" %}{% endif %}
{% assign year = bof.start_date | slice: 0, 4 %}
{% assign banner = "" %}
{% unless bof.image contains "wci-default-card" %}{% assign banner = bof.image %}{% endunless %}
<a class="bofx-feature" href="{{ bof.url }}" data-aos="fade-up">
<div class="bofx-feature-visual">
<div class="bofx-feature-badge">Upcoming</div>
{% if banner != "" %}
<img class="bofx-feature-photo" src="{{ banner }}" alt="{{ bof.title }} announcement" />
{% elsif bof.conference_logo %}
<div class="bofx-feature-logo"><img src="{{ bof.conference_logo }}" alt="{{ series }} {{ year }} logo" loading="lazy" /></div>
{% else %}
<div class="bofx-feature-logo bofx-logo-text">{{ series }} {{ year }}</div>
{% endif %}
{% if bof.event_date contains "," %}
<div class="bofx-countdown" data-bof-date="{{ bof.start_date }}"></div>
{% else %}
<div class="bofx-when">{{ bof.event_date }}</div>
{% endif %}
</div>
<div class="bofx-feature-body">
<div class="bofx-tags">
<span class="bofx-tag bofx-tag-{{ series | downcase }}">{{ series }} {{ year }}</span>
{% if bof.title contains "Streaming" %}<span class="bofx-tag bofx-tag-track">Data Streaming</span>{% endif %}
</div>
<h3>{{ bof.subtitle | default: bof.title }}</h3>
<div class="bofx-meta">
<div class="bofx-meta-item">
<i class="bi bi-calendar-event"></i>
<div><span>Date</span><strong>{{ bof.event_date | split: " - " | last }}</strong></div>
</div>
<div class="bofx-meta-item">
<i class="bi bi-clock"></i>
<div><span>Time</span><strong>{{ bof.time | default: "TBA" }}</strong></div>
</div>
<div class="bofx-meta-item">
<i class="bi bi-geo-alt"></i>
<div><span>Room</span><strong>{{ bof.room | default: "TBA" }}</strong></div>
</div>
</div>
{% if bof.speakers %}
<div class="bofx-people">
<div class="bofx-avatars">
{% for s in bof.speakers limit: 5 %}
<img src="{{ s.image }}" alt="{{ s.name }}" title="{{ s.name }}" loading="lazy" />
{% endfor %}
{% if bof.speakers.size > 5 %}<span class="bofx-avatar-more">+{{ bof.speakers.size | minus: 5 }}</span>{% endif %}
</div>
<span class="bofx-people-label">{{ bof.speakers.size }} featured speakers</span>
</div>
{% endif %}
<span class="bofx-cta">View session details <i class="bi bi-arrow-right"></i></span>
</div>
</a>
{% endfor %}
</div>
</section>
{% endif %}
<section class="bofx-archive">
<div class="container">
<div class="bofx-section-head bofx-section-head-row" data-aos="fade-up">
<div>
<h2>Past sessions</h2>
<p>Slides, notes, and recordings from previous gatherings.</p>
</div>
<div class="bofx-filters" role="group" aria-label="Filter sessions by conference series">
<button type="button" class="bofx-filter is-active" data-filter="all">All</button>
<button type="button" class="bofx-filter" data-filter="SC">SC</button>
<button type="button" class="bofx-filter" data-filter="ISC">ISC</button>
<button type="button" class="bofx-filter" data-filter="ECP">ECP</button>
</div>
</div>
<div class="bofx-timeline">
{% assign last_year = "" %}
{% for bof in past %}
{% assign year = bof.start_date | slice: 0, 4 %}
{% if bof.title contains "ISC" %}{% assign series = "ISC" %}{% elsif bof.title contains "ECP" %}{% assign series = "ECP" %}{% elsif bof.title contains "SC" %}{% assign series = "SC" %}{% else %}{% assign series = "BoF" %}{% endif %}
{% assign banner = "" %}
{% unless bof.image contains "wci-default-card" %}{% assign banner = bof.image %}{% endunless %}
{% if year != last_year %}
{% unless forloop.first %}
</div>
</div>
{% endunless %}
<div class="bofx-year-group" data-year="{{ year }}">
<div class="bofx-year-rail">
<span class="bofx-year-label">{{ year }}</span>
</div>
<div class="bofx-grid">
{% assign last_year = year %}
{% endif %}
<a class="bofx-card" href="{{ bof.url }}" data-series="{{ series }}" data-aos="fade-up">
<div class="bofx-card-cover{% if banner != "" %} bofx-card-cover-photo{% endif %}">
{% if banner == "" %}<span class="bofx-card-year">{{ year }}</span>{% endif %}
{% if banner != "" %}
<img class="bofx-card-photo" src="{{ banner }}" alt="{{ bof.title }} announcement" loading="lazy" />
{% elsif bof.conference_logo %}
<div class="bofx-card-logo"><img src="{{ bof.conference_logo }}" alt="{{ series }} {{ year }} logo" loading="lazy" /></div>
{% else %}
<div class="bofx-card-logo bofx-logo-text">{{ series }} {{ year }}</div>
{% endif %}
</div>
<div class="bofx-card-body">
<div class="bofx-tags">
<span class="bofx-tag bofx-tag-{{ series | downcase }}">{{ bof.title | remove: " BoF" | remove: " Data Streaming" }}</span>
{% if bof.title contains "Streaming" %}<span class="bofx-tag bofx-tag-track">Data Streaming</span>{% endif %}
</div>
<h3>{{ bof.subtitle | default: bof.title }}</h3>
<div class="bofx-card-foot">
<span class="bofx-card-time"><i class="bi bi-calendar-event"></i>{{ bof.event_date | split: " - " | last }}</span>
<span class="bofx-card-link">View details <i class="bi bi-arrow-right"></i></span>
</div>
</div>
</a>
{% if forloop.last %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
<p class="bofx-empty" hidden>No sessions match that filter yet.</p>
</div>
</section>
<script>
(function () {
var countdowns = document.querySelectorAll('.bofx-countdown');
countdowns.forEach(function (el) {
var target = new Date(el.getAttribute('data-bof-date') + 'T00:00:00');
if (isNaN(target)) { return; }
var days = Math.ceil((target - new Date()) / 86400000);
if (days > 1) {
el.innerHTML = '<strong>' + days + '</strong><span>days to go</span>';
} else if (days === 1) {
el.innerHTML = '<strong>1</strong><span>day to go</span>';
} else if (days === 0) {
el.innerHTML = '<strong>Today</strong><span>see you there</span>';
}
});
var buttons = document.querySelectorAll('.bofx-filter');
var cards = document.querySelectorAll('.bofx-card');
var groups = document.querySelectorAll('.bofx-year-group');
var empty = document.querySelector('.bofx-empty');
buttons.forEach(function (btn) {
btn.addEventListener('click', function () {
var filter = btn.getAttribute('data-filter');
buttons.forEach(function (b) { b.classList.toggle('is-active', b === btn); });
cards.forEach(function (card) {
var match = filter === 'all' || card.getAttribute('data-series') === filter;
card.hidden = !match;
});
var visible = 0;
groups.forEach(function (group) {
var shown = group.querySelectorAll('.bofx-card:not([hidden])').length;
group.hidden = shown === 0;
visible += shown;
});
if (empty) { empty.hidden = visible !== 0; }
});
});
})();
</script>