Show full size item cards in category page

main
Ashelyn Dawn 4 years ago
parent 04f9546522
commit 6fefbb3417

@ -37,16 +37,14 @@ export default function Category({category: {items, children, parent, ...categor
<CategoryCard category={childCategory}/> <CategoryCard category={childCategory}/>
))} ))}
</div>} </div>}
<div className={styles.items}>
{items.length > 0 ? (
<div className="cardContainer">
{items.map(item=>
<Card item={item}/>
)}
</div>
) : <p>No items found</p> }
</div>
</div> </div>
{items.length > 0 ? (
<div className="cardContainer">
{items.map(item=>
<Card item={item}/>
)}
</div>
) : <p>No items found</p> }
</> </>
) )
} }

Loading…
Cancel
Save