summaryrefslogtreecommitdiff
path: root/iridescence/src/views/Cart.vue
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-10-26 21:02:31 -0400
committerAdam T. Carpenter <atc@53hor.net>2022-10-26 21:02:31 -0400
commit9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f (patch)
treedb9ca419266117facecdff6d30460669f3148efb /iridescence/src/views/Cart.vue
parentf243a3b7341012227d6e8342a65f9c5d7784256f (diff)
downloadtheglassyladies-9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f.tar.xz
theglassyladies-9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f.zip
init: add some stories and personas and begin layout out domain
Diffstat (limited to 'iridescence/src/views/Cart.vue')
-rw-r--r--iridescence/src/views/Cart.vue48
1 files changed, 0 insertions, 48 deletions
diff --git a/iridescence/src/views/Cart.vue b/iridescence/src/views/Cart.vue
deleted file mode 100644
index 26949f5..0000000
--- a/iridescence/src/views/Cart.vue
+++ /dev/null
@@ -1,48 +0,0 @@
-<template>
- <div id="cart">
- <div class="container">
- <div v-if="items.length" class="section">
- <div class="columns">
- <div class="column is-one-third">
- <Totals></Totals>
- </div>
- <div class="column">
- <h1 class="subtitle">Your Shopping Cart</h1>
- <CartItem
- v-for="item in items"
- :key="item[0]"
- v-bind:id="item[0] * 1"
- v-bind:in-cart="item[1]"
- ></CartItem>
- </div>
- </div>
- </div>
- <div v-else class="section">
- <div class="content">
- <p class="has-text-centered">
- There's nothing in your cart.
- <a> <router-link to="/">Start shopping!</router-link></a>
- </p>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-import CartItem from "@/components/cart/CartItem.vue";
-import Totals from "@/components/cart/Totals.vue";
-
-export default {
- name: "Cart",
- computed: {
- items() {
- return Object.entries(this.$store.state.cart);
- }
- },
- components: {
- CartItem,
- Totals
- }
-};
-</script>