-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
471 lines (398 loc) · 14 KB
/
index.html
File metadata and controls
471 lines (398 loc) · 14 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
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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My PoC projects</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<!-- <link type="text/css" rel="stylesheet" href="./css/index.css"> -->
<!-- A vertical grandiant bicolor background that take 100% of the page height from #000000 to #0000ff-->
<script type="module" src="./index.js"></script>
<style>
/* Charte graphique */
:root {
/* Couleurs principales et secondaires */
--primary-color: #4a90e2;
--secondary-color: #606060;
/* Couleurs d'arrière-plan */
--background-color: #f5f5f5;
--secondary-background-color: #d9d9d9;
/* Couleurs de texte */
--text-color: #333333;
--alternate-text-color: #dfdfdf;
--accent-color: #4a90e2;
/* Couleurs de la barre de menu */
--menu-bar-color: #455b72;
--menu-bar-selected-color: #6da6f3;
--menu-bar-hover-color: #367cd5;
--menu-bar-text-color: #ffffff;
--menu-bar-text-selected-color: #ffffff;
--menu-bar-text-hover-color: #ffffff;
/* Couleurs du pied de page */
--footer-color: #455b72;
--footer-text-color: #ffffff;
}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
/************************************
TOP NAVIGATION BAR
*************************************/
.topnav {
position: fixed;
top: 0;
left: 0;
width: 100%;
overflow: hidden;
background-color: var(--menu-bar-color);
}
.topnav a {
float: left;
display: block;
color: var(--menu-bar-text-color);
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: var(--menu-bar-hover-color);
color: var(--menu-bar-text-hover-color);
}
.topnav a.active {
background-color: var(--menu-bar-selected-color);
color: var(--menu-bar-text-selected-color);
}
.topnav .icon {
display: none;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {
position: relative;
}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}
/************************************
MAIN CONTENT
*************************************/
/* main content in the middle of the page in a large column */
.main-content {
margin-top: 50px;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 0;
padding: 0;
height: 100%;
color: var(--text-color);
}
.project-link {
color: var(--text-color);
padding: 0;
margin: 0;
border: none;
background-color: var(--secondary-background-color);
}
ul {
/* no bullet point */
list-style-type: none;
}
/* alternate color for the project logs */
.project-link table tr:nth-child(even) {
background-color: var(--secondary-color);
color: var(--alternate-text-color);
}
.project-logs {
grid-area: project-logs;
padding-left: 4px;
padding-right: 4px;
}
.project-description {
text-align: justify;
padding-left: 10px;
padding-right: 10px;
/* italic */
font-style: italic;
}
.gitlogElement {
padding: 6px;
margin: 0px;
}
.commitDate {
font-size: 0.8em;
font-weight: 400;
text-align: left;
margin: 0;
padding-right: 10px;
}
.commitMessage {
font-size: 0.8em;
font-weight: 400;
text-align: left;
margin: 0;
padding: 0;
}
@media screen and (max-width: 600px) {
.quicklook {
grid-area: quicklook;
height: 150px;
width: 100%;
padding: 0;
margin: 0;
border: none;
}
}
@media screen and (min-width: 601px) {
.main-content {
padding: 20px;
}
.project-link {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto auto;
gap: 0px 0px;
grid-template-areas:
"quicklook project-title project-title"
"quicklook project-description project-description"
"quicklook project-logs project-logs";
}
.quicklook {
grid-area: quicklook;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
border: none;
}
.project-title {
grid-area: project-title;
}
.project-description {
grid-area: project-description;
}
.project-logs {
grid-area: project-logs;
padding-left: 8px;
padding-bottom: 0;
}
}
/* Styles */
.project-selection-box {
display: flex;
background-color: var(--secondary-background-color);
color: var(--text-color);
margin: 0;
margin-bottom: 8px;
padding: 4px;
height: 100%;
width: 100%;
}
.project-selection-box a {
text-decoration: none;
color: var(--text-color);
}
.project-link {
text-decoration: none;
background-color: var(--secondary-background-color);
}
.project-title {
padding: 0;
padding: 10px;
}
.project-title-name {
font-size: 1.5em;
font-weight: 700;
text-align: center;
margin: 0;
padding: 0;
}
.project-title-version {
font-size: 1em;
font-weight: 400;
text-align: right;
margin: 0;
padding: 0;
}
.project-details {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
.project-selection-box:hover {
background-color: var(--secondary-color);
color: var(--text-color);
}
/********************************************
FOOTER
*********************************************/
/* Footer */
.footer {
background-color: var(--footer-color);
color: var(--footer-text-color);
/* Changed from #333 */
overflow: hidden;
position: sticky;
margin: 0;
padding-top: 0;
padding-left: 0;
padding-right: 0;
bottom: 0;
width: 100%;
text-align: center;
}
</style>
<script type="module" src="./index.js"></script>
</head>
<body>
<div class="topnav" id="topnavMenu">
<a href="#about" class="active">About</a>
<a href="#projects">Projects</a>
<a href="#git-public">Git socials</a>
<!-- <a href="https://gitlab.com/olivier.abrard" target="_blank">Gitlab</a>
<a href="https://github.com/revilofr" target="_blank">Github</a> -->
<a href="mailto:olivier.abrard@gmail.com">
<!-- material design icon inverted colors -->
Contact me
</a>
<a href="https://www.linkedin.com/in/olivierabrard" target="_blank">
My linkedin
</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<!-- a div to push down element that are invisible under the top menu bar-->
<div class="main-content">
<div id="about">
<h1 class="title">About this webpage</h1>
<p class="explanation">The purpose of this page is to showcase the projects I work on in my free time. Feel
free to test/use them as
you wish, respecting the licenses included in the git repositories. If you are a developer or a tech
enthusiast, don't hesitate to contact me if you have any additional questions. I will try to answer them
as
best as I can. Happy exploring!</p>
</div>
<!-- projects-->
<div id="projets">
<h1>Current projects</h1>
<div class="project-selection-box">
<a class="project-link" href="https://revilofr.github.io/solgen.html">
<iframe id="solsysgen-iframe" class="quicklook"></iframe>
<div class="project-title">
<p class="project-title-name">Solar System generator</p>
<p class="project-title-version" id="solsysgen-version"></p>
</div>
<p class="project-description">"Solar System Simulation Application. Originally, this was a didactic
blueprint project to test the capabilities of Copilot and GPT-4. It has since become a more
ambitious project aimed at simulating solar systems for your role-playing games. It is possible
to generate a system, save it, and load it.</p>
<table id="solsysgen-logs" class="project-logs">
</table>
</a>
</div>
</div>
<style>
.git-public {
padding: 0;
width: 100%;
}
.git-public.a {
text-decoration: none;
color: var(--text-color);
}
.gitsocials {
display: grid;
background-color: var(--secondary-background-color);
color: var(--text-color);
margin: 0px;
padding: 0;
grid-template-columns: 0.5fr 0.5fr 2fr;
grid-template-rows: 0.5fr 1.2fr;
gap: 0px 0px;
grid-template-areas:
"git-logo git-logo git-title"
"git-logo git-logo git-description";
/* underlined */
}
.git-logo {
grid-area: git-logo;
/* center the image */
display: block;
margin-left: auto;
margin-right: auto;
/* centrer verticalement */
margin-top: auto;
margin-bottom: auto;
}
.git-logo img {
width: 100%;
height: auto;
}
.git-title {
grid-area: git-title;
text-align: center;
}
.git-description {
grid-area: git-description;
text-align: justify;
padding: 4px;
}
</style>
<!-- todo cardboard-->
<h1>My git socials</h1>
<div class="project-selection-box">
<a href="https://gitlab.com/olivier.abrard" target="_blank" class="gitsocials">
<div class="git-logo"><img src="./images/gitlab-logo-200.png" /></div>
<h2 class="git-title">gitlab</h2>
<p class="git-description">My gitlab profile. I use it for my personal projects and for my
professional projects. As I worked a lot on gitlab for Storycraft.studio, most of it is private
but if you can find something for you, be my guest</p>
</a>
</div>
<div class="project-selection-box">
<a href="https://github.com/revilofr" target="_blank" class="gitsocials">
<div class="git-logo"><img src="./images/GitHub_Logo_White.png" /></div>
<h2 class="git-title">github</h2>
<p class=" git-description">My GitHub profile features tests, proof of concepts, and
gaming-related projects. Most of the work I do here is for fun.</p>
</a>
</div>
</div>
<!-- une partie who am I avec mon profil linked dans une barre de bas de page-->
<div class="footer">
<p>© 2023-2024 - Olivier Abrard</p>
</div>
</body>
<script>
/* Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon */
function myFunction() {
var topBarMenu = document.getElementById("topnavMenu");
if (topBarMenu.className === "topnav") {
topBarMenu.className += " responsive";
} else {
topBarMenu.className = "topnav";
}
console.log(topBarMenu.className);
}
</script>
</html>