+ {/* NavBar includes : SearchBar, Logout/Login(if not connected)
+ , cart and User Display */}
+
+ {/* Filter goes here */}
+
+
+ {displayedItems.map(item => {
+ return (
+
+
+
{item.name}
+
{item.description}
+
+ SOLD OUT
+
+
{item.cost + "$ "}
+
0 ? "block" : "none"
+ }}
+ >
+
+ {item.loveIt}
+ {item.loveIt > 1 ? " love it! " : " loves it!"}
+
+
+
+
+ );
+ })}
+ {/* pagination */}
+
+
+
+ {indexPage.map(i => {
+ return (
+
+ );
+ })}
+ {/* other numbers coming */}
+
+
+