Use page transition component to avoid repetition on main
This commit is contained in:
@@ -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."
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user