WIP Animations all over site
- Run a transition In for each page - Involve a "loader" panel on page change - TODO: tweak the animations and finish the concept
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
const dispatch = createEventDispatcher()
|
||||
const { page } = stores()
|
||||
|
||||
// Animations
|
||||
import { animateIn } from '../animations/carousel'
|
||||
|
||||
// Components
|
||||
import IconArrow from '../atoms/IconArrow'
|
||||
|
||||
@@ -89,6 +92,9 @@
|
||||
** Run code on browser only
|
||||
*/
|
||||
onMount(() => {
|
||||
// Entering transition
|
||||
animateIn()
|
||||
|
||||
// Hover function
|
||||
hover = event => {
|
||||
const button = event.currentTarget.querySelector('button')
|
||||
|
||||
Reference in New Issue
Block a user