17 lines
301 B
JavaScript
17 lines
301 B
JavaScript
import Image from "next/image";
|
|
import React from "react";
|
|
|
|
const TeamCard = (props) => {
|
|
return (
|
|
<div>
|
|
<Image src={props.imgUrl} alt="ProfileImage" width={125} height={125} />
|
|
<div>
|
|
<h2>{props.name}</h2>
|
|
<h3>{props.stellung}</h3>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default TeamCard;
|