Add Newsletter Component and Page
All checks were successful
continuous-integration/drone/push Build is passing

- Newsletter form on Subscribe page and at the end of the photos
This commit is contained in:
2020-04-28 22:10:29 +02:00
parent 955de7d1e4
commit 6fe4df4189
22 changed files with 478 additions and 137 deletions

View File

@@ -1,7 +1,8 @@
<script>
import { onMount, createEventDispatcher } from 'svelte'
import { currentLocation } from 'utils/store'
import { site, currentLocation } from 'utils/store'
// Components
import Newsletter from 'molecules/Newsletter'
// Props
export let photos
export let paginatedPhotos
@@ -58,7 +59,12 @@
{:else if $currentLocation}
<div class="pagination__message">
<h3>That's all folks!</h3>
<p class="pagination__caption style-caps">Come back later to check out <br>new photos of {$currentLocation.name}</p>
<Newsletter
small={true}
brightness="light"
title={false}
/>
</div>
{/if}
</section>