forked from fossasia/susi.ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes 3028 - Improved Staff Pick Badge * Fix travis
- Loading branch information
1 parent
4c14c8c
commit 98ab003
Showing
4 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import _Chip from '@material-ui/core/Chip'; | ||
import _PeopleIcon from '@material-ui/icons/People'; | ||
import styled from 'styled-components'; | ||
|
||
const StaffChip = styled(_Chip)` | ||
background-color: #f9a602; | ||
color: white; | ||
`; | ||
|
||
const PeopleIcon = styled(_PeopleIcon)` | ||
color: white; | ||
`; | ||
|
||
export const StaffPickBadge = () => { | ||
return ( | ||
<StaffChip | ||
size="small" | ||
icon={<PeopleIcon />} | ||
label="Staff Pick" | ||
style={{ | ||
margin: '5px 0px', | ||
padding: '2px', | ||
}} | ||
/> | ||
); | ||
}; |