WIP attempt to fix page transitions, Several edits
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-02 16:07:16 +02:00
parent 6f409c5331
commit 730eb75457
34 changed files with 386 additions and 401 deletions

View File

@@ -70,7 +70,8 @@
site,
continents,
countries,
locations
locations,
pageReady
} from 'utils/store'
// Components
@@ -106,7 +107,9 @@
<link rel="canonical" href={`https://${$page.host}${$page.path}`} />
</svelte:head>
<slot></slot>
<main class="housesof" style="opacity: { $pageReady ? 1 : 0}">
<slot></slot>
</main>
{#if process.env.CONFIG.TRANSITION === 'true'}
<Transition />