-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
170 lines (158 loc) · 4.97 KB
/
index.html
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-132505107-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-132505107-1");
</script>
<title>Tudor Popa</title>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Tudor Popa - Passionate about software engineering with a strong emphasis on software architecture and artificial intelligence."
/>
<link rel="stylesheet" href="assets/css/main.css" />
<link href="assets/fontawesome/css/all.min.css" rel="stylesheet" />
<noscript>
<link rel="stylesheet" href="assets/css/noscript.css" />
</noscript>
</head>
<body class="is-preload">
<div id="wrapper">
<div id="bg"></div>
<div id="overlay"></div>
<div id="main">
<!-- Header -->
<header id="header">
<h1>Tudor Popa</h1>
<p>
Passionate about software engineering with a strong emphasis on
software architecture and artificial intelligence.
</p>
<nav>
<ul>
<li>
<a
title="Resume"
href="https://github.com/doidor/resume/blob/master/resume.pdf"
class="far fa-file-pdf"
><span class="label">Resume</span></a
>
</li>
<li>
<a
title="LinkedIn"
title="LinkedIn"
href="https://www.linkedin.com/in/tdrpopa/"
class="fab fa-linkedin"
><span class="label">LinkedIn</span></a
>
</li>
<li>
<a
title="Mail"
href="mailto:[email protected]"
class="far fa-envelope"
><span class="label">Email</span></a
>
</li>
<li>
<a
title="Github"
href="https://github.com/doidor"
class="fab fa-github"
><span class="label">Github</span></a
>
</li>
<li>
<a
title="Facebook"
href="https://facebook.com/tudorpopa"
class="fab fa-facebook"
><span class="label">Facebook</span></a
>
</li>
<li>
<a
title="Medium"
href="https://medium.com/@tdr.popa"
class="fab fa-medium-m"
><span class="label">Medium</span></a
>
</li>
</ul>
</nav>
</header>
<!-- Footer -->
<footer id="footer">
<span class="copyright">
© Tudor Popa. Design:
<a href="http://html5up.net">HTML5 UP</a>.
</span>
<span id="version"></span>
</footer>
</div>
</div>
<script>
const BG_COLORS = [
"#302b63",
"#4286f4",
"#373B44",
"#4A00E0",
"#2ebf91",
"#8360c3",
"#43C6AC",
"#516395"
];
window.onload = function() {
document.body.classList.remove("is-preload");
const bg = document.querySelector("#bg");
const currentColor = BG_COLORS[
Math.floor(Math.random() * BG_COLORS.length)
].substr(1);
bg.style.background = `#${currentColor}`;
var link =
document.querySelector("link[rel*='icon']") ||
document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.href = `/assets/ico/favicon_${currentColor}.ico`;
document.getElementsByTagName("head")[0].appendChild(link);
window.currentColor = currentColor;
consoleMessage();
if (typeof window.ENVIRON !== "undefined" && window.ENVIRON !== "") {
document.querySelector(
"#footer"
).firstElementChild.innerHTML += ` Hosted on ${window.ENVIRON}.`;
}
};
window.ontouchmove = function() {
return false;
};
window.onorientationchange = function() {
document.body.scrollTop = 0;
};
fetch("package.json")
.then(data => data.json())
.then(packageData => {
document.querySelector(
"#version"
).textContent = `v${packageData.version}`;
})
.catch(e => {});
</script>
<script src="assets/js/extra.js"></script>
<script src="assets/js/env.js"></script>
</body>
</html>