-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.php
68 lines (61 loc) · 2.18 KB
/
contact.php
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'Includes/headInfo.php';?>
<div id="p5_loading" class="loadingclass"></div>
<link rel="stylesheet" href="CSS/contact.css">
<title>Christopher Venczel | Contact Me</title>
<meta name="description"
content="Contact me at my email: [email protected],
through LinkedIn, or via GitHub.">
<script>
let oldFunction = setSize;
setSize = function() {
oldFunction();
setLinks();
};
function setLinks() {
let links = document.getElementsByClassName("basicLink");
let center = document.getElementById("centerDiv");
if (isMobile) {
links[0].innerText = "Email";
links[1].innerText = "LinkedIn";
links[2].innerText = "Github";
center.style.width = "350px";
} else {
links[0].innerText = "[email protected]";
links[1].innerText = "www.linkedin.com/in/christopher-venczel";
links[2].innerText = "www.github.com/chrisvenczel";
center.style.width = "600px";
}
}
</script>
</head>
<body>
<?php include 'Includes/header.php';?>
<?php include 'Includes/footer.php';?>
<table id="centerDiv">
<tr>
<td class="imgCol" id="emailImg"></td>
<td class="txtCol"><a href="mailto:[email protected]" class="basicLink">
</a>
</td>
</tr>
<tr>
<td class="imgCol" id="linkedInImg"></td>
<td class="txtCol"><a target="_blank" href="http://www.linkedin.com/in/christopher-venczel" class="basicLink">
www.linkedin.com/in/christopher-venczel
</a>
</td>
</tr>
<tr>
<td class="imgCol" id="githubImg"></td>
<td class="txtCol"><a target="_blank" href="https://github.com/chrisvenczel/" class="basicLink">
www.github.com/chrisvenczel
</a>
</td>
</tr>
</table>
</body>
</html>