Create notification for cart
This commit is contained in:
19
src/components/molecules/NotificationCart.svelte
Normal file
19
src/components/molecules/NotificationCart.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user