Cleanup Shop layout
This commit is contained in:
@@ -59,7 +59,6 @@
|
|||||||
image=""
|
image=""
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{#key product}
|
|
||||||
<main class="shop-page">
|
<main class="shop-page">
|
||||||
<Cart />
|
<Cart />
|
||||||
|
|
||||||
@@ -138,26 +137,28 @@
|
|||||||
|
|
||||||
<PosterLayout
|
<PosterLayout
|
||||||
product={product}
|
product={product}
|
||||||
productShop={productShop}
|
shopProduct={shopProduct}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<section class="shop-page__posters grid">
|
{#if posters}
|
||||||
<h3>View all of our available posters</h3>
|
<section class="shop-page__posters grid">
|
||||||
<div class="set">
|
<h3>View all of our available posters</h3>
|
||||||
{#each posters as { location, photos_product }}
|
<div class="set">
|
||||||
<Poster
|
{#each posters as { location, photos_product }}
|
||||||
location={location}
|
<Poster
|
||||||
image={photos_product.length && photos_product[1].directus_files_id}
|
location={location}
|
||||||
/>
|
image={photos_product.length && photos_product[1].directus_files_id}
|
||||||
{/each}
|
product={shopProducts.find(item => item.slug.includes(location.slug))}
|
||||||
</div>
|
/>
|
||||||
<div class="subscribe">
|
{/each}
|
||||||
<p>Subscribe to be notified when new posters become available</p>
|
</div>
|
||||||
<EmailForm />
|
<div class="subscribe">
|
||||||
</div>
|
<p>Subscribe to be notified when new posters become available</p>
|
||||||
</section>
|
<EmailForm />
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{/if}
|
||||||
</main>
|
</main>
|
||||||
{/key}
|
|
||||||
|
|
||||||
<slot />
|
<slot />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user