Skip to content

Commit a6459dc

Browse files
committed
feat(interests): add interests section
1 parent 5e44aa5 commit a6459dc

7 files changed

Lines changed: 157 additions & 47 deletions

File tree

index.html

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<div id="wrapper">
2424
<div id="header">
2525
<span id="actions">
26-
<button class="action"><i class="fa-solid fa-at"></i></button>
27-
<button class="action" OnClick="javascript:window.print()" title="Print"><i class="fa-solid fa-print"></i></button>
26+
<a id="email" class="action"><i class="fa-solid fa-at"></i></button>
27+
<a id="download" class="action" href="/files/resume-baptiste-meurant-en.pdf" download="baptiste-meurant.pdf"><i class="fa-solid fa-download"></i></a>
2828
</span>
2929
<span id="langs">
3030
<button class="langSelector" name="fr" title="Français"></button>
@@ -50,8 +50,8 @@ <h1 id="name">Baptiste Meurant</h1>
5050
<h2 id="contactMe" class="title"><span class="label"><i class="fa-solid fa-circle-user"></i>&nbsp;<span data-i18n="contact-me" class="i18nelement">Contact Me</span></span></h2>
5151
<ul class="inline-list flex-list">
5252
<li class="email list-item"><a href="mailto:baptiste.meurant@gmail.com" title="mail"
53-
target="new"><i class="fa-solid fa-envelope"></i></a><span class="social-link">baptiste.meurant@gmail.com</span></li>
54-
<li class="phone list-item"><i class="fa-solid fa-phone"></i><span class="social-link">(+33)6 16 98 52 71</span></li>
53+
target="new"><i class="fa-solid fa-envelope"></i></a><span class="social-link"></span></li>
54+
<li class="phone list-item"><i class="fa-solid fa-phone"></i><span class="social-link"></span></li>
5555
<li class="website list-item"><a href="https://bmeurant.github.io" title="personal website"
5656
target="new"><i class="fa-solid fa-globe"></i></a><span class="social-link">https://bmeurant.github.io</span></li>
5757
<li class="github list-item"><a href="https://github.com/bmeurant" title="@bmeurant on GitHub"
@@ -288,6 +288,8 @@ <h3 class="timeline-item-title i18nelement" data-i18n="soft-arch">Software Archi
288288
</div>
289289
</div>
290290
</li>
291+
</ul>
292+
<ul class="timeline page-break">
291293
<li class="timeline-item">
292294
<div class="timeline-item-logo">
293295
<i class="fa-regular fa-circle-dot"></i>
@@ -510,30 +512,31 @@ <h2 class="title">
510512
</ul>
511513
</div>
512514
</div>
515+
<div id="interests">
516+
<div class="section-full">
517+
<h2 class="title">
518+
<span class="label">
519+
<i class="fa-solid fa-eye"></i>&nbsp;<span data-i18n="interests" class="i18nelement">Interests</span>
520+
</span>
521+
</h2>
522+
<ul class="inline-list">
523+
<li class="interest">
524+
<i class="fa-solid fa-puzzle-piece"></i><span class="i18nelement" data-i18n="puzzles">Puzzles</span>
525+
</li>
526+
<li class="interest">
527+
<i class="fa-solid fa-music"></i><span class="i18nelement" data-i18n="music">Music</span>
528+
</li>
529+
<li class="interest">
530+
<i class="fa-solid fa-person-hiking"></i><span class="i18nelement" data-i18n="outdoor">Outdoor activities</span>
531+
</li>
532+
<li class="interest">
533+
<i class="fa-solid fa-ankh"></i><span class="i18nelement" data-i18n="egypt">Egyptian civilization</span>
534+
</li>
535+
</ul>
536+
</div>
537+
</div>
513538
</div>
514539
</div>
515540
<script type="module" src="/main.js"></script>
516-
517-
<!--
518-
<div class="skills-cat languages">
519-
<h3>Languages</h3>
520-
521-
<div class="skill">
522-
<span style="width: 100%;">French</span>
523-
</div>
524-
<div class="skill">
525-
<span style="width: 75%;">English</span>
526-
</div>
527-
<div class="skill">
528-
<span style="width: 30%;">Spanish</span>
529-
</div>
530-
</div>
531-
</div>
532-
</div>
533-
</article>
534-
</section>
535-
</div>
536-
</div-->
537-
538541
</body>
539542
</html>

