This commit is contained in:
janderedev 2022-01-15 00:05:16 +01:00
parent 1928f3b8f0
commit 62f9ced58d
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -14,7 +14,11 @@ const ScrollHint: FunctionComponent = () => {
<div className="scroll-hint-container">
<span className={`${textHidden ? 'hidden' : ''}`}>Scroll down</span>
<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>
);
}