Page and components animations rework WIP
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user