Change reveal-block to fade in profile images
This commit is contained in:
parent
235159447b
commit
03b725f524
|
@ -1,12 +1,14 @@
|
||||||
<div class="profile {{ class }}">
|
<div class="profile {{ class }}">
|
||||||
<div class="profile__container">
|
<div class="profile__container">
|
||||||
|
<div class="js-sr">
|
||||||
<figure
|
<figure
|
||||||
class="profile__image-wrapper js-parallax js-profile js-reveal-block"
|
class="profile__image-wrapper js-parallax js-profile"
|
||||||
data-rellax-speed="{{ternary profile.parallax.image profile.parallax.image 0}}"
|
data-rellax-speed="{{ternary profile.parallax.image profile.parallax.image 0}}"
|
||||||
>
|
>
|
||||||
<div class="profile__image" style="background-image: url('{{ profile.image }}')">
|
<div class="profile__image" style="background-image: url('{{ profile.image }}')">
|
||||||
</div>
|
</div>
|
||||||
</figure>
|
</figure>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="profile__detail profile__detail--index-{{ index }}">
|
<div class="profile__detail profile__detail--index-{{ index }}">
|
||||||
<div class="js-parallax" data-rellax-speed="{{ternary profile.parallax.description profile.parallax.description 0}}">
|
<div class="js-parallax" data-rellax-speed="{{ternary profile.parallax.description profile.parallax.description 0}}">
|
||||||
|
|
Loading…
Reference in New Issue