Make contact email a link, add github link

This commit is contained in:
Ian Gulliver
2018-11-21 06:49:24 +00:00
parent c018e8aa95
commit a105e6ba6d

View File

@@ -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) {