Page and components animations rework WIP
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-03 23:03:00 +02:00
parent 7e0d1e33fb
commit 462359fcf2
10 changed files with 147 additions and 261 deletions

View File

@@ -9,7 +9,7 @@ import { parallaxAnime } from 'utils/functions'
** Transition In
*/
export const animateIn = scope => {
// Title appearing
// Title (reveal on scroll)
const titleReveal = ScrollOut({
once: true,
targets: scope,
@@ -25,7 +25,7 @@ export const animateIn = scope => {
}
})
// Photo appearing
// Photo (reveal on scroll)
const photoReveal = ScrollOut({
once: true,
targets: scope.querySelector('.photo__image'),