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

@@ -15,7 +15,7 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width={width} viewBox="0 0 56 75"
fill={color}
class="icon-globe" class:icon-svg--animated={animated}
class="icon-svg icon-globe" class:is-animated={animated}
>
<defs>
<clipPath id={randomId}>

View File

@@ -15,7 +15,7 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width={width} viewBox="0 0 56 56"
fill={color}
class="icon-globe icon-globe--small" class:icon-svg--animated={animated}
class="icon-svg icon-globe icon-globe--small" class:is-animated={animated}
>
<defs>
<clipPath id={randomId}>

View File

@@ -5,7 +5,8 @@
// Animations
import { animateIn } from 'animations/TitleSite'
// Variables
// Props and variables
export let init = false
let scope
let mounted = false
@@ -14,8 +15,8 @@
** Run code on component mount
*/
onMount(() => {
animateIn(scope, init)
mounted = true
animateIn(scope)
})
</script>