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:
2020-03-06 14:22:51 +01:00
parent cd1033f97b
commit 9ffc210c02
27 changed files with 827 additions and 296 deletions

View File

@@ -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')