Skip to content

Commit

Permalink
fixL centre scroll cue
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeeburt committed Jan 11, 2025
1 parent 56f63b0 commit af67b08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/sections/hero/scroll-cue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ export default function ScrollCue() {
return (
<div
className={cn(
'absolute left-1/2 flex -translate-x-1/2 animate-bounce flex-col items-center text-muted transition-all duration-1000 ease-in-out',
isMobile ? 'bottom-24' : 'bottom-7',
'absolute flex animate-pulse flex-col items-center justify-center text-muted transition-all duration-1000 ease-in-out',
isMobile ? 'bottom-24' : 'bottom-6',
isVisible
? 'translate-y-0 opacity-100'
: 'pointer-events-none hidden translate-y-10 opacity-0'
: 'pointer-events-none hidden translate-y-10 opacity-0',
'left-1/2 -translate-x-1/2 transform'
)}
>
<p className="lg:text-sm">Scroll Down</p>
Expand Down

0 comments on commit af67b08

Please sign in to comment.