main.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ function updateXP(birthdate) {
6666
document.getElementById("xpNum").innerHTML = getYears(birthdate);
6767
}
6868

69-
i18Loader(getLangFromLocale(locale));
69+
function updateDownloadPath(lang) {
70+
document.getElementById("download").href = `files/resume-baptiste-meurant-${lang}.pdf`;
71+
}
72+
73+
function updateEmail() {
74+
document.getElementById("email").href = "mailto:baptiste.meurant@gmail.com";
75+
}
76+
77+
let lang=getLangFromLocale(locale);
78+
79+
i18Loader(lang);
7080
updateAge("01/17/1980");
71-
updateXP("10/01/2005");
81+
updateXP("10/01/2005");
82+
updateDownloadPath(lang);
83+
updateEmail();
353 KB
Binary file not shown.
354 KB
Binary file not shown.

public/translations/en.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,17 @@
6565
"translations-desc": "Contribution to the <strong>french translation of <a href=\"https://github.com/progit/progit2-fr/commits?author=bmeurant\">Git probook v2</a></strong>.<br>Translation of an article about<a href=\"https://www.infoq.com/fr/articles/ember-en-entreprise\"> emberjs in enterprise on InfoQ</a>",
6666
"articles": "Articles & Tutorials",
6767
"articles-desc": "<a href=\"http://baptiste-meurant.developpez.com/\">Spring, Tapestry & Hibernate tutorials</a> (in french), <a href=\"https://cwiki.apache.org/confluence/display/TAPESTRY5/Tapstry5First+project+with+Tapestry5%2C+Spring+and+Hibernate\">translated</a> by the Apache Tapestry team, <a href=\"http://putaindecode.io/fr/articles/js/ember/\"><strong>articles about ember</strong></a>(in french) and <a href=\"https://medium.com/@bmeurant/enhance-your-ember-apps-with-fastboot-b693f1a66793\">SPA</a>. Various contributions on <a href=\"https://blog.worldline.tech/authors/#baptiste-meurant\">Worldline Tech Blog</a>",
68+
"languages": "Languages",
6869
"french": "French",
6970
"english": "English",
7071
"spanish": "Spanish",
7172
"lvl-mother-tongue": "Mother tongue",
7273
"lvl-proficient-c1": "Proficient (C1)",
7374
"lvl-intermediate": "Intermediate",
74-
"lvl-learning": "Learning"
75+
"lvl-learning": "Learning",
76+
"interests": "Interests",
77+
"puzzles": "puzzles, especially the more complex ones",
78+
"music": "music, occasional singing lessons",
79+
"outdoor": "outdoor activities, hikes, trips",
80+
"egypt": "passion for ancient Egypt, learning hieroglyphic Egyptian"
7581
}

