Skip to content

Commit

Permalink
Simple email obfuscation
Browse files Browse the repository at this point in the history
  • Loading branch information
plhosk committed Jul 28, 2017
1 parent f6460f7 commit 4d98f81
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,12 @@ import React from 'react'

import './Contact.css'

const abc = 'mai'
const use = 'plhosk'
const ser = '@gm'
const tld = 'om'

const Contact = () => (
<div className="Contact-outer-div">
<div className="Contact-email">
I can be reached by email at the following address: <a
className="Contact-email-link"
href={`${abc}lto:${use}${ser}ail.c${tld}`}
target="_blank"
>
{`${use}${ser}ail.c${tld}`}
</a>
I can be reached by email at the
following link: <a href="mailto:&#112;&#108;&#104;&#111;&#115;&#107;&#64;&#103;&#109;&#97;&#105;l.&#99;om" target="_blank" rel="noopener noreferrer">
&#112;&#108;&#104;&#111;&#115;&#107;&#64;&#103;&#109;&#97;&#105;l.&#99;om</a>
</div>
</div>
)
Expand Down

0 comments on commit 4d98f81

Please sign in to comment.