Place: Adapt parallax with responsive

This commit is contained in:
2020-04-19 20:10:06 +02:00
parent c37a8238f3
commit 9220e6cf8d

View File

@@ -120,7 +120,7 @@
</span> </span>
</h1> </h1>
<div data-rellax-speed="-1.75" data-rellax-max-y="200"> <div data-rellax-speed={windowWidth <= 768 ? -2.5 : -1.75} data-rellax-max-y="200">
<a href="/choose" class="button-control button-control--big button-control--dashed" aria-label="Change location"> <a href="/choose" class="button-control button-control--big button-control--dashed" aria-label="Change location">
<span class="center"> <span class="center">
<IconGlobe width={windowWidth <= 768 ? 32 : 44} color="#fff" /> <IconGlobe width={windowWidth <= 768 ? 32 : 44} color="#fff" />