Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions sass/_learn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,25 @@
}
}

.workshop-photo {
margin: 0 0 2.5rem;

img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
margin-left: 0;
}

figcaption {
margin-top: 0.75rem;
font-size: 0.95rem;
line-height: 1.55;
color: rgba($brightPrim, 0.72);
}
}

/* Workshops sub-page CTA — a plain bordered box, like other boxed content. */
.workshops-cta {
margin: 3rem 0 1rem;
Expand Down Expand Up @@ -203,6 +222,10 @@
background-color: rgba(white, 0.06);
}

.workshop-photo figcaption {
color: rgba(white, 0.72);
}

.workshops-cta {
border-color: rgba(white, 0.15);
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions templates/workshops.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,28 @@ <h1>{{ section.title }}</h1>
</div>
<div class="article-content-wrapper">
<div class="article-content">
<figure class="workshop-photo">
<picture>
<source
srcset="/workshops/refactoring-rust-rust-week-2026.webp"
type="image/webp"
/>
<img
src="/workshops/refactoring-rust-rust-week-2026.jpg"
alt="Engineers working through a Rust refactoring workshop in a classroom at Rust Week 2026 in Utrecht"
width="1400"
height="1050"
loading="lazy"
/>
</picture>
<figcaption>
Refactoring Rust workshop at Rust Week 2026 in Utrecht. I
think hands-on training works best when people discuss
different approaches, ask questions, and leave with patterns
they can apply at work the next day.
</figcaption>
</figure>

{% set workshops = load_data(path="data/workshops.toml") %}
<ul class="list-row resource-list">
{% for w in workshops.workshop %} {{ cards::row(href=w.url,
Expand Down
Loading