Skip to content

Commit

Permalink
convert outside icons to svg files (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirainmoe authored and kokororin committed Feb 10, 2019
1 parent b959bbb commit 072ac6b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/GalleryContainer.js
Expand Up @@ -13,7 +13,6 @@ import ListItemIcon from '@material-ui/core/ListItemIcon';
import ListItemText from '@material-ui/core/ListItemText';
import ListSubheader from '@material-ui/core/ListSubheader';
import DoneIcon from '@material-ui/icons/Done';
import GithubIcon from '@material-ui/docs/svgIcons/Github';

import DocumentTitle from 'react-document-title';
import { FormattedMessage, injectIntl } from 'react-intl';
Expand All @@ -30,6 +29,7 @@ import LanguageSelector from '@/components/LanguageSelector';
import SearchInput from '@/components/SearchInput';
import Content from '@/components/Content';
import Storage from '@/utils/Storage';
import GithubIcon from '@/icons/Github';

const styles = {
toolbar: {
Expand Down
14 changes: 14 additions & 0 deletions src/icons/Github.js
@@ -0,0 +1,14 @@
import React from 'react';

export const GitHub = () => (
<svg viewBox={'0 0 24 24'} width={22} height={22}>
<path
fill={'#ffffff'}
d={
'M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2 0 1.9 1.2 1.9 1.2 1 1.8 2.8 1.3 3.5 1 0-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3-5.5-6 0-1.2.5-2.3 1.3-3.1-.2-.4-.6-1.6 0-3.2 0 0 1-.3 3.4 1.2a11.5 11.5 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.6 1.6.2 2.8 0 3.2.9.8 1.3 1.9 1.3 3.2 0 4.6-2.8 5.6-5.5 5.9.5.4.9 1 .9 2.2v3.3c0 .3.1.7.8.6A12 12 0 0 0 12 .3'
}
/>
</svg>
);

export default GitHub;

0 comments on commit 072ac6b

Please sign in to comment.