File tree Expand file tree Collapse file tree 2 files changed +26
-8
lines changed Expand file tree Collapse file tree 2 files changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import React, { useState } from "react";
3
3
import Curiologo from '../assets/images/Csmall.png'
4
4
import './header.css' ;
5
5
import { Link , BrowserRouter as Router } from 'react-router-dom' ;
6
+ import { FaGithub , FaLinkedin , FaTwitter } from 'react-icons/fa' ;
6
7
7
8
const HeaderCurio = ( ) => {
8
9
//Used to toggle the hamburger menu
@@ -28,10 +29,11 @@ const HeaderCurio = () => {
28
29
</ Link >
29
30
30
31
< div className = "curio__sign" >
31
- < p > About</ p >
32
- < p > Sign In</ p >
33
- < button type = "button" > Sign Up</ button >
34
- </ div >
32
+ { /* Social icons */ }
33
+ < FaGithub />
34
+ < FaLinkedin />
35
+ < FaTwitter />
36
+ </ div >
35
37
</ Router >
36
38
</ div >
37
39
{ /*Added a mobile version
@@ -88,13 +90,13 @@ const HeaderCurio = () => {
88
90
}
89
91
>
90
92
< div className = "hamburger-menu-context" >
91
- < b > Sign Up </ b >
93
+ < FaGithub / >
92
94
</ div >
93
95
< div className = "hamburger-menu-context" >
94
- < b > Sign In </ b >
96
+ < FaLinkedin / >
95
97
</ div >
96
98
< div className = "hamburger-menu-context" >
97
- < b > About </ b >
99
+ < FaTwitter / >
98
100
</ div >
99
101
</ div >
100
102
</ >
Original file line number Diff line number Diff line change 83
83
.hamburger-menu-context : hover {
84
84
opacity : 0.2 ;
85
85
}
86
+ .hamburger-menu-context svg {
87
+ margin-right : 10px ;
88
+ font-size : 25px ;
89
+ }
86
90
.gradient__text {
87
91
background : var (--gradient-text );
88
92
background-clip : text;
104
108
}
105
109
.curio__sign {
106
110
display : flex;
107
- justify-content : flex-end;
108
111
align-items : center;
112
+ justify-content : center;
113
+ }
114
+
115
+ .curio__sign svg {
116
+ height : 30px ;
117
+ width : 30px ;
118
+ margin : 0 10px ;
119
+ color : # d4d4d4 ;
120
+ transition : color 0.3s ;
121
+ }
122
+
123
+ .curio__sign svg : hover {
124
+ color : # 1da1f2 ;
109
125
}
110
126
111
127
.curio__sign p {
You can’t perform that action at this time.
0 commit comments