
<%= item.name %>
+Seller <%= item.owner %>
+Location: <%= item.location %>
+In stock: <%= item.stock %>
+Price: £<%= item.price %>
+ +<%= item.desc %>
diff --git a/functions/views/css/style.css b/functions/views/css/style.css index cc56fa2..494d8a7 100644 --- a/functions/views/css/style.css +++ b/functions/views/css/style.css @@ -88,8 +88,19 @@ footer a { font-family: osl; font-size: 23px; color: #898989; + cursor: pointer; + transition: 0.3s; } +.user-name:hover { + color: red; +} +.user-name:active { + transition: 0.1s; + color: #F0F0F0; +} + + .logon-crumbs button { float: left; position: relative; @@ -511,6 +522,7 @@ footer a { .my-product-container img { width: 100%; max-height: 100%; + cursor: pointer; } .my-product-details-container { display: block; diff --git a/functions/views/home.ejs b/functions/views/home.ejs index 7e885b2..1895646 100644 --- a/functions/views/home.ejs +++ b/functions/views/home.ejs @@ -67,7 +67,7 @@
Popular:
+Recent:

Seller <%= item.owner %>
+Location: <%= item.location %>
+In stock: <%= item.stock %>
+Price: £<%= item.price %>
+ +<%= item.desc %>
+
+ <%= products[key].name%>
diff --git a/functions/views/product.ejs b/functions/views/product.ejs index d96be65..16aa656 100644 --- a/functions/views/product.ejs +++ b/functions/views/product.ejs @@ -24,7 +24,7 @@