Use page transition component to avoid repetition on main

This commit is contained in:
2021-11-30 00:23:36 +01:00
parent ba09c2af2d
commit f8fe141505
9 changed files with 28 additions and 44 deletions

View File

@@ -1,7 +1,5 @@
<script lang="ts">
import { fade } from 'svelte/transition'
<script lang="ts"> import { fade } from 'svelte/transition'
import dayjs from 'dayjs'
import { DURATION } from '$utils/contants'
// Components
import Metas from '$components/Metas.svelte'
import Image from '$components/atoms/Image.svelte'
@@ -18,10 +16,7 @@
image=""
/>
<main class="subscribe"
in:fade={{ duration: DURATION.PAGE_IN, delay: DURATION.PAGE_OUT }}
out:fade={{ duration: DURATION.PAGE_OUT }}
>
<main class="subscribe">
<Heading
text="If you wish to be pinged when new photos are added to and limited prints become available on our shop, sign up below."
/>