diff --git a/components/Products/ProductCard.vue b/components/Products/ProductCard.vue new file mode 100644 index 00000000..699ad24d --- /dev/null +++ b/components/Products/ProductCard.vue @@ -0,0 +1,47 @@ + + + + + + + {{ product.name }} + + + + + + + + + + diff --git a/components/Products/ProductFilter.vue b/components/Products/ProductFilter.vue new file mode 100644 index 00000000..1fcbd0cf --- /dev/null +++ b/components/Products/ProductFilter.vue @@ -0,0 +1,56 @@ + + + Product Type + + + {{ productType.name }} + + + Price + + + {{ store.priceRange[0] }} + - + + {{ store.priceRange[1] }} + + + + Reset Filter + + + + + diff --git a/components/Products/ProductGrid.vue b/components/Products/ProductGrid.vue new file mode 100644 index 00000000..cbec9d8c --- /dev/null +++ b/components/Products/ProductGrid.vue @@ -0,0 +1,32 @@ + + + + + + + + + + + Error loading products. + + + + + + + + + diff --git a/components/Products/ProductSort.vue b/components/Products/ProductSort.vue new file mode 100644 index 00000000..a84b28ad --- /dev/null +++ b/components/Products/ProductSort.vue @@ -0,0 +1,22 @@ + + + Sort by: + + Popularity + Price: Low to High + Price: High to Low + Newest + + + + + diff --git a/pages/products.vue b/pages/products.vue index 5d1dafdc..05c6a3c3 100644 --- a/pages/products.vue +++ b/pages/products.vue @@ -1,5 +1,10 @@ - + + + + + +
+ {{ product.name }} +
Error loading products.