Make contact email a link, add github link
This commit is contained in:
13
passmate.js
13
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) {
|
||||
|
||||
Reference in New Issue
Block a user