Create Shop component and add to homepage

This commit is contained in:
2021-09-29 23:38:34 +02:00
parent 0ba0ab1f60
commit 3ec6dbda16
10 changed files with 151 additions and 25 deletions

View File

@@ -0,0 +1,22 @@
<script lang="ts">
// Components
import Button from '$components/atoms/Button.svelte'
</script>
<div class="shop shadow-box-dark">
<div class="content">
<div class="shop__image">
<img src="/images/poster-display.jpg" alt="">
</div>
<div class="shop__info">
<h3 class="title-medium">Browse our products</h3>
<p class="text-small">Discover our graphic posters and prints of your favouite locations.</p>
<Button
class="button--pink"
text="Shop"
url="/shop"
/>
<p class="detail">Posters available for Melbourne, Brisbane, Montpellier and Bordeaux.</p>
</div>
</div>
</div>