File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ const Resources = [
24
24
const Plans = [ "Paid memberships" , "For students" , "Business solutions" ] ;
25
25
const Community = [ "Forums" , "Chapters" , "Events" ] ;
26
26
27
+ const handleClick = ( ) => {
28
+ window . scrollTo ( { top : 0 , behavior : 'smooth' } ) ;
29
+ } ;
30
+
27
31
const Footer = ( ) => {
28
32
return (
29
33
< div className = "bg-richblack-800" >
@@ -43,7 +47,8 @@ const Footer = () => {
43
47
key = { i }
44
48
className = "text-[14px] cursor-pointer hover:text-richblack-50 transition-all duration-200"
45
49
>
46
- < Link to = { ele . toLowerCase ( ) } > { ele } </ Link >
50
+ < Link to = { `/${ ele . toLowerCase ( ) } ` } scroll = { false } >
51
+ < a onClick = { handleClick } > { ele } </ a > </ Link >
47
52
</ div >
48
53
) ;
49
54
} ) }
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export default function SignupForm() {
115
115
</ p >
116
116
< input
117
117
required
118
- type = "text "
118
+ type = "email "
119
119
name = "email"
120
120
value = { formData . email }
121
121
onChange = { changeHandler }
You can’t perform that action at this time.
0 commit comments