diff --git a/src/assets/images/img_cosmos.png b/public/img_cosmos.png similarity index 100% rename from src/assets/images/img_cosmos.png rename to public/img_cosmos.png diff --git a/src/assets/images/img_gateio.png b/public/img_gateio.png similarity index 100% rename from src/assets/images/img_gateio.png rename to public/img_gateio.png diff --git a/src/assets/images/img_nft.png b/public/img_nft.png similarity index 100% rename from src/assets/images/img_nft.png rename to public/img_nft.png diff --git a/src/sections/blogs/components/Card/index.tsx b/src/sections/blogs/components/Card/index.tsx index b965e7c..72fbad7 100644 --- a/src/sections/blogs/components/Card/index.tsx +++ b/src/sections/blogs/components/Card/index.tsx @@ -1,8 +1,8 @@ -import Image, { StaticImageData } from "next/image"; +import Image from "next/image"; type Card = { key : string - img: StaticImageData, + img: string, title: string, description: string, } @@ -15,7 +15,7 @@ function Card({ data }: CardProps) { const { img, title, description, key } = data return (