summaryrefslogtreecommitdiff
path: root/iridescence/src/api
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-09-12 08:35:13 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-09-12 08:35:13 -0400
commit92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8 (patch)
tree5a4998f7e75bd140319be6e5136d57ceb3990b7b /iridescence/src/api
parent07e2b64c03c2fb566f324310f89b88797881b039 (diff)
downloadtheglassyladies-92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8.tar.xz
theglassyladies-92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8.zip
Moved testing products into api/dichroism; renamed inventory to
products.
Diffstat (limited to 'iridescence/src/api')
-rw-r--r--iridescence/src/api/dichroism.js58
1 files changed, 58 insertions, 0 deletions
diff --git a/iridescence/src/api/dichroism.js b/iridescence/src/api/dichroism.js
new file mode 100644
index 0000000..2bbad2b
--- /dev/null
+++ b/iridescence/src/api/dichroism.js
@@ -0,0 +1,58 @@
+const _products = [
+ {
+ id: 1,
+ name: "Beach Box",
+ quantity: 0,
+ cents: 1100,
+ imgPath: "/beach_box.jpg",
+ description: "This is a beach box.",
+ featured: false,
+ categories: ["Fused Glass", ["Beachy"]]
+ },
+ {
+ id: 2,
+ name: "Wind Chime",
+ quantity: 0,
+ cents: 4500,
+ imgPath: "/wind-chime.jpg",
+ description: "Makes noise when the wind blows.",
+ featured: false,
+ categories: ["Fused Glass", ["Beachy"]]
+ },
+ {
+ id: 3,
+ name: "Beach Box",
+ quantity: 5,
+ cents: 1100,
+ imgPath: "/beach_box.jpg",
+ description: "This is a beach box.",
+ featured: false,
+ categories: ["Stained Glass", ["Christmas"]]
+ },
+ {
+ id: 4,
+ name: "Wind Chime",
+ quantity: 2,
+ cents: 4500,
+ imgPath: "/wind-chime.jpg",
+ description: "Makes noise when the wind blows.",
+ featured: false,
+ categories: ["Fused Glass", ["Kiln-y"]]
+ },
+ {
+ id: 5,
+ name: "Beach Box (New!)",
+ quantity: 5,
+ cents: 1100,
+ imgPath: "/beach_box.jpg",
+ description: "This is a beach box.",
+ featured: true,
+ categories: ["Stained Glass", ["Christmas"]]
+ }
+];
+
+export default {
+ getProducts() {
+ return _products;
+ }
+};