-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
384 lines (357 loc) · 13.9 KB
/
index.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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<?php
/**
*
* David \'Alvarez Rosa's personal website index PHP file.
* Copyright (C) 2019-2021 David \'Alvarez Rosa
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
include 'resources/cacheStart.php';
?>
<!DOCTYPE html>
<html lang="en">
<?php
include 'resources/comment.html';
include 'resources/minify.php';
?>
<head>
<title>David Álvarez Rosa | Personal Website</title>
<meta charset="UTF-8" />
<meta name="description" content="Hi visitor, I am David, welcome to my
persona website! This site is intended to be a web version of
my curriculum vitae and be my corner on the Internet."/>
<meta name="keywords" content="David Álvarez Rosa, David Álvarez, David,
Curriculum Vitae, Mathematics, Engineering" />
<meta name="author" content="David Álvarez Rosa" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="canonical" href="https://david.alvarezrosa.com" />
<link rel="apple-touch-icon" sizes="180x180"
href="img/icons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32"
href="img/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16"
href="img/icons/favicon-16x16.png" />
<link rel="manifest" href="site.webmanifest" />
<link rel="mask-icon" href="img/icons/safari-pinned-tab.svg"
color="#816363" />
<link rel="shortcut icon" href="img/icons/favicon.ico" />
<meta name="msapplication-TileColor" content="#DBDCDC" />
<meta name="msapplication-config" content="img/icons/browserconfig.xml" />
<meta name="theme-color" content="#FFFFFF" />
<!-- Meta tags for social media. -->
<meta property="og:title" content="David Álvarez Rosa | Personal Website" />
<meta property="og:description" content="Personal Website." />
<meta property="og:image"
content="https://david.alvarezrosa.com/img/backgrounds/mountain.jpg" />
<meta property="og:url" content="https://david.alvarezrosa.com/" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<!-- CSS files. -->
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/animations.css" />
<link rel="stylesheet" id="fontawesome"
data-href="external/fontawesome/css/all.min.css" />
<?php
if (isset($_GET['theme']) and $_GET['theme'] == 'suckless') { ?>
<link rel="stylesheet" href="css/suckless.css" />
<?php } ?>
<!-- Javascript files. -->
<script defer src="js/main.js"></script>
<script defer src="js/shortcuts.js"></script>
<script defer src="js/confetti.js"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Person",
"honorificPrefix": "Mr",
"name": "David Álvarez Rosa",
"image": "https://david.alvarezrosa.com/img/portrait.png",
"jobTitle": "Mathematics and Industrial Engineering graduate",
"disambiguatingDescription": "Mathematics and Industrial Engineering graduate",
"alumniOf": "Polytechnic University of Catalonia",
"affiliation": "Polytechnic University of Catalonia",
"birthPlace": "Navarre, Spain",
"birthDate": "1998-10-10",
"gender": "male",
"memberOf": "Driverless UPC - ETSEIB Motorsport",
"nationality": "Spanish",
"url": "https://david.alvarezrosa.com/",
"knowsLanguage": ["es", "en", "cat"],
"sameAs": [
"https://www.linkedin.com/in/david-alvarez-rosa",
"https://gitlab.com/david-alvarez-rosa",
"https://github.com/david-alvarez-rosa"
]
}
</script>
</head>
<body class="preload">
<?php
$currentSite = '';
$sections = [
['name' => 'Information', 'icon' => 'fas fa-info-circle'],
['name' => 'Disclaimer', 'icon' => 'fas fa-exclamation-triangle'],
['name' => 'Get In Touch', 'icon' => 'fas fa-fingerprint']
];
include 'resources/bodyPreMain.php';
include 'resources/functions.php';
?>
<!-- Main. -->
<main>
<div id="initial">
<p class="fadeIn" style="float: left;">
This website does not (and won't ever) use cookies. I value your
privacy.
</p>
<div id="selectLanguage">
<button id="dropButton">
LANG <i class="fas fa-caret-down"></i>
</button>
<div id="languages">
<a href="." title="David Álvarez Rosa's personal website.">ENG</a>
<a href="./es" title="Página web personal de David Álvarez Rosa.">ES</a>
</div>
</div>
<div class="clear"></div>
</div>
<!-- Section information. -->
<section class="hidden">
<?php sectionHeader(); ?>
<a href="img/portrait.png"
title="David Álvarez Rosa headshot portrait.">
<img id="portrait" src="img/portrait_low.png"
alt="David Álvarez Rosa headshot portrait." />
</a>
<p>
Welcome to my website! My name is David and I am a Mathematics and
Industrial Technology Engineering graduate from UPC (BarcelonaTech),
currently studying the M.Sc. in Advanced Mathematics from UNED.
</p>
<p>
This site is intended to be a web version of my
<a href="pdf/cv-david-alvarez-rosa.pdf#view=Fit"
title="My personal Curriculum Vitae.">
curriculum vitae</a>
and be my corner on the Internet. I have designed this website myself
from scratch, if you're curious, you can take a look at the
<a href="https://gitlab.com/david-alvarez-rosa/personal-website"
title="Personal website source code - Gitlab.">
source code <i class="fas fa-external-link-alt"></i></a>.
</p>
<p>
Below is some basic information about me.
</p>
<div id="personalData">
<a href="javascript:showInfo('infoEmail');"
title="Show my personal email.">
<div class="data">
<i class="fas fa-at"></i>
<p>Email</p>
<div class="dataUnder">
<i class="fas fa-at"></i>
<p>Show email</p>
</div>
</div>
</a>
<a href="javascript:showInfo('infoPhone');"
title="Call me.">
<div class="data">
<i class="fas fa-phone"></i>
<p>Phone</p>
<div class="dataUnder">
<i class="fas fa-phone"></i>
<p>Show number</p>
</div>
</div>
</a>
<a href="pdf/cv-david-alvarez-rosa.pdf#view=Fit"
title="My personal Curriculum Vitae.">
<div class="data">
<i class="fas fa-file-alt"></i>
<p>CV</p>
<div class="dataUnder">
<i class="fas fa-file-alt"></i>
<p>Show CV</p>
</div>
</div>
</a>
<a href="javascript:showInfo('infoAddress');"
title="My personal address.">
<div class="data">
<i class="fas fa-envelope"></i>
<p>Address</p>
<div class="dataUnder">
<i class="fas fa-envelope"></i>
<p>Show address</p>
</div>
</div>
</a>
<div class="data">
<i class="fas fa-map-marker-alt"></i>
<p>Location</p>
<div class="dataUnder">
<i class="fas fa-map-marker-alt"></i>
<p>Barcelona</p>
</div>
</div>
<a href="."
title="David Álvarez Rosa's personal website.">
<div class="data">
<i class="fas fa-link"></i>
<p>Website</p>
<div class="dataUnder">
<i class="fas fa-link"></i>
<p>Personal web</p>
</div>
</div>
</a>
<a href="https://gitlab.com/david-alvarez-rosa"
title="Personal Gitlab page.">
<div class="data">
<i class="fab fa-gitlab"></i>
<p>Gitlab</p>
<div class="dataUnder">
<i class="fab fa-gitlab"></i>
<p>My Gitlab</p>
</div>
</div>
</a>
<div class="data">
<i class="fas fa-birthday-cake"></i>
<p>Birthday</p>
<div class="dataUnder">
<i class="fas fa-birthday-cake"></i>
<p>10/10/1998</p>
</div>
</div>
</div>
<p>
I maintain a complete
<a href="sitemap.xml"
title="Sitemap of this website.">
sitemap</a>
of the website. Main pages are:
</p>
<ul>
<li>
<a href="#" title="David Álvarez Rosa's home page.">
Home page</a>:
introductory page.
</li>
<li>
<a href="about/" title="David Álvarez Rosa's about page.">
About page</a>:
a web version of my CV.
</li>
<li>
<a href="https://blog.alvarezrosa.com"
title="David Álvarez Rosa's blog page.">
Blog page</a>:
my personal blog site.
</li>
<li>
<a href="pdf/cv-david-alvarez-rosa.pdf#view=Fit"
title="David Álvarez Rosa's curriculum vitae.">
CV</a>:
my personal curriculum vitae (.pdf).
</li>
</ul>
</section>
<!-- Section disclaimer. -->
<section class="hidden">
<?php sectionHeader(); ?>
<p>
This site is powered by free (as in <em>freedom</em>) software and
does not contain any tracking <em>malware</em>. I have designed this
website myself from scratch. The
<a href="https://gitlab.com/david-alvarez-rosa/personal-website"
title="Personal website source code - Gitlab.">
source code <i class="fas fa-external-link-alt"></i></a>
is licensed under the
<a rel="license"
href="/COPYING"
title="GNU General Public License version 3.">
GNU General Public License</a>.
</p>
<p>
Web content should conform with the
<a href="https://www.w3.org/TR/WCAG20/"
title="World Wide Web Consortium Web Content Accessibility
Guidelines (WCAG) 2.0 website">
World Wide Web Consortium Web Content Accessibility Guidelines
(WCAG) 2.0 <i class="fas fa-external-link-alt"></i></a>
initially at Level A and increasing to Level AA. However, note that I
am <strong>not</strong> a professional web developer and I have
created this website in my spare time, so there may be errors.
</p>
<p>
Except where otherwise noted, content on this website is licensed under a
<a rel="license"
href="/LICENSE"
title="Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License." >
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International</a>
license, which means that you are <strong>free too</strong>:
</p>
<ul style="margin-bottom: .25em; margin-top: -1.25em;">
<li>
<strong>Share</strong> — copy and redistribute the material in
any medium or format </li>
<li>
<strong>Adapt</strong> — remix, transform, and build upon the material
</li>
</ul>
<p>
under the <strong>following terms</strong>:
</p>
<ul style="margin-top: -1.25em;">
<li>
<strong>Attribution</strong> — You must give appropriate
credit, provide a link to the license, and indicate if changes were
made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
</li>
<li>
<strong>NonCommercial</strong> — You may not use the material
for commercial purposes.
</li>
<li>
<strong>ShareAlike</strong> — If you remix, transform, or
build upon the material, you must distribute your contributions
under the same license as the original.
</li>
<li>
<strong>No additional restrictions</strong> — You may not
apply legal terms or technological measures that legally restrict
others from doing anything the license permits.
</li>
</ul>
<p>
This is my personal website. The opinions expressed here are my own
and not those of my university or employer.
</p>
</section>
<!-- Section get in touch. -->
<?php include 'resources/getInTouch.html'; ?>
</main>
<!-- License (Creative Commons). -->
<?php include 'resources/license.php'; ?>
<!-- Footer. -->
<?php include 'resources/footer.php'; ?>
</body>
</html>
<?php
ob_end_flush();
include 'resources/cacheEnd.php';
?>