public/translations/fr.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,17 @@
6565
"translations-desc": "Contribution à la <strong>traduction française de <a href=\"https://github.com/progit/progit2-fr/commits?author=bmeurant\">Git probook v2</a></strong>.<br>Traduction d'un article à propos<a href=\"https://www.infoq.com/fr/articles/ember-en-entreprise\"> ember en enterprise sur InfoQ</a>",
6666
"articles": "Articles & Tutoriels",
6767
"articles-desc": "<a href=\"http://baptiste-meurant.developpez.com/\">Tutoriels Spring, Tapestry & Hibernate</a>, <a href=\"https://cwiki.apache.org/confluence/display/TAPESTRY5/Tapstry5First+project+with+Tapestry5%2C+Spring+and+Hibernate\">traduits en anglais</a> par l'équipe Tapestry, <a href=\"http://putaindecode.io/fr/articles/js/ember/\"><strong>articles à propos d'ember</strong></a> et des <a href=\"https://medium.com/@bmeurant/enhance-your-ember-apps-with-fastboot-b693f1a66793\">SPAs</a>. Contributions diverses au <a href=\"https://blog.worldline.tech/authors/#baptiste-meurant\">blog technique Worldline</a>",
68+
"languages": "Langues",
6869
"french": "Français",
6970
"english": "Anglais",
7071
"spanish": "Espagnol",
7172
"lvl-mother-tongue": "Langue maternelle",
7273
"lvl-proficient-c1": "Professionnel (C1)",
7374
"lvl-intermediate": "Intermédiaire",
74-
"lvl-learning": "En apprentissage"
75+
"lvl-learning": "En apprentissage",
76+
"interests": "centres d'intérêts",
77+
"puzzles": "puzzles, en particulier les plus complexes",
78+
"music": "musique, cours de chant occasionnels",
79+
"outdoor": "activités en extérieur, randonnées, voyages",
80+
"egypt": "passion pour l'Egypte ancienne, apprentissage de l'égyptien hieroglyphique"
7581
}

styles/resume.scss

Lines changed: 100 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ body {
297297
display: none;
298298
}
299299

300-
.email, .website, .phone {
300+
.email, .phone {
301301
display: none;
302302
}
303303
}
@@ -550,7 +550,7 @@ body {
550550
}
551551

552552
.language {
553-
width: 45%;
553+
width: 40%;
554554
margin: 0 0.5rem;
555555
margin-top: 0.5rem;
556556
text-align: center;
@@ -574,7 +574,7 @@ body {
574574
text-indent: 100%;
575575
white-space: nowrap;
576576
overflow: hidden;
577-
background-image: url("/public/images/mdw-ntr.png");
577+
background-image: url("/images/mdw-ntr.png");
578578
background-repeat: no-repeat;
579579
background-size: contain;
580580
font-size: 1em;
@@ -587,6 +587,22 @@ body {
587587
}
588588
}
589589

590+
#interests {
591+
font-size: 0.9rem;
592+
593+
.inline-list {
594+
padding-left: 1.5rem;
595+
}
596+
597+
.interest {
598+
i {
599+
padding-right: 0.5rem;
600+
width: 0.8rem;
601+
color: $strong-emphasize-color;
602+
}
603+
}
604+
}
605+
590606
@media screen and (max-width: 450px) {
591607

592608
#profile {
@@ -791,7 +807,6 @@ body {
791807

792808
.section-light {
793809
line-height: 1.2;
794-
margin-top: 1rem;
795810
}
796811
}
797812

@@ -807,6 +822,8 @@ body {
807822

808823
@media screen and (min-width: 992px) {
809824
#resume {
825+
justify-content: space-between;
826+
810827
& > * {
811828
padding-bottom: 0.5em;
812829
}
@@ -873,7 +890,16 @@ body {
873890
width: 25%;
874891
}
875892
}
876-
}
893+
894+
#languages {
895+
width: 55%;
896+
}
897+
898+
#interests {
899+
width: 40%;
900+
}
901+
902+
}
877903

