-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (69 loc) · 2.94 KB
/
index.html
File metadata and controls
69 lines (69 loc) · 2.94 KB
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
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Resume</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="css/style.css" rel="stylesheet">
<script src="js/jQuery.js"></script>
<script src="js/helper.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places"></script>
<meta name="viewport" content="width=device-width">
</head>
<body>
<div id="main">
<div id="header" class="center-content clear-fix">
<ul id="topContacts" class="flex-box"></ul>
</div>
<div style="clear: both;"></div>
<div id="workExperience" class="gray">
<h2>Work Experience</h2>
</div>
<div id="projects">
<h2>Projects</h2>
</div>
<div id="education" class="gray">
<h2>Education</h2>
</div>
<div id="mapDiv">
<h2>Where I've Lived and Worked</h2>
</div>
<div id="lets-connect" class="dark-gray">
<h2 class="orange center-text">Let's Connect</h2>
<ul id="footerContacts" class="flex-box"></ul>
</div>
</div>
<script src="js/resumeBuilder.js"></script>
<script type="text/javascript">
/* Rather than hiding resume sections when they're empty, we can modify the scripts at the bottom of the resume so that they turn each section black when the section is empty. */
if(document.getElementsByClassName('flex-item').length === 0) {
//document.getElementById('topContacts').style.display = 'none';
document.getElementById('topContacts').style.backgroundColor = 'black';
}
if(document.getElementsByTagName('h1').length === 0) {
//document.getElementById('header').style.display = 'none';
document.getElementById('header').style.backgroundColor = 'black';
}
if(document.getElementsByClassName('work-entry').length === 0) {
//document.getElementById('workExperience').style.display = 'none';
document.getElementById('workExperience').style.backgroundColor = 'black';
}
if(document.getElementsByClassName('project-entry').length === 0) {
//document.getElementById('projects').style.display = 'none';
document.getElementById('projects').style.backgroundColor = 'black';
}
if(document.getElementsByClassName('education-entry').length === 0) {
//document.getElementById('education').style.display = 'none';
document.getElementById('education').style.backgroundColor = 'black';
}
if(document.getElementsByClassName('flex-item').length === 0) {
//document.getElementById('lets-connect').style.display = 'none';
document.getElementById('lets-connect').style.backgroundColor = 'black';
}
if(document.getElementById('map') === null) {
//document.getElementById('mapDiv').style.display = 'none';
document.getElementById('mapDiv').style.backgroundColor = 'black';
}
</script>
</body>
</html>