large thumbnails are optional
This commit is contained in:
parent
f116afebd2
commit
01f5639055
|
@ -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 }[];
|
||||
}
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue