diff --git a/passmate.js b/passmate.js index 3fdc242..2f58a98 100644 --- a/passmate.js +++ b/passmate.js @@ -73,7 +73,18 @@ class PassMate { }); this.addElement('h2', overview, 'Questions? Suggestions?'); - this.addElement('blurb', overview, 'Contact ian@passmate.io'); + + let contact = this.addElement('blurb', overview, 'Contact ian@passmate.io'); + contact.style.cursor = 'pointer'; + contact.addEventListener('click', () => { + document.location = 'mailto:ian@passmate.io'; + }); + + let github = this.addElement('blurb', overview, 'Source code & issue tracking at GitHub'); + github.style.cursor = 'pointer'; + github.addEventListener('click', () => { + document.location = 'https://github.com/flamingcowtv/passmate'; + }); } addPages(container, numPages) {