Merge pull request #31 from concreted/patch-1

(fix) use mailto: in email link
This commit is contained in:
Alexander S 2017-03-07 15:54:18 +02:00 committed by GitHub
commit 3187d066a0

View File

@ -34,7 +34,7 @@ class SiteLinks extends React.Component {
<ul> <ul>
{config.siteEmailUrl && ( {config.siteEmailUrl && (
<li> <li>
<a href={config.siteEmailUrl}> <a href={`mailto:${config.siteEmailUrl}`}>
<i className="fa fa-envelope-o" /> <i className="fa fa-envelope-o" />
</a> </a>
</li> </li>
@ -59,4 +59,4 @@ class SiteLinks extends React.Component {
} }
} }
export default SiteLinks export default SiteLinks