Skip to content

Commit 2786591

Browse files
Add Slang Reflections events and minor fixes to website (#117)
* Add Slang Reflections event * Ensure homepage events show upcoming only * Add ability to easily embed YT into pages * Remove author --------- Co-authored-by: James Riordon <[email protected]>
1 parent d5162a2 commit 2786591

7 files changed

+69
-4
lines changed

_includes/home-news-bar.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,21 @@ <h3>What's New
88
</h3>
99

1010
<div class="grid gridNews">
11-
{% for post in site.posts limit:3 %}
11+
{% assign today = 'now' | date: '%s' %}
12+
{% assign max_display = 3 %}
13+
{% assign count = 0 %}
14+
15+
{% for post in site.posts limit:6 %}
16+
{% assign show_post = true %}
17+
18+
{% if post.categories contains 'event' %}
19+
{% assign event_end_date = post.end_date | date: '%s' %}
20+
{% if event_end_date < today %}
21+
{% assign show_post = false %}
22+
{% endif %}
23+
{% endif %}
24+
25+
{% if show_post and count < max_display %}
1226
<div class="g-col-12 g-col-sm-6 g-col-md-4">
1327
<div class="card">
1428
{% if post.image %}
@@ -39,6 +53,9 @@ <h4>{{ post.title }}</h4>
3953
</div>
4054
</div>
4155
</div>
56+
{% assign count = count | plus: 1 %}
57+
{% endif %}
58+
4259
{% endfor %}
4360
</div>
4461

_includes/youtube_video.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% if include.youtube_id and include.youtube_id != '' %}
2+
3+
<div class="ratio ratio-16x9">
4+
<iframe class="embed-responsive-item"
5+
src="https://www.youtube.com/embed/{{ include.youtube_id }}"
6+
frameborder="0"
7+
title="YouTube video"
8+
allowfullscreen
9+
aria-label="Embedded YouTube video">
10+
</iframe>
11+
</div>
12+
13+
<h3 class="mt-2">Original event:</h3>
14+
15+
{% endif %}

_layouts/event.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
<div class="row">
88
<div class="col-12">
99

10-
<p><button class="btn btn-secondary">Virtual Meetup</button></p>
10+
<p><div class="btn btn-secondary" style="cursor:inherit;">Virtual Meetup</div></p>
1111

1212
<h1>{{ page.title }}
1313
<hr>
1414
</h1>
15+
16+
{% if page.youtube_id and page.youtube_id != '' %}
17+
{% include youtube_video.html youtube_id=page.youtube_id %}
18+
{% endif %}
19+
1520
<div class="metadata">
1621
<div class="date">
1722
{% if page.human_date and page.human_date != '' %}
@@ -26,7 +31,6 @@ <h1>{{ page.title }}
2631
</div>
2732
</div>
2833

29-
3034
{{content}}
3135
</div>
3236
</div>

_posts/2025-05-10-getting-started-with-slang.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ image: /images/events/2025-05-gaussian-splat-meetup-image.webp
1010
human_date: "🗓️ May 20, 2025"
1111
human_time: "🕜 8:00 USA PT"
1212
session_length: "⏱️ 45-60 minutes"
13+
youtube_id: "oGAzYih8I3Q"
1314
---
1415

1516
Join us for an engaging hands-on session where we'll walk through creating your first Gaussian splat using Slang. Perfect for graphics programmers interested in getting started with neural techniques, this hands-on introduction will take you from installation through basic shader compilation to rendering your first splat.

_posts/2025-05-20-getting-started-with-slang-draw-your-first-splat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ categories: [ "video" ]
77
tags: [gaussian, splat, neural]
88
author: "Shannon Woods"
99
image: /images/events/2025-05-20-getting-started-with-slang-draw-your-first-splat.webp
10-
source_url: "https://www.youtube.com/watch?v=oGAzYih8I3Q"
10+
source_url: "/event/2025/04/30/getting-started-with-slang/"
1111
---
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: event
3+
title: "Getting Started with Slang: Reflections API"
4+
date: 2025-06-04 08:00:00
5+
end_date: 2025-07-08 10:00:00
6+
categories: [ "event" ]
7+
tags: [slang]
8+
author: ""
9+
image: /images/events/2025-07-slang-reflections-meetup-thumbnail.webp
10+
human_date: "🗓️ July 8, 2025"
11+
human_time: "🕜 8:00 USA PT"
12+
session_length: "⏱️ 45-60 minutes"
13+
---
14+
15+
We know it: many developers that are just getting started with Slang find themselves daunted by the reflection API. During this meet-up we will explain the underlying mental model for how Slang reflects shader code and show specific code examples for how to use the reflection API to access the information that developers most often need. Along the way we will call out caveats and pitfalls that we’ve seen bite developers before.
16+
17+
### Prerequisites
18+
19+
This will be a practical nuts-and-bolts presentation that assumes attendees already have experience with GPU shader programming and the Vulkan API. Prior experience with the Slang reflection API and the features of the Slang language will be beneficial but is not required
20+
21+
### Speaker
22+
23+
- Theresa Foley, NVIDIA
24+
25+
<br>
26+
<a class="btn btn-primary" href="https://khronosgroup.zoom.us/webinar/register/WN_ZLgU3umkSj6OvIXG_6Ds8A">Register</a>
27+
28+
The Khronos Group is dedicated to providing a harassment-free conference experience for everyone. Visit our [Code of Conduct](https://www.khronos.org/about/code-of-conduct) page to learn more.
21 KB
Loading

0 commit comments

Comments
 (0)