-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
33 lines (30 loc) · 1.33 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
document.addEventListener('DOMContentLoaded', function() {
// Download CV
document.getElementById('download-cv')?.addEventListener('click', function() {
const link = document.createElement('a');
link.href = 'downloads/CV-Hugo-Urías.pdf';
link.download = 'CV-Hugo-Urias.pdf';
link.click();
});
// Download Recommendation Letter Amjad
document.getElementById('amjad-letter')?.addEventListener('click', function() {
const link = document.createElement('a');
link.href = 'downloads/letters/Amjad.pdf';
link.download = 'Hugo Urias Recommendation Letter - Amjad Masad.pdf';
link.click();
});
// Download Recommendation Letter Antoine
document.getElementById('antoine-letter')?.addEventListener('click', function() {
const link = document.createElement('a');
link.href = 'downloads/letters/Antoine.pdf';
link.download = 'Hugo Urias Recommendation Letter - Antoine Buteau.pdf';
link.click();
});
// Download Recommendation Letter Ian
document.getElementById('ian-letter')?.addEventListener('click', function() {
const link = document.createElement('a');
link.href = 'downloads/letters/Ian.pdf';
link.download = 'Hugo Urias Recommendation Letter - Ian Simpson.pdf';
link.click();
});
})