diff --git a/.eslintrc.js b/.eslintrc.js index 9030412..056c53d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -66,6 +66,7 @@ module.exports = { ], }, ], + "@next/next/no-img-element": "off", //#endregion //*======== Import Sort =========== }, globals: { diff --git a/public/images/category_img/category_academic.webp b/public/images/category_img/category_academic.webp new file mode 100644 index 0000000..885deab Binary files /dev/null and b/public/images/category_img/category_academic.webp differ diff --git a/public/images/category_img/category_beauty.webp b/public/images/category_img/category_beauty.webp new file mode 100644 index 0000000..2bc35d6 Binary files /dev/null and b/public/images/category_img/category_beauty.webp differ diff --git a/public/images/category_img/category_clothes.webp b/public/images/category_img/category_clothes.webp new file mode 100644 index 0000000..a375f79 Binary files /dev/null and b/public/images/category_img/category_clothes.webp differ diff --git a/public/images/category_img/category_dorm.webp b/public/images/category_img/category_dorm.webp new file mode 100644 index 0000000..011864b Binary files /dev/null and b/public/images/category_img/category_dorm.webp differ diff --git a/public/images/category_img/category_electronics.webp b/public/images/category_img/category_electronics.webp new file mode 100644 index 0000000..32727df Binary files /dev/null and b/public/images/category_img/category_electronics.webp differ diff --git a/public/images/category_img/category_entertainment.webp b/public/images/category_img/category_entertainment.webp new file mode 100644 index 0000000..e5645b7 Binary files /dev/null and b/public/images/category_img/category_entertainment.webp differ diff --git a/public/images/category_img/category_other.webp b/public/images/category_img/category_other.webp new file mode 100644 index 0000000..da49503 Binary files /dev/null and b/public/images/category_img/category_other.webp differ diff --git a/src/components/categorycard/CategoryCard.jsx b/src/components/categorycard/CategoryCard.jsx index 10213ce..8ac4b9d 100644 --- a/src/components/categorycard/CategoryCard.jsx +++ b/src/components/categorycard/CategoryCard.jsx @@ -1,17 +1,21 @@ -import Image from "next/image"; +import Link from "next/link"; -const CategoryCard = ({ title, image, category }) => { +const CategoryCard = ({ imgSrc, title, href }) => { return ( -
+ {title} +