2021-02-04 14:27:14 +11:00
|
|
|
import Image from 'next/image';
|
|
|
|
|
|
2022-06-12 15:12:28 +10:00
|
|
|
|
|
|
|
|
|
2021-09-05 16:12:45 +10:00
|
|
|
const FeatureImage = ({ imagedata, basepath }) => (
|
2021-02-04 14:27:14 +11:00
|
|
|
<div className="featuredimage">
|
|
|
|
|
<Image
|
2022-06-29 21:11:16 +10:00
|
|
|
src={"http://localhost:1337" + imagedata.url}
|
|
|
|
|
height={imagedata.height}
|
|
|
|
|
width={imagedata.width}
|
2021-09-05 16:12:45 +10:00
|
|
|
priority={true}
|
2021-02-04 14:27:14 +11:00
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export default FeatureImage
|