diff --git a/components/JumpToTop.js b/components/JumpToTop.js index 9f369241..3d2bc93c 100644 --- a/components/JumpToTop.js +++ b/components/JumpToTop.js @@ -33,15 +33,15 @@ const JumpToTop = ({ targetRef, showPercent = true }) => { }, [show]) return ( -
-
+
+
window.scrollTo({ top: 0, behavior: 'smooth' })} - style={{ 'box-shadow': 'rgba(41, 50, 60, 0.5) 0px 2px 16px' }} - className={(show ? 'animate__fadeInUp' : 'animate__fadeOutUp') + ' bg-gray-800 p-2 cursor-pointer rounded-full animate__animated animate__faster shadow-2xl'}> + style={{ boxShadow: 'rgba(41, 50, 60, 0.5) 0px 2px 16px', borderRadius: '28px' }} + className={(show ? 'animate__fadeInUp' : 'animate__fadeOutUp') + ' bg-gray-700 px-2.5 py-2 cursor-pointer animate__animated animate__faster shadow-2xl'}>
- {showPercent && (
{percent}%
)} + {showPercent && (
 {percent}%
)}