diff --git a/src/components/GithHubIcon.js b/src/components/GithHubIcon.js new file mode 100644 index 000000000..8be72ba2a --- /dev/null +++ b/src/components/GithHubIcon.js @@ -0,0 +1,26 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import cx from 'classnames'; +import styles from './GithHubIcon.module.scss'; + +const GithHubIcon = ({ className }) => ( + +); + +GithHubIcon.propTypes = { + className: PropTypes.string, +}; + +export default GithHubIcon; diff --git a/src/components/GithHubIcon.module.scss b/src/components/GithHubIcon.module.scss new file mode 100644 index 000000000..6eea8df95 --- /dev/null +++ b/src/components/GithHubIcon.module.scss @@ -0,0 +1,4 @@ +.icon { + fill: none; + width: var(--icon-size, 15px); +} diff --git a/src/components/GlobalHeader.js b/src/components/GlobalHeader.js index 81ad67851..c737fa2a6 100644 --- a/src/components/GlobalHeader.js +++ b/src/components/GlobalHeader.js @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; import cx from 'classnames'; import { Link } from 'gatsby'; import NewRelicLogo from './NewRelicLogo'; +import GithHubIcon from './GithHubIcon'; import ExternalLink from './ExternalLink'; import styles from './GlobalHeader.module.scss'; @@ -45,12 +46,12 @@ const GlobalHeader = ({ className }) => {