Init(Core): add to repo and add seeders
This commit is contained in:
9
resources/js/Components/CategoryItemCard.jsx
Normal file
9
resources/js/Components/CategoryItemCard.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
export default function CategoryCard({ item, h }){
|
||||
console.log(item);
|
||||
return (
|
||||
<div className={"ml-[-52px] w-32 h-full first:scale-[90%] z-30 my-auto bg-red-300 rounded-lg transition duration-600 hover:z-50 hover:scale-100"}>
|
||||
{item.title}
|
||||
<img src={item.images[0] ? item.images[0].thumbnail : null} alt={item.images[0] ? item.images[0].alt : null} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user