scrol
This commit is contained in:
parent
1928f3b8f0
commit
62f9ced58d
|
@ -14,7 +14,11 @@ const ScrollHint: FunctionComponent = () => {
|
||||||
<div className="scroll-hint-container">
|
<div className="scroll-hint-container">
|
||||||
<span className={`${textHidden ? 'hidden' : ''}`}>Scroll down</span>
|
<span className={`${textHidden ? 'hidden' : ''}`}>Scroll down</span>
|
||||||
<br/>
|
<br/>
|
||||||
<img src="/assets/pointer_down.svg" className={`${arrowHidden ? 'hidden' : ''}`} />
|
<img
|
||||||
|
src="/assets/pointer_down.svg"
|
||||||
|
className={`${arrowHidden ? 'hidden' : ''}`}
|
||||||
|
onClick={() => window.scroll({ behavior: 'smooth', top: window.innerHeight })}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue