Redesign and update 'Meet the Team' data #452

Merged
j285he merged 17 commits from j285he-meet-the-team-s22 into main 2022-06-17 19:53:16 -04:00
1 changed files with 11 additions and 3 deletions
Showing only changes of commit cad441fab6 - Show all commits

View File

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