Skip to content

Commit

Permalink
spaces for legibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sdras committed Dec 2, 2017
1 parent 4fcae74 commit 2334850
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/AppCheckout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<h4>Please hold, we're filling up your cart with goodies</h4>
<app-loader />
</div>

</div>

</transition>
</div>
</template>
Expand Down
4 changes: 4 additions & 0 deletions pages/cart.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div class="capsule cart">

<div v-if="cartTotal > 0">
<h1>Cart</h1>
<div class="cartitems"
Expand All @@ -17,16 +18,19 @@
</div>
<app-checkout :total="total" @successSubmit="success = true"></app-checkout>
</div>

<div v-else-if="cartTotal === 0 && success === false" class="empty">
<h1>Cart</h1>
<h3>Your cart is empty.</h3>
<nuxt-link exact to="/"><button>Fill er up!</button></nuxt-link>
</div>

<div v-else>
<app-success @restartCart="success = false"/>
<h2>Success!</h2>
<p>Your order has been processed, it will be delivered shortly.</p>
</div>

</div>
</template>

Expand Down

0 comments on commit 2334850

Please sign in to comment.