feat: web (#6)

This commit is contained in:
Cody Tseng 2024-11-16 15:44:37 +08:00 committed by GitHub
parent ab667afc30
commit 26c2512d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
60 changed files with 937 additions and 547 deletions

View file

@ -30,7 +30,7 @@ export default function ScrollToTopButton({
return (
<Button
variant="secondary-2"
className={`absolute bottom-4 right-2 rounded-full w-10 h-10 p-0 hover:text-background transition-transform ${showScrollToTop ? '' : 'translate-y-14'}`}
className={`absolute bottom-8 right-2 rounded-full w-10 h-10 p-0 hover:text-background transition-transform ${showScrollToTop ? '' : 'translate-y-20'}`}
onClick={handleScrollToTop}
>
<ChevronUp />