File tree Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 7
7
FaInstagram ,
8
8
FaLinkedinIn ,
9
9
} from "react-icons/fa" ;
10
+ import { Link } from "react-router-dom" ;
10
11
11
12
export default function Footer ( ) {
12
13
return (
@@ -16,17 +17,31 @@ export default function Footer() {
16
17
< Col md = { 4 } >
17
18
< h5 > Company</ h5 >
18
19
< ul className = "list-unstyled" >
19
- < li > About Us</ li >
20
- < li > Careers</ li >
21
- < li > Contact Us</ li >
20
+ < li >
21
+ < Link to = "/about" className = "footer-link" >
22
+ About Us
23
+ </ Link >
24
+ </ li >
25
+ < li >
26
+ < Link to = "/contact" className = "footer-link" >
27
+ Contact Us
28
+ </ Link >
29
+ </ li >
22
30
</ ul >
23
31
</ Col >
24
32
< Col md = { 4 } >
25
33
< h5 > Quick Links</ h5 >
26
34
< ul className = "list-unstyled" >
27
- < li > Home</ li >
28
- < li > Services</ li >
29
- < li > Blog</ li >
35
+ < li >
36
+ < Link to = "/" className = "footer-link" >
37
+ Home
38
+ </ Link >
39
+ </ li >
40
+ < li >
41
+ < Link to = "/signup" className = "footer-link" >
42
+ Sign Up
43
+ </ Link >
44
+ </ li >
30
45
</ ul >
31
46
</ Col >
32
47
< Col md = { 4 } >
Original file line number Diff line number Diff line change 7
7
.footer h5 {
8
8
color : # f8f9fa ;
9
9
margin-bottom : 20px ;
10
+ font-weight : bold;
11
+ text-transform : uppercase;
12
+ letter-spacing : 1px ;
10
13
}
11
14
12
15
.footer ul {
18
21
margin-bottom : 10px ;
19
22
}
20
23
24
+ .footer .footer-link {
25
+ color : # f8f9fa ;
26
+ text-decoration : none;
27
+ transition : color 0.3s ease, transform 0.3s ease;
28
+ }
29
+
30
+ .footer .footer-link : hover {
31
+ color : # 007bff ;
32
+ transform : translateX (5px );
33
+ }
34
+
21
35
.footer .social-icons {
22
36
display : flex;
23
37
justify-content : space-around;
27
41
.footer .social-icon {
28
42
color : # f8f9fa ;
29
43
font-size : 20px ;
30
- transition : color 0.3s ease;
44
+ transition : color 0.3s ease, transform 0.3 s ease ;
31
45
}
32
46
33
47
.footer .social-icon : hover {
34
48
color : # 007bff ;
49
+ transform : scale (1.2 );
35
50
}
36
51
37
52
.footer p {
You can’t perform that action at this time.
0 commit comments