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.

27 lines
583 B

import React from "react";
import { Image } from "./Image";
import styles from "./TeamMember.module.css";
interface TeamMemberProps {
name: string;
role?: string;
image: string;
export const TeamMember: React.FC<TeamMemberProps> = ({
role = "",
}) => {
return (
<div className={styles.container}>
<Image className={styles.img} src={image} alt={`Picture of ${name}`} />
<div className={styles.caption}>
<div className={}>{name}</div>
<div className={styles.role}>{role}</div>