♻️ separate teamcard in one component
This commit is contained in:
16
components/ueber-uns/teamCard.js
Normal file
16
components/ueber-uns/teamCard.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user