Added email-replace
This commit is contained in:
parent
51ccf1751f
commit
2ebec59dfa
16
index.html
16
index.html
@ -574,7 +574,7 @@
|
|||||||
<br><br>
|
<br><br>
|
||||||
However, Gilroy Hacks will use these photos for promoting purposes ONLY. We will never share your personal or private information to anyone outside the event.
|
However, Gilroy Hacks will use these photos for promoting purposes ONLY. We will never share your personal or private information to anyone outside the event.
|
||||||
<br><br>
|
<br><br>
|
||||||
If you have a disagreement with any of the terms stated above, please contact an event organizer or email <a class="link" target="_blank" href="mailto:tech@gilroyhacks.com" title="Email">tech@gilroyhacks.com</a>
|
If you have a disagreement with any of the terms stated above, please contact an event organizer or email <a class="link" id="email-replace-tech" target="_blank" href="mailto:tech-at-gilroyhacks-dot-com" title="Email">tech (at) gilroyhacks (dot) com</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -658,7 +658,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Aadhavan Magesh</h4>
|
<h4 class="person-name">Aadhavan Magesh</h4>
|
||||||
<h5 class="person-subtitle">Secretary</h5>
|
<h5 class="person-subtitle">Secretary</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: Skymon<span class="discord-tag">#0438</span><br><a class="link" target="_blank" href="mailto:aadhavan.magesh@gmail.com" title="Email">aadhavan.magesh@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: Skymon<span class="discord-tag">#0438</span><br><a class="link" id="email-replace-aadhavan" target="_blank" href="mailto:aadhavan.magesh-at-gmail-dot-com" title="Email">aadhavan.magesh (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
@ -669,7 +669,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Isaac Hwang</h4>
|
<h4 class="person-name">Isaac Hwang</h4>
|
||||||
<h5 class="person-subtitle">Lead Organizer</h5>
|
<h5 class="person-subtitle">Lead Organizer</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: Fesh<span class="discord-tag">#5995</span><br><a class="link" target="_blank" href="mailto:ihwang125@gmail.com" title="Email">ihwang125@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: Fesh<span class="discord-tag">#5995</span><br><a class="link" id="email-replace-isaac" target="_blank" href="mailto:ihwang125-at-gmail-dot-com" title="Email">ihwang125 (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="team-entry">
|
<div class="team-entry">
|
||||||
@ -688,7 +688,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Vijay Kethanaboyina</h4>
|
<h4 class="person-name">Vijay Kethanaboyina</h4>
|
||||||
<h5 class="person-subtitle">Outreach Manager</h5>
|
<h5 class="person-subtitle">Outreach Manager</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: SURPRISE!!<span class="discord-tag">#8662</span><br><a class="link" target="_blank" href="mailto:vijaykethanaboyina@gmail.com" title="Email">vijaykethanaboyina@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: SURPRISE!!<span class="discord-tag">#8662</span><br><a class="link" id="email-replace-vijay" target="_blank" href="mailto:vijaykethanaboyina-at-gmail-dot-com" title="Email">vijaykethanaboyina (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
@ -699,7 +699,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">James Dinh</h4>
|
<h4 class="person-name">James Dinh</h4>
|
||||||
<h5 class="person-subtitle">Lead Website Designer</h5>
|
<h5 class="person-subtitle">Lead Website Designer</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: wellfedbison<span class="discord-tag">#0607</span><br><a class="link email-replace" target="_blank" href="mailto:jamesdinh77@protonmail.com" title="Email">jamesdinh77@protonmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: wellfedbison<span class="discord-tag">#0607</span><br><a class="link" id="email-replace-james" target="_blank" href="mailto:jamesdinh77-at-protonmail-dot-com" title="Email">jamesdinh77 (at) protonmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="team-entry">
|
<div class="team-entry">
|
||||||
@ -707,7 +707,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Clement Boiteux</h4>
|
<h4 class="person-name">Clement Boiteux</h4>
|
||||||
<h5 class="person-subtitle">Tech Support</h5>
|
<h5 class="person-subtitle">Tech Support</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: Maul<span class="discord-tag">#8742</span><br><a class="link" target="_blank" href="mailto:ezrabridger27@gmail.com" title="Email">ezrabridger27@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: Maul<span class="discord-tag">#8742</span><br><a class="link" id="email-replace-ezra" target="_blank" href="mailto:ezrabridger27-at-gmail-dot-com" title="Email">ezrabridger27 (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="team-entry">
|
<div class="team-entry">
|
||||||
@ -715,7 +715,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Mark Shen</h4>
|
<h4 class="person-name">Mark Shen</h4>
|
||||||
<h5 class="person-subtitle">Tech Support</h5>
|
<h5 class="person-subtitle">Tech Support</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: No Game No life<span class="discord-tag">#4534</span><br><a class="link" target="_blank" href="mailto:markshen00@gmail.com" title="Email">markshen00@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: No Game No life<span class="discord-tag">#4534</span><br><a class="link" id="email-replace-mark" target="_blank" href="mailto:markshen00-at-gmail-dot-com" title="Email">markshen00 (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
@ -726,7 +726,7 @@
|
|||||||
<div class="team-description">
|
<div class="team-description">
|
||||||
<h4 class="person-name">Bryce Mankovsky</h4>
|
<h4 class="person-name">Bryce Mankovsky</h4>
|
||||||
<h5 class="person-subtitle">Marketing Manager</h5>
|
<h5 class="person-subtitle">Marketing Manager</h5>
|
||||||
<h5 class="person-contact"><span class="discord-text">Discord</span>: bmank52<span class="discord-tag">#1664</span><br><a class="link" target="_blank" href="mailto:brycemankovsky@gmail.com" title="Email">brycemankovsky@gmail.com</a></h5>
|
<h5 class="person-contact"><span class="discord-text">Discord</span>: bmank52<span class="discord-tag">#1664</span><br><a class="link" id="email-replace-bryce" target="_blank" href="mailto:brycemankovsky-at-gmail-dot-com" title="Email">brycemankovsky (at) gmail (dot) com</a></h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
@ -3,10 +3,44 @@
|
|||||||
|
|
||||||
// document is loaded and DOM is ready
|
// document is loaded and DOM is ready
|
||||||
document.addEventListener('DOMContentLoaded', function(){
|
document.addEventListener('DOMContentLoaded', function(){
|
||||||
document.querySelectorAll('a.email-replace').forEach(elem => {
|
// Email replace
|
||||||
elem.href = "mailto:jamesdinh77" + "@" + "protonmail.com";
|
function setAttributes(elem, attrs) {
|
||||||
elem.target = "_blank";
|
for(var key in attrs) {
|
||||||
});
|
elem.setAttribute(key, attrs[key]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var tech = document.getElementById("email-replace-tech");
|
||||||
|
setAttributes(tech, {"href": "mailto:tech" + "@" + "gilroyhacks.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
tech.innerHTML = "tech" + "@" + "gilroyhacks.com";
|
||||||
|
|
||||||
|
var aadhavan = document.getElementById("email-replace-aadhavan");
|
||||||
|
setAttributes(aadhavan, {"href": "mailto:aadhavan.magesh" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
aadhavan.innerHTML = "aadhavan.magesh" + "@" + "gmail.com";
|
||||||
|
|
||||||
|
var isaac = document.getElementById("email-replace-isaac");
|
||||||
|
setAttributes(isaac, {"href": "mailto:ihwang125" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
isaac.innerHTML = "ihwang125" + "@" + "gmail.com";
|
||||||
|
|
||||||
|
var vijay = document.getElementById("email-replace-vijay");
|
||||||
|
setAttributes(vijay, {"href": "mailto:vijaykethanaboyina" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
vijay.innerHTML = "vijaykethanaboyina" + "@" + "gmail.com";
|
||||||
|
|
||||||
|
var james = document.getElementById("email-replace-james");
|
||||||
|
setAttributes(james, {"href": "mailto:jamesdinh77" + "@" + "protonmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
james.innerHTML = "jamesdinh77" + "@" + "protonmail.com";
|
||||||
|
|
||||||
|
var ezra = document.getElementById("email-replace-ezra");
|
||||||
|
setAttributes(ezra, {"href": "mailto:ezrabridger27" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
ezra.innerHTML = "ezrabridger27" + "@" + "gmail.com";
|
||||||
|
|
||||||
|
var mark = document.getElementById("email-replace-mark");
|
||||||
|
setAttributes(mark, {"href": "mailto:markshen00" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
mark.innerHTML = "markshen00" + "@" + "gmail.com";
|
||||||
|
|
||||||
|
var bryce = document.getElementById("email-replace-bryce");
|
||||||
|
setAttributes(bryce, {"href": "mailto:brycemankovsky" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});
|
||||||
|
bryce.innerHTML = "brycemankovsky" + "@" + "gmail.com";
|
||||||
|
|
||||||
// Checkbox Local Storage
|
// Checkbox Local Storage
|
||||||
var i;
|
var i;
|
||||||
|
Loading…
Reference in New Issue
Block a user