WIP attempt to fix page transitions, Several edits
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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}>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user