We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9880dc1 commit b218746Copy full SHA for b218746
components/Footer/Footer.jsx
@@ -7,14 +7,16 @@ import Link from "next/link";
7
const Footer = () => {
8
const date = new Date();
9
const year = date.getFullYear();
10
-
+ const handleClick =()=>{
11
+ window.scrollTo({top:0,behavior:'smooth'})
12
+ }
13
return (
14
<footer>
15
<Container>
16
<Row>
17
<Col lg="12">
18
<div className={`${classes.footer__copyright}`}>
- <p>
19
+ <p onClick={handleClick} className="cursor-pointer">
20
© Copyright {year} - Developed by Piyush Garg. All right
21
reserved.
22
</p>
0 commit comments