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,8 +1,12 @@
<script>
import { stores } from '@sapper/app'
import { site, currentLocation } from 'utils/store'
// Components
import LinkTranslate from 'atoms/LinkTranslate'
import Switcher from 'molecules/Switcher'
// Variables
const { page } = stores()
</script>
<footer class="footer">
@@ -16,7 +20,10 @@
<li>
<ul>
<li>
<LinkTranslate href="/credits" text="Credits" rel="prefetch" noScroll />
<LinkTranslate href="/subscribe" text="Keep Updated" active={$page.path.includes('subscribe')} rel="prefetch" noScroll />
</li>
<li>
<LinkTranslate href="/credits" text="Credits" active={$page.path.includes('credits')} rel="prefetch" noScroll />
</li>
{#if $site}
<li class="instagram">