Skip to content

Commit 814c962

Browse files
committed
fix: add links and start adding names
Assisted-by: ClaudeCode:claude-sonnet-4.6 Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 85c1ed0 commit 814c962

4 files changed

Lines changed: 65 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

assets/css/extended/events.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@
107107
color: var(--secondary);
108108
}
109109

110+
.slot-name {
111+
font-size: 0.8rem;
112+
font-style: italic;
113+
color: var(--secondary);
114+
margin-left: auto;
115+
}
116+
110117
/* ── Sub-sessions ────────────────────────────────────────────────────────── */
111118
.slot-sessions {
112119
list-style: none;
@@ -133,6 +140,17 @@
133140
font-size: 0.875rem;
134141
}
135142

143+
a.session-title {
144+
text-decoration: underline;
145+
text-decoration-color: var(--border);
146+
text-underline-offset: 2px;
147+
color: inherit;
148+
}
149+
150+
a.session-title:hover {
151+
text-decoration-color: var(--primary);
152+
}
153+
136154
.session-duration {
137155
font-size: 0.775rem;
138156
color: var(--secondary);
@@ -150,6 +168,37 @@
150168
white-space: nowrap;
151169
}
152170

171+
.session-name {
172+
font-size: 0.775rem;
173+
font-style: italic;
174+
color: var(--secondary);
175+
margin-left: auto;
176+
}
177+
178+
.session-title-group {
179+
display: inline-flex;
180+
align-items: center;
181+
gap: 0.3rem;
182+
}
183+
184+
.session-slides {
185+
display: inline-flex;
186+
align-items: center;
187+
color: var(--secondary);
188+
opacity: 0.7;
189+
transition: opacity 0.15s;
190+
}
191+
192+
.session-slides:hover {
193+
opacity: 1;
194+
color: var(--primary);
195+
}
196+
197+
.session-slides svg {
198+
width: 0.9rem;
199+
height: 0.9rem;
200+
}
201+
153202
/* ── Nested sub-sessions (e.g. Binding tools) ────────────────────────────── */
154203
.subsession-list {
155204
list-style: none;

content/events/simple-py.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ schedule:
1111
- time: "9:00"
1212
title: "Welcome and overview"
1313
duration: "10 min"
14+
name: "Henry Schreiner"
1415
- time: "9:10"
1516
title: "Basic Packaging"
1617
duration: "2 hours 50 mins"
1718
sessions:
1819
- title: "Setting up for development"
1920
duration: "30 mins"
2021
format: "hands-on"
22+
name: "Henry Schreiner"
23+
link: "https://scikit-build.org/SIMPLE-Py/setup"
24+
slides: "https://scikit-build.org/SIMPLE-Py/slides/1_01_setup"
2125
- title: "Uv vs. Pixi: a showdown"
2226
duration: "20 mins"
2327
- title: "Making a basic package"

layouts/events/single.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,28 @@ <h2 class="schedule-day-title">{{ .day }}</h2>
5555
<div class="slot-header">
5656
<span class="slot-title">{{ .title }}</span>
5757
{{- with .duration }}<span class="slot-duration">{{ . }}</span>{{-
58+
end }} {{- with .name }}<span class="slot-name">{{ . }}</span>{{-
5859
end }}
5960
</div>
6061
{{- with .sessions }}
6162
<ul class="slot-sessions">
6263
{{- range . }}
6364
<li class="session-item">
6465
<div class="session-header">
65-
<span class="session-title">{{ .title }}</span>
66+
<span class="session-title-group">
67+
{{- if .link }}
68+
<a class="session-title" href="{{ .link }}">{{ .title }}</a>
69+
{{- else }}
70+
<span class="session-title">{{ .title }}</span>
71+
{{- end -}}
72+
{{- with .slides }}<a class="session-slides" href="{{ . }}" title="Slides" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg></a>{{- end }}
73+
</span>
6674
{{- with .duration }}<span class="session-duration"
6775
>{{ . }}</span
6876
>{{- end }} {{- with .format }}<span class="session-format"
6977
>{{ . }}</span
78+
>{{- end }} {{- with .name }}<span class="session-name"
79+
>{{ . }}</span
7080
>{{- end }}
7181
</div>
7282
{{- with .subsessions }}

0 commit comments

Comments
 (0)