Place: Use Rellax to add some parallax effects

- Added on title, switcher button and illustration
- Not very suitable for photo number
This commit is contained in:
2020-04-19 12:49:38 +02:00
parent 06c1475c5f
commit c1bb2f31bc
5 changed files with 41 additions and 20 deletions

6
pnpm-lock.yaml generated
View File

@@ -5,6 +5,7 @@ dependencies:
lazysizes: 5.2.0
normalize.css: 8.0.1
polka: 1.0.0-next.11
rellax: 1.12.1
scroll-out: 2.2.8
sirv: 0.4.2
svelte-lazy: 0.1.10
@@ -3199,6 +3200,10 @@ packages:
node: '>= 0.10'
resolution:
integrity: sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=
/rellax/1.12.1:
dev: false
resolution:
integrity: sha512-XBIi0CDpW5FLTujYjYBn1CIbK2CJL6TsAg/w409KghP2LucjjzBjsujXDAjyBLWgsfupfUcL5WzdnIPcGfK7XA==
/repeating/2.0.1:
dependencies:
is-finite: 1.1.0
@@ -3913,6 +3918,7 @@ specifiers:
postcss: ^7.0.27
postcss-load-config: ^2.1.0
postcss-preset-env: ^6.7.0
rellax: ^1.12.1
rollup: ^2.6.1
rollup-plugin-babel: ^4.4.0
rollup-plugin-glslify: ^1.2.0