File tree Expand file tree Collapse file tree 6 files changed +37
-6
lines changed Expand file tree Collapse file tree 6 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 13
13
display : inline-block;
14
14
color : # f2f2f2 ;
15
15
text-align : center;
16
- padding : 14 px 16 px ;
16
+ padding : 20 px 15 px ;
17
17
text-decoration : none;
18
18
font-size : 20px ;
19
19
}
20
20
21
21
.topnav a : hover {
22
22
background-color : # ddd ;
23
23
color : black;
24
+ border-radius : 25px ;
25
+ border : # ddd ;
26
+ block-size : auto;
27
+ display : inline;
24
28
}
25
29
26
30
.topnav a .active {
27
31
background-color : # 4CAF50 ;
28
32
color : white;
29
33
}
34
+
35
+ .logo {
36
+ margin-top : 10px ;
37
+ width : 60px ;
38
+ vertical-align : middle;
39
+ height : 50px ;
40
+ display : inline-block;
41
+ }
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import './Navbar.css' ;
3
-
3
+ import slack from './slack.svg' ;
4
+ import youtube from './youtube.svg' ;
5
+ import twitter from './twitter.svg' ;
6
+ import github from './github.svg' ;
4
7
class Navbar extends Component {
5
8
render ( ) {
6
9
return (
7
10
< div className = "topnav" >
8
- < a href = "https://join.slack.com/t/firstcontributors/shared_invite/enQtNjkxNzQwNzA2MTMwLTVhMWJjNjg2ODRlNWZhNjIzYjgwNDIyZWYwZjhjYTQ4OTBjMWM0MmFhZDUxNzBiYzczMGNiYzcxNjkzZDZlMDM" target = "_blank" rel = "noopener noreferrer" > Slack</ a >
9
- < a href = "https://www.youtube.com/channel/UCMXNFxCvyH5LhUwEcmY8qGQ" target = "_blank" rel = "noopener noreferrer" > YouTube</ a >
10
- < a href = "https://twitter.com/1stContribution" target = "_blank" rel = "noopener noreferrer" > Twitter</ a >
11
- < a href = "https://github.com/firstcontributions/first-contributions" target = "_blank" rel = "noopener noreferrer" > GitHub</ a >
11
+ < a href = "https://join.slack.com/t/firstcontributors/shared_invite/enQtNjkxNzQwNzA2MTMwLTVhMWJjNjg2ODRlNWZhNjIzYjgwNDIyZWYwZjhjYTQ4OTBjMWM0MmFhZDUxNzBiYzczMGNiYzcxNjkzZDZlMDM" target = "_blank" rel = "noopener noreferrer" >
12
+ < img src = { slack } className = "logo" />
13
+ < span > Slack</ span >
14
+ </ a >
15
+ < a href = "https://www.youtube.com/channel/UCMXNFxCvyH5LhUwEcmY8qGQ" target = "_blank" rel = "noopener noreferrer" >
16
+ < img src = { youtube } className = "logo" />
17
+ < span > Youtube</ span >
18
+ </ a >
19
+ < a href = "https://twitter.com/1stContribution" target = "_blank" rel = "noopener noreferrer" >
20
+ < img src = { twitter } className = "logo" />
21
+ < span > Twitter</ span >
22
+ </ a >
23
+ < a href = "https://github.com/firstcontributions/first-contributions" target = "_blank" rel = "noopener noreferrer" >
24
+ < img src = { github } className = "logo" />
25
+ Github
26
+ </ a >
12
27
</ div >
13
28
) ;
14
29
}
You can’t perform that action at this time.
0 commit comments