mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
Merge pull request #31 from concreted/patch-1
(fix) use mailto: in email link
This commit is contained in:
commit
3187d066a0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user