large thumbnails are optional

pull/180/head
Aditya Thakral 2 years ago
parent f116afebd2
commit 01f5639055
  1. 9
      components/playground.tsx
  2. 1
      content/playground/temp.talk.mdx
  3. 1
      content/tech-talks/algorithms-for-shortest-paths.md
  4. 1
      content/tech-talks/alt-tab-manic-pxe-dream-servers.md
  5. 1
      content/tech-talks/back-to-back-talks-culture-turnaround-and-software-defined-networks.md
  6. 1
      content/tech-talks/bringing-oop-best-practices-to-the-world-of-functional-programming.md
  7. 1
      content/tech-talks/building-a-mobile-platform-for-android-and-ios.md
  8. 1
      content/tech-talks/cory-doctorow-the-war-on-general-purpose-computing.md
  9. 1
      content/tech-talks/csc-and-wics-career-panel.md
  10. 1
      content/tech-talks/distributed-file-systems.md
  11. 1
      content/tech-talks/feminism-in-stem-a-101-panel.md
  12. 1
      content/tech-talks/in-pursuit-of-the-travelling-salesman.md
  13. 1
      content/tech-talks/infra-sound-is-all-around-us.md
  14. 1
      content/tech-talks/network-infrastructure-talk.md
  15. 1
      content/tech-talks/open-source-computer-sound-measurement.md
  16. 1
      content/tech-talks/racket-s-magical-match.md
  17. 1
      content/tech-talks/runtime-type-inference-in-dynamic-languages.md
  18. 1
      content/tech-talks/sat-and-smt-solvers.md
  19. 1
      content/tech-talks/starting-a-vn-indie-game-company-as-a-uw-student.md
  20. 1
      content/tech-talks/the-art-of-the-propagator.md
  21. 1
      content/tech-talks/unix-102-spring-2017.md
  22. 1
      content/tech-talks/why-programming-is-a-good-medium-for-expressing-poorly-understood-and-sloppily-formulated-ideas.md
  23. 2
      lib/tech-talks.ts
  24. 3
      types.d.ts

@ -245,12 +245,13 @@ export function OrganizedContentDemo() {
}
export function TechTalkDemo() {
const poster =
tempTechTalkMetadata.thumbnails.large ??
tempTechTalkMetadata.thumbnails.small;
return (
<div>
<TechTalkCard
{...tempTechTalkMetadata}
poster={tempTechTalkMetadata.thumbnails.large}
>
<TechTalkCard {...tempTechTalkMetadata} poster={poster}>
<TempTechTalk />
</TechTalkCard>
</div>

@ -1,4 +1,5 @@
export const metadata = {
slug: 'not-a-valid-slug'
title: "1989 Bill Gates Talk on Microsoft",
presentors: ["Bill Gates"],
thumbnails: {

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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)'

@ -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 }[];
}

3
types.d.ts vendored

@ -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 }[];
}

Loading…
Cancel
Save