Computer Science Club of the University of Waterloo's website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
614 B

import React, { ReactNode } from "react";
import { Image } from "./Image";
import styles from "./TechTalkCard.module.css";
interface TechTalkProps {
name: string;
poster?: string;
children: ReactNode;
export function TechTalkCard({ name, poster, children }: TechTalkProps) {
return (
<article className={styles.card}>
{poster && <Image alt={name} src={poster} />}
{!poster && <div className={styles.spacer}></div>}
<section className={styles.content}>