878904
@media screen and (min-width: 1200px) {
879905

@@ -908,7 +934,7 @@ body {
908934

909935
.section-full {
910936
& > .title {
911-
font-size: 0.7rem;
937+
font-size: 0.8rem;
912938
}
913939
}
914940

@@ -938,6 +964,7 @@ body {
938964
box-shadow: none;
939965
padding-top: 0;
940966
padding-bottom: 0;
967+
justify-content: space-between;
941968

942969
& > * {
943970
padding: 0.3rem 0.5rem;
@@ -975,7 +1002,7 @@ body {
9751002
}
9761003

9771004
#description {
978-
font-size: 0.7rem;
1005+
font-size: 0.8rem;
9791006
margin: 0.5rem 0 0;
9801007
}
9811008
}
@@ -994,6 +1021,7 @@ body {
9941021
order: 3;
9951022
font-size: 0.7rem;
9961023
margin: 0.25rem 0;
1024+
width: 100%;
9971025

9981026
.title {
9991027
font-size: 0.7rem;
@@ -1043,33 +1071,41 @@ body {
10431071
}
10441072

10451073
#skills {
1074+
#main-skills {
1075+
margin-bottom: 0.5rem;
1076+
}
1077+
10461078
.skill-name, .skill-exp {
1047-
font-size: 0.6rem;
1079+
font-size: 0.65rem;
10481080
}
10491081

10501082
.section-light {
1051-
margin-top: 0;
1052-
line-height: 0.4;
1083+
margin-top: 0.5rem;
1084+
margin-bottom: 0.5rem;
1085+
line-height: 1;
1086+
1087+
i {
1088+
width: 0.5rem;
1089+
}
10531090

10541091
.title {
10551092
font-size: 0.6em;
1056-
width: 25%;
10571093
}
10581094
}
10591095

10601096
.skill-list {
1061-
margin-left: 0;
1062-
font-size: 0.6em;
1097+
font-size: 0.7em;
1098+
display: block;
10631099
}
10641100

10651101
.flex-list {
10661102
height: 115px;
10671103
text-align: center;
10681104
display: block;
1069-
margin-bottom: 0.2rem;
1105+
margin-bottom: 0.8rem;
10701106

10711107
.list-item {
1072-
font-size: 0.65rem;
1108+
font-size: 0.7rem;
10731109
text-align: left;
10741110
width: 22%;
10751111
margin: 0 0.5rem;
@@ -1092,7 +1128,7 @@ body {
10921128
}
10931129

10941130
.timeline-item-content {
1095-
margin: 0.3rem 0;
1131+
margin: 0.45rem 0;
10961132
}
10971133

10981134
.timeline-item-date-content {
@@ -1130,7 +1166,7 @@ body {
11301166
.timeline-item-content-body {
11311167
order: 5;
11321168
margin-top: 0.2rem;
1133-
font-size: 0.6rem;
1169+
font-size: 0.7rem;
11341170
}
11351171

11361172
.timeline-item-sub-titles {
@@ -1166,12 +1202,59 @@ body {
11661202
}
11671203

11681204
#projects {
1205+
margin-top: 0.7rem;
1206+
11691207
.flex-list {
11701208
flex-direction: row;
11711209
flex-wrap: wrap;
11721210
justify-content: space-around;
11731211
align-items: normal;
11741212
}
11751213
}
1214+
1215+
#education {
1216+
.timeline {
1217+
.timeline-item-title {
1218+
font-size: 0.9rem;
1219+
}
1220+
1221+
.timeline-item-content {
1222+
margin-top: 0;
1223+
}
1224+
}
1225+
}
1226+
1227+
#languages {
1228+
1229+
.flex-list {
1230+
margin-top: 0;
1231+
margin-bottom: 0.3rem;
1232+
}
1233+
1234+
.language {
1235+
width: auto;
1236+
1237+
.pie {
1238+
--b: 6px;
1239+
width: 75px;
1240+
font-size: 17px;
1241+
}
1242+
1243+
.title {
1244+
font-size: 0.75rem;
1245+
}
1246+
1247+
.level {
1248+
font-size: 0.65rem;
1249+
margin-top: 0.3rem;
1250+
}
1251+
}
1252+
}
1253+
1254+
#interests {
1255+
.inline-list {
1256+
font-size: 0.7rem;
1257+
}
1258+
}
11761259
}
11771260

0 commit comments

Comments
 (0)