diff --git a/src/components/molecules/Social.jsx b/src/components/molecules/Networks.jsx similarity index 90% rename from src/components/molecules/Social.jsx rename to src/components/molecules/Networks.jsx index a5bf8e0..2a6ca7a 100644 --- a/src/components/molecules/Social.jsx +++ b/src/components/molecules/Networks.jsx @@ -10,9 +10,9 @@ import { ReactComponent as GitHub } from '../../images/github.svg' import { ReactComponent as Dribbble } from '../../images/dribbble.svg' import '../atoms/Icons.scss' -import './Social.scss' +import './Networks.scss' -const SocialIcon = props => { +const NetworkIcon = props => { switch (props.title) { case 'Email': return @@ -29,7 +29,7 @@ const SocialIcon = props => { } } -class Social extends PureComponent { +class Network extends PureComponent { constructor(props) { super(props) @@ -65,7 +65,7 @@ class Social extends PureComponent { href={social[key]} key={i} > - + {key} ))} @@ -76,10 +76,10 @@ class Social extends PureComponent { } } -Social.propTypes = { +Network.propTypes = { meta: PropTypes.object, minimal: PropTypes.bool, hide: PropTypes.bool, } -export default Social +export default Network diff --git a/src/components/molecules/Social.scss b/src/components/molecules/Networks.scss similarity index 96% rename from src/components/molecules/Social.scss rename to src/components/molecules/Networks.scss index 6badc0b..81267ea 100644 --- a/src/components/molecules/Social.scss +++ b/src/components/molecules/Networks.scss @@ -32,8 +32,6 @@ } .icon { - width: 1rem; - height: 1rem; fill: $brand-grey-light; } diff --git a/src/components/organisms/Footer.jsx b/src/components/organisms/Footer.jsx index 03a0934..87bbaf7 100644 --- a/src/components/organisms/Footer.jsx +++ b/src/components/organisms/Footer.jsx @@ -2,7 +2,7 @@ import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import FileSaver from 'file-saver' import vCard from '../../lib/vcf/vcard' -import Social from '../molecules/Social' +import Networks from '../molecules/Networks' import './Footer.scss' class Footer extends PureComponent { @@ -54,7 +54,7 @@ class Footer extends PureComponent { return (