Change reveal-block to fade in profile images

This commit is contained in:
Maciej Matuszewski 2018-01-22 19:07:45 +01:00
parent 235159447b
commit 03b725f524
1 changed files with 9 additions and 7 deletions

View File

@ -1,12 +1,14 @@
<div class="profile {{ class }}">
<div class="profile__container">
<figure
class="profile__image-wrapper js-parallax js-profile js-reveal-block"
data-rellax-speed="{{ternary profile.parallax.image profile.parallax.image 0}}"
>
<div class="profile__image" style="background-image: url('{{ profile.image }}')">
</div>
</figure>
<div class="js-sr">
<figure
class="profile__image-wrapper js-parallax js-profile"
data-rellax-speed="{{ternary profile.parallax.image profile.parallax.image 0}}"
>
<div class="profile__image" style="background-image: url('{{ profile.image }}')">
</div>
</figure>
</div>
<div class="profile__detail profile__detail--index-{{ index }}">
<div class="js-parallax" data-rellax-speed="{{ternary profile.parallax.description profile.parallax.description 0}}">