Create notification for cart

This commit is contained in:
2021-11-05 22:40:15 +01:00
parent 427a954a5b
commit 460fe9420c
5 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<script lang="ts">
import { getContext } from 'svelte'
// Components
import Button from '$components/atoms/Button.svelte'
import Image from '$components/atoms/Image.svelte'
const { locations, shop } = getContext('global')
</script>
<aside class="notification-cart shadow-small">
<div class="notification-cart__left">
<img src="/images/issue-1.jpg" width={58} height={88} alt="">
</div>
<div class="notification-cart__right">
<h3>Added to cart</h3>
<p>Houses Of Melbourne</p>
</div>
</aside>