Skip to content

Commit 5a07c55

Browse files
Add first event listing plus some minor adjustments (#97)
* Change featured post * Move News above presentations Add conditional to hide events if there are none * url: stop url from changing Add new frontmatter var (boolean) to ensure url will no longer change when de-featuring a post * Ignore upgrade script file * Add 2025-05 Webinar * Cleanup CSS-HTML for accessibility and consistency * Add image for webinar event * Add Event listings on news sections --------- Co-authored-by: James Riordon <jriordon@outofcontrol.ca>
1 parent 1639159 commit 5a07c55

File tree

13 files changed

+122
-45
lines changed

13 files changed

+122
-45
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Gemfile
22
Gemfile.lock
3-
_site/
3+
_site/
4+
upgrade-site.sh

_includes/footer.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<div class="divider"></div>
2-
<footer class="footer">
31
<div class="container">
42
<p class="visually-hidden-focusable">Page footer starts here. <a href="#backtop">Return to main content</a></p>
53
<div class="row">
@@ -23,7 +21,7 @@
2321

2422

2523
<div class="col-xs-12 col-sm-3 footer_details">
26-
<h4>Community</h4>
24+
<div class="h4">Community</div>
2725
{% if site.data.social %} {% include social.html %} {% endif %}
2826

2927
<a href="/feed.xml" class="btn btn-primary btn-small text-uppercase"><svg fill="#FFFFFF" width="25" height="25" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
@@ -52,4 +50,3 @@ <h4>Community</h4>
5250
</div>
5351

5452
</div>
55-
</footer>

_includes/header.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<div class='header'>
21
<div class="container">
32
<div class="logo">
43
<a href="/"><img width="{{ site.logo.desktop_width }}" height="{{ site.logo.desktop_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a>
@@ -9,4 +8,3 @@
98
{% include main-menu.html %}
109
{% include hamburger.html %}
1110
</div>
12-
</div>

_includes/home-news-bar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ <h4>{{ post.title }}</h4>
3131
{% elsif post.categories contains 'news' %}Read News Item
3232
{% elsif post.categories contains 'blog' %}Read Blog
3333
{% elsif post.categories contains 'presentation' %}View Presentation
34+
{% elsif post.categories contains 'event' %}Join Virtual Meetup
3435
{% else %}Read More
3536
{% endif %}
3637
</a>

_layouts/default.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@
3131
<body class='page {{layout.bodyClass}}'>
3232
{% include main-menu-mobile.html %}
3333
<div id="wrapper">
34+
<header class='header'>
3435
{% include header.html headerClass='header-extra' %}
36+
</header>
3537
<main>
3638
{{content}}
3739
</main>
3840
</div>
41+
<div class="divider"></div>
42+
<footer class="footer">
3943
{% include footer.html %}
4044
{% include sub-footer.html %}
45+
</footer>
4146
<script type="text/javascript" src="{{ '/assets/js/scripts.js' | relative_url }}"></script>
4247
</body>
4348
</html>

_layouts/event.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
bodyClass: "page-post"
4+
---
5+
6+
<div class="container">
7+
<div class="row">
8+
<div class="col-12">
9+
10+
<p><button class="btn btn-secondary">Virtual Meetup</button></p>
11+
12+
<h1>{{ page.title }}
13+
<hr>
14+
</h1>
15+
<div class="metadata">
16+
<div class="date">
17+
{% if page.human_date and page.human_date != '' %}
18+
{{ page.human_date }}
19+
{% endif %}
20+
{% if page.human_date and page.human_time != '' %}
21+
| {{ page.human_time }}
22+
{% endif %}
23+
{% if page.human_date and page.session_length != '' %}
24+
| {{ page.session_length }}
25+
{% endif %}
26+
</div>
27+
</div>
28+
29+
30+
{{content}}
31+
</div>
32+
</div>
33+
</div>

_layouts/news.html

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,43 @@ <h1 class="title">{{page.title}}</h1>
1414
</div>
1515
</div>
1616

17+
{% assign upcoming_and_ongoing_events = site.categories.event | where_exp: "event", "event.end_date > site.time" %}
18+
{% if upcoming_and_ongoing_events and upcoming_and_ongoing_events.size > 0 %}
19+
<div class="section">
20+
<div class="container">
21+
<div class="row">
22+
<h3>Events
23+
<hr>
24+
</h3>
25+
26+
<div class="grid gridNews">
27+
{% for event in upcoming_and_ongoing_events %}
28+
<div class="g-col-12 g-col-sm-6 g-col-md-4">
29+
<div class="card shadow">
30+
{% if event.image %}
31+
<img src="{{ event.image }}" class="card-img-top img-fluid" alt="{{ event.title }}">
32+
{% else %}
33+
<img src="/images/posts/latest-feature.webp" class="card-img-top img-fluid"
34+
alt="{{ event.title }}">
35+
{% endif %}
36+
<div class="card-body">
37+
<div class="card-text">{{ event.human_date }}</div>
38+
<div class="card-tagline">{{ event.tagline }}</div>
39+
<div class="card-title">
40+
<h4>{{ event.title }}</h4>
41+
</div>
42+
<a class="btn btn-primary" href="{{ event.url | relative_url }}">View Event</a>
43+
</div>
44+
</div>
45+
</div>
46+
{% endfor %}
47+
</div>
48+
49+
</div>
50+
</div>
51+
</div>
52+
{% endif %}
53+
1754
{% assign featured_posts = site.posts | where: "featured", true %}
1855
{% assign category_posts = featured_posts | where: "categories", "news" %}
1956
{% if category_posts and category_posts.size > 0 %}
@@ -130,40 +167,5 @@ <h4>{{ post.title }}</h4>
130167
</div>
131168
{% endif %}
132169

133-
{% assign upcoming_and_ongoing_events = site.events | where_exp: "event", "event.end_date > site.time" %}
134-
{% if upcoming_and_ongoing_events and upcoming_and_ongoing_events.size > 0 %}
135-
<div class="section">
136-
<div class="container">
137-
<div class="row">
138-
<h3>Events
139-
<hr>
140-
</h3>
141170

142-
<div class="grid gridNews">
143-
{% for event in upcoming_and_ongoing_events %}
144-
<div class="g-col-12 g-col-sm-6 g-col-md-4">
145-
<div class="card shadow">
146-
{% if event.image %}
147-
<img src="{{ event.image }}" class="card-img-top img-fluid" alt="{{ event.title }}">
148-
{% else %}
149-
<img src="/images/posts/latest-feature.webp" class="card-img-top img-fluid"
150-
alt="{{ event.title }}">
151-
{% endif %}
152-
<div class="card-body">
153-
<div class="card-text">{{ event.human_date }}</div>
154-
<div class="card-tagline">{{ event.tagline }}</div>
155-
<div class="card-title">
156-
<h4>{{ event.title }}</h4>
157-
</div>
158-
<a class="btn btn-primary" href="{{ event.source_url }}">View Event</a>
159-
</div>
160-
</div>
161-
</div>
162-
{% endfor %}
163-
</div>
164-
165-
</div>
166-
</div>
167-
</div>
168-
{% endif %}
169171

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
layout: event
3+
title: "Getting Started with Slang: Draw Your First Splat"
4+
date: 2025-04-30 17:00:00
5+
end_date: 2025-05-10 17:00:00
6+
categories: [ "event" ]
7+
tags: [slang]
8+
author: "Shannon Woods, NVIDIA, Slang Working Group Chair"
9+
image: /images/events/2025-05-gaussian-splat-meetup-image.webp
10+
human_date: "🗓️ May 20, 2025"
11+
human_time: "🕜 8:00 USA PT"
12+
session_length: "⏱️ 45-60 minutes"
13+
---
14+
15+
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.
16+
17+
## We'll cover everything you need to get started
18+
19+
- Setting up Slang for development
20+
- Understanding the basics of Gaussian splats
21+
- Writing and compiling your first Slang shader
22+
23+
<br>
24+
This beginner-friendly session includes step-by-step code examples and demonstrations, with time for Q&A. By the end, you'll understand how to use Slang and be ready to explore the training process.
25+
26+
## Prerequisites
27+
28+
- Basic understanding of computer graphics concepts
29+
- Familiarity with shader or kernel programming languages (HLSL, GLSL, etc)
30+
- No prior Slang or Gaussian splatting experience required
31+
- Optional: Have Slang compiler installed if you want to follow along
32+
33+
## Speakers
34+
35+
- Shannon Woods, Slang Working Group Chair. NVIDIA.
36+
37+
<br>
38+
<a class="btn btn-primary" href="https://khronosgroup.zoom.us/webinar/register/WN_H57vtAYZS3OSZwWXxkJ7uw">Register</a>
39+
40+
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.

_sass/components/_buttons.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
height: 40px;
55
line-height: 40px;
66
padding: 0 14px;
7-
//box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
87
background: $primary;
98
border-radius: 4px;
109
font-size: 14px;

_sass/components/_main-menu.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
display: inline-block;
1717
font-weight: normal;
1818
text-decoration: none;
19-
color: $black;
19+
color: $slangblack;
2020
&:hover {
2121
color: $white;
2222
background-color: $primary;

0 commit comments

Comments
 (0)