summaryrefslogtreecommitdiff
path: root/iridescence/src/store/index.js
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-06-29 16:52:17 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-06-29 16:52:17 -0400
commit8ac8ad09c71b10597a354eabf81cbafa14f00940 (patch)
treed6aa383df6493ab9051ea15291d154e300db85b9 /iridescence/src/store/index.js
parent14ac25266a53ed986402f808cab0ef04237c1022 (diff)
downloadtheglassyladies-8ac8ad09c71b10597a354eabf81cbafa14f00940.tar.xz
theglassyladies-8ac8ad09c71b10597a354eabf81cbafa14f00940.zip
playing with filtering by category
Diffstat (limited to 'iridescence/src/store/index.js')
-rw-r--r--iridescence/src/store/index.js56
1 files changed, 17 insertions, 39 deletions
diff --git a/iridescence/src/store/index.js b/iridescence/src/store/index.js
index 2d88e02..b5b0445 100644
--- a/iridescence/src/store/index.js
+++ b/iridescence/src/store/index.js
@@ -9,10 +9,12 @@ export default new Vuex.Store({
{
id: 1,
name: "Beach Box",
- quantity: -1, // quantity of -1 could mean made on demand
+ quantity: 0,
cents: 1100,
imgPath: "/beach_box.jpg",
- description: "This is a beach box."
+ description: "This is a beach box.",
+ featured: false,
+ category: { name: "Stained Glass", subcategory: { name: "Gardeny" } }
},
{
id: 2,
@@ -20,7 +22,9 @@ export default new Vuex.Store({
quantity: 0,
cents: 4500,
imgPath: "/wind-chime.jpg",
- description: "Makes noise when the wind blows."
+ description: "Makes noise when the wind blows.",
+ featured: false,
+ categories: ["Fused Glass", ["Beachy"]]
},
{
id: 3,
@@ -28,7 +32,9 @@ export default new Vuex.Store({
quantity: 5,
cents: 1100,
imgPath: "/beach_box.jpg",
- description: "This is a beach box."
+ description: "This is a beach box.",
+ featured: false,
+ categories: ["Stained Glass", ["Christmas"]]
},
{
id: 4,
@@ -36,47 +42,19 @@ export default new Vuex.Store({
quantity: 2,
cents: 4500,
imgPath: "/wind-chime.jpg",
- description: "Makes noise when the wind blows."
+ description: "Makes noise when the wind blows.",
+ featured: false,
+ categories: ["Fused Glass", ["Kiln-y"]]
},
{
id: 5,
- name: "Beach Box",
- quantity: 5,
- cents: 1100,
- imgPath: "/beach_box.jpg",
- description: "This is a beach box."
- },
- {
- id: 6,
- name: "Wind Chime",
- quantity: 2,
- cents: 4500,
- imgPath: "/wind-chime.jpg",
- description: "Makes noise when the wind blows."
- },
- {
- id: 7,
- name: "Beach Box",
+ name: "Beach Box (New!)",
quantity: 5,
cents: 1100,
imgPath: "/beach_box.jpg",
- description: "This is a beach box."
- },
- {
- id: 8,
- name: "Wind Chime",
- quantity: 2,
- cents: 4500,
- imgPath: "/wind-chime.jpg",
- description: "Makes noise when the wind blows."
- },
- {
- id: 9,
- name: "Wind Chime",
- quantity: 2,
- cents: 4500,
- imgPath: "/wind-chime.jpg",
- description: "Makes noise when the wind blows."
+ description: "This is a beach box.",
+ featured: true,
+ categories: ["Stained Glass", ["Christmas"]]
}
],
term: ""