⚡ Upate img tag to Next/Image
This commit is contained in:
@@ -1,17 +1,11 @@
|
|||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
>>>>>>> f3ee49c9d2058fe0393ebe2c170d08faab6e1f34
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
const TeamCard = (props) => {
|
const TeamCard = (props) => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<<<<<<< HEAD
|
|
||||||
<img src={props.image} alt="ProfileImage" />
|
<img src={props.image} alt="ProfileImage" />
|
||||||
=======
|
|
||||||
<Image src={props.imgUrl} alt="ProfileImage" width={125} height={125} />
|
<Image src={props.imgUrl} alt="ProfileImage" width={125} height={125} />
|
||||||
>>>>>>> f3ee49c9d2058fe0393ebe2c170d08faab6e1f34
|
|
||||||
<div>
|
<div>
|
||||||
<h2>{props.name}</h2>
|
<h2>{props.name}</h2>
|
||||||
<h3>{props.stellung}</h3>
|
<h3>{props.stellung}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user