diff --git a/components/playground.tsx b/components/playground.tsx
index 9f6701e9..fa6c0faf 100644
--- a/components/playground.tsx
+++ b/components/playground.tsx
@@ -245,12 +245,13 @@ export function OrganizedContentDemo() {
}
export function TechTalkDemo() {
+ const poster =
+ tempTechTalkMetadata.thumbnails.large ??
+ tempTechTalkMetadata.thumbnails.small;
+
return (
-
+
diff --git a/content/playground/temp.talk.mdx b/content/playground/temp.talk.mdx
index 3cb2758b..8b19c46b 100644
--- a/content/playground/temp.talk.mdx
+++ b/content/playground/temp.talk.mdx
@@ -1,4 +1,5 @@
export const metadata = {
+ slug: 'not-a-valid-slug'
title: "1989 Bill Gates Talk on Microsoft",
presentors: ["Bill Gates"],
thumbnails: {
diff --git a/content/tech-talks/algorithms-for-shortest-paths.md b/content/tech-talks/algorithms-for-shortest-paths.md
index 5c062e70..347549bc 100644
--- a/content/tech-talks/algorithms-for-shortest-paths.md
+++ b/content/tech-talks/algorithms-for-shortest-paths.md
@@ -5,7 +5,6 @@ presentors:
- 'Anna Lubiw'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/alubiw-shortest-paths-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/alubiw-shortest-paths-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/alubiw-shortest-paths.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/alt-tab-manic-pxe-dream-servers.md b/content/tech-talks/alt-tab-manic-pxe-dream-servers.md
index 5da5c393..88384565 100644
--- a/content/tech-talks/alt-tab-manic-pxe-dream-servers.md
+++ b/content/tech-talks/alt-tab-manic-pxe-dream-servers.md
@@ -5,7 +5,6 @@ presentors:
- 'Fatema Boxwala'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/fatema-manic-pxe-dream-servers-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/fatema-manic-pxe-dream-servers-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/fatema-manic-pxe-dream-servers.mp4'
type: 'Manic PXE Dream Servers (mp4)'
diff --git a/content/tech-talks/back-to-back-talks-culture-turnaround-and-software-defined-networks.md b/content/tech-talks/back-to-back-talks-culture-turnaround-and-software-defined-networks.md
index e469fef7..fe702bc1 100644
--- a/content/tech-talks/back-to-back-talks-culture-turnaround-and-software-defined-networks.md
+++ b/content/tech-talks/back-to-back-talks-culture-turnaround-and-software-defined-networks.md
@@ -6,7 +6,6 @@ presentors:
- Francisco Dominguez'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/fibernetics-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/fibernetics-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/fibernetics.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/bringing-oop-best-practices-to-the-world-of-functional-programming.md b/content/tech-talks/bringing-oop-best-practices-to-the-world-of-functional-programming.md
index 76daeba8..bd0dfadb 100644
--- a/content/tech-talks/bringing-oop-best-practices-to-the-world-of-functional-programming.md
+++ b/content/tech-talks/bringing-oop-best-practices-to-the-world-of-functional-programming.md
@@ -5,7 +5,6 @@ presentors:
- 'Elana Hashman'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/ehashman-oop-best-practices-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/ehashman-oop-best-practices-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/ehashman-oop-best-practices.mp4'
type: 'OOP Best Practices (mp4)'
diff --git a/content/tech-talks/building-a-mobile-platform-for-android-and-ios.md b/content/tech-talks/building-a-mobile-platform-for-android-and-ios.md
index 8cec90a9..f2b61b87 100644
--- a/content/tech-talks/building-a-mobile-platform-for-android-and-ios.md
+++ b/content/tech-talks/building-a-mobile-platform-for-android-and-ios.md
@@ -5,7 +5,6 @@ presentors:
- 'Wesley Tarle'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/wtarle_mobile_platform_google-thumb-small.png'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/wtarle_mobile_platform_google-thumb-large.png'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/wtarle_mobile_platform_google.pdf'
type: 'Talk (PDF)'
diff --git a/content/tech-talks/cory-doctorow-the-war-on-general-purpose-computing.md b/content/tech-talks/cory-doctorow-the-war-on-general-purpose-computing.md
index 2530d7e3..1d7db3b8 100644
--- a/content/tech-talks/cory-doctorow-the-war-on-general-purpose-computing.md
+++ b/content/tech-talks/cory-doctorow-the-war-on-general-purpose-computing.md
@@ -5,7 +5,6 @@ presentors:
- 'Cory Doctorow'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/cory-doctorow-f2015-thumb-small.png'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/cory-doctorow-f2015-thumb-large.png'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/cory-doctorow-f2015.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/csc-and-wics-career-panel.md b/content/tech-talks/csc-and-wics-career-panel.md
index 7ca9338a..3e3182d4 100644
--- a/content/tech-talks/csc-and-wics-career-panel.md
+++ b/content/tech-talks/csc-and-wics-career-panel.md
@@ -8,7 +8,6 @@ presentors:
- Dan Collens'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/csc-wics-f15-panel-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/csc-wics-f15-panel-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/csc-wics-f15-panel.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/distributed-file-systems.md b/content/tech-talks/distributed-file-systems.md
index 2edcbb60..681534a7 100644
--- a/content/tech-talks/distributed-file-systems.md
+++ b/content/tech-talks/distributed-file-systems.md
@@ -5,7 +5,6 @@ presentors:
- 'Alex Tsay'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/alex_tsay_aerofs-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/alex_tsay_aerofs-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/alex_tsay_aerofs.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/feminism-in-stem-a-101-panel.md b/content/tech-talks/feminism-in-stem-a-101-panel.md
index 2bee57c1..5ac699a2 100644
--- a/content/tech-talks/feminism-in-stem-a-101-panel.md
+++ b/content/tech-talks/feminism-in-stem-a-101-panel.md
@@ -8,7 +8,6 @@ presentors:
- Swetha'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/fem101-questions-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/fem101-questions-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/fem101-panel-discussion.mp4'
type: 'Panel questions and discussion (mp4)'
diff --git a/content/tech-talks/in-pursuit-of-the-travelling-salesman.md b/content/tech-talks/in-pursuit-of-the-travelling-salesman.md
index c42fb4ad..1b8ef721 100644
--- a/content/tech-talks/in-pursuit-of-the-travelling-salesman.md
+++ b/content/tech-talks/in-pursuit-of-the-travelling-salesman.md
@@ -5,7 +5,6 @@ presentors:
- 'Bill Cook'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/bico_2014_travelling_salesman-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/bico_2014_travelling_salesman-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/bico_2014_travelling_salesman.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/infra-sound-is-all-around-us.md b/content/tech-talks/infra-sound-is-all-around-us.md
index 8305298b..a846e612 100644
--- a/content/tech-talks/infra-sound-is-all-around-us.md
+++ b/content/tech-talks/infra-sound-is-all-around-us.md
@@ -5,7 +5,6 @@ presentors:
- 'Richard Mann'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/mannr-infrared-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/mannr-infrared-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/mannr-infrared.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/network-infrastructure-talk.md b/content/tech-talks/network-infrastructure-talk.md
index 03acb1b7..7f15e120 100644
--- a/content/tech-talks/network-infrastructure-talk.md
+++ b/content/tech-talks/network-infrastructure-talk.md
@@ -5,7 +5,6 @@ presentors:
- 'Steve Bourque and Mike Patterson'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/uw-infrastructure-sbourque-half-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/uw-infrastructure-sbourque-half-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/uw-infrastructure-sbourque-half.mp4'
type: 'Steven Bourque Talk (x264)'
diff --git a/content/tech-talks/open-source-computer-sound-measurement.md b/content/tech-talks/open-source-computer-sound-measurement.md
index 72495bff..e7ce062b 100644
--- a/content/tech-talks/open-source-computer-sound-measurement.md
+++ b/content/tech-talks/open-source-computer-sound-measurement.md
@@ -5,7 +5,6 @@ presentors:
- 'Richard Mann'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/rmann-oss-sound-measurement-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/rmann-oss-sound-measurement-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/rmann-oss-sound-measurement.mp4'
type: 'OSS Sound Measurement (mp4)'
diff --git a/content/tech-talks/racket-s-magical-match.md b/content/tech-talks/racket-s-magical-match.md
index fcaa923f..902c454b 100644
--- a/content/tech-talks/racket-s-magical-match.md
+++ b/content/tech-talks/racket-s-magical-match.md
@@ -5,7 +5,6 @@ presentors:
- 'Theo Belaire'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/tbelaire_racket-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/tbelaire_racket-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/tbelaire_racket.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/runtime-type-inference-in-dynamic-languages.md b/content/tech-talks/runtime-type-inference-in-dynamic-languages.md
index 23607278..558a478d 100644
--- a/content/tech-talks/runtime-type-inference-in-dynamic-languages.md
+++ b/content/tech-talks/runtime-type-inference-in-dynamic-languages.md
@@ -5,7 +5,6 @@ presentors:
- 'Kannan Vijayan'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/vijayan-type-inference-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/vijayan-type-inference-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/vijayan-type-inference.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/sat-and-smt-solvers.md b/content/tech-talks/sat-and-smt-solvers.md
index c876db85..32b500c2 100644
--- a/content/tech-talks/sat-and-smt-solvers.md
+++ b/content/tech-talks/sat-and-smt-solvers.md
@@ -5,7 +5,6 @@ presentors:
- 'Murphy Berzish'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/mtrberzi-sat-smt-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/mtrberzi-sat-smt-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/mtrberzi-sat-smt.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/starting-a-vn-indie-game-company-as-a-uw-student.md b/content/tech-talks/starting-a-vn-indie-game-company-as-a-uw-student.md
index 1056f507..e4e5841f 100644
--- a/content/tech-talks/starting-a-vn-indie-game-company-as-a-uw-student.md
+++ b/content/tech-talks/starting-a-vn-indie-game-company-as-a-uw-student.md
@@ -5,7 +5,6 @@ presentors:
- 'Alfe Clemencio'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/indie-game-dev-clemencio-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/indie-game-dev-clemencio-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/indie-game-dev-clemencio.mp4'
type: 'Talk (x264)'
diff --git a/content/tech-talks/the-art-of-the-propagator.md b/content/tech-talks/the-art-of-the-propagator.md
index c2199c87..939a5e18 100644
--- a/content/tech-talks/the-art-of-the-propagator.md
+++ b/content/tech-talks/the-art-of-the-propagator.md
@@ -5,7 +5,6 @@ presentors:
- 'Gerald Jay Sussman'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-propagator-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-propagator-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-propagator.mkv'
type: 'Talk (MKV)'
diff --git a/content/tech-talks/unix-102-spring-2017.md b/content/tech-talks/unix-102-spring-2017.md
index 6267d995..ad41421d 100644
--- a/content/tech-talks/unix-102-spring-2017.md
+++ b/content/tech-talks/unix-102-spring-2017.md
@@ -6,7 +6,6 @@ presentors:
- Charlie'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/unix102-s17-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/unix102-s17-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/unix102-s17.mp4'
type: 'Unix 102 Spring 2017 (mp4)'
diff --git a/content/tech-talks/why-programming-is-a-good-medium-for-expressing-poorly-understood-and-sloppily-formulated-ideas.md b/content/tech-talks/why-programming-is-a-good-medium-for-expressing-poorly-understood-and-sloppily-formulated-ideas.md
index 22d78f4a..0d1015cf 100644
--- a/content/tech-talks/why-programming-is-a-good-medium-for-expressing-poorly-understood-and-sloppily-formulated-ideas.md
+++ b/content/tech-talks/why-programming-is-a-good-medium-for-expressing-poorly-understood-and-sloppily-formulated-ideas.md
@@ -5,7 +5,6 @@ presentors:
- 'Gerald Jay Sussman'
thumbnails:
small: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-why-programming-thumb-small.jpg'
- large: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-why-programming-thumb-large.jpg'
links:
- file: 'http://mirror.csclub.uwaterloo.ca/csclub/sussman-why-programming.mkv'
type: 'Talk (MKV)'
diff --git a/lib/tech-talks.ts b/lib/tech-talks.ts
index 4426fcb4..f64275d8 100644
--- a/lib/tech-talks.ts
+++ b/lib/tech-talks.ts
@@ -9,7 +9,7 @@ export interface Metadata {
index: number;
title: string;
presentors: string[];
- thumbnails: { small: string; large: string };
+ thumbnails: { small: string; large?: string };
links: { file: string; type: string; size?: string }[];
}
diff --git a/types.d.ts b/types.d.ts
index 8af8765f..60922028 100644
--- a/types.d.ts
+++ b/types.d.ts
@@ -66,9 +66,10 @@ declare module "*.talk.mdx" {
import { ComponentType } from "react";
interface TalkMetadata {
+ slug: string;
title: string;
presentors: string[];
- thumbnails: { small: string; large: string };
+ thumbnails: { small: string; large?: string };
links: { file: string; type: string; size?: string }[];
}