From b218746ad7761d24d2228aa775e39ddf87c86cc3 Mon Sep 17 00:00:00 2001 From: AtharvaShirke95032 Date: Tue, 7 Oct 2025 04:05:13 +0530 Subject: [PATCH] feat: Add cursor pointer on hover on footer and scroll to top on click --- components/Footer/Footer.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Footer/Footer.jsx b/components/Footer/Footer.jsx index 3c131e8a..c74f1800 100644 --- a/components/Footer/Footer.jsx +++ b/components/Footer/Footer.jsx @@ -7,14 +7,16 @@ import Link from "next/link"; const Footer = () => { const date = new Date(); const year = date.getFullYear(); - + const handleClick =()=>{ + window.scrollTo({top:0,behavior:'smooth'}) + } return (