Create Shop component and add to homepage
This commit is contained in:
22
src/components/organisms/Shop.svelte
Normal file
22
src/components/organisms/Shop.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user