first version of switch button for language

This commit is contained in:
asus
2024-05-27 17:12:30 +02:00
parent e21e5b8938
commit d545c2ef28
2 changed files with 131 additions and 50 deletions

View File

@@ -19,6 +19,7 @@
<link href="./styles/elements/projects.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/cv.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/infos.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/language.css" type="text/css" rel="stylesheet">
</head>
<!--
@@ -33,15 +34,15 @@
<body id="body">
<!--
maybe move this outside, so that i can change my mind to put it or not wihtout having to change the grid rows height ?
or else, if all rows can be the same, like 1fr or auto, it will also works
-->
<div class="language">
<input type="checkbox" id="language">
<label for="language"><span id="fr">fr</span><span id="en">en</span></label>
</div>
<div id="top_banner" class="banner banner_size_0 banner_speed_50 banner_reverse grid_full_width" aria-label="banner delimitation in ASCII art"></div>
<!--
HERO SECTION
-->
@@ -78,40 +79,112 @@
<details class="cv margin_top_big">
<summary>
<h2 class="close">voir le CV</h2>
<h2 class="open">cacher le CV</h2>
<h2 class="close">
<span class="fr">voir le CV</span>
<span class="en">see the CV</span>
</h2>
<h2 class="open">
<span class="fr">cacher le CV</span>
<span class="en">hide the CV</span>
</h2>
</summary>
<a id="cv_download" class="margin_bottom_big" href="docs/hugo_lamy_cv_2024.pdf" target="_blank" rel="noopener noreferrer" title="link to a pdf version of this section CV">télécharger en pdf</a>
<h2>COMPÉTENCES</h2>
<a id="cv_download" class="margin_bottom_big" href="docs/hugo_lamy_cv_2024.pdf" target="_blank" rel="noopener noreferrer" title="link to a pdf version of this section CV">
<span class="fr">télécharger en pdf</span>
<span class="en">download in pdf</span>
</a>
<h2>
<span class="fr">COMPÉTENCES</span>
<span class="en">SKILLS</span>
</h2>
<ul>
<li>Langages : C, C++, bash, JavaScript, PHP, CSS, HTML</li>
<li>Technologies : Node.js, Git, Gitaction, Docker, Wordpress, Nginx, MariaDB, Nest.js, Svelte, WebSocket, Express, npm, react</li>
<li>Plus : emails, sending emails, receiving emails, deleting emails (the it crowd S01E01)</li>
<li>Autres : magie, vélo, noeuds, mathématiques, politique</li>
<li>
<span class="fr">Langages : C, C++, bash, JavaScript, PHP, CSS, HTML</span>
<span class="en">Languages : C, C++, bash, JavaScript, PHP, CSS, HTML</span>
</li>
<li>
<span class="fr">Technologies : Node.js, Git, Gitaction, Docker, Wordpress, Nginx, MariaDB, Nest.js, Svelte, WebSocket, Express, npm, react</span>
<span class="en">Technologies : Node.js, Git, Gitaction, Docker, Wordpress, Nginx, MariaDB, Nest.js, Svelte, WebSocket, Express, npm, react</span>
</li>
<li>
<span class="fr">Plus : emails, sending emails, receiving emails, deleting emails (the it crowd S01E01)</span>
<span class="en">Plus : emails, sending emails, receiving emails, deleting emails (the it crowd S01E01)</span>
</li>
<li>
<span class="fr">Autres : magie, vélo, noeuds, mathématiques, politique</span>
<span class="en">Other : magie, vélo, noeuds, mathématiques, politique</span>
</li>
</ul>
<h2>EXPÉRIENCES</h2>
<h2>
<span class="fr">EXPÉRIENCES</span>
<span class="en">EXPÉRIENCES</span>
</h2>
<ul>
<li><a href="https://www.carteprof.org" target="_blank" rel="noopener noreferrer" title="link to carteprof website"></a>, 2021 : Backend, plugin wordpress, authentification, sessions, paiements, roles et bdd</li>
<li><a href="https://www.bloc-house.org" target="_blank" rel="noopener noreferrer" title="link to bloc-house website"></a>, 2021 : Full-stack, reprise dun site en php et javascript</li>
<li><a href="https://2022.lejourdesprofs.org/#programme" target="_blank" rel="noopener noreferrer" title="link to lejourdesprofs website"></a>, 2022 : Backend, plugin WordPress API GoogleMaps</li>
<li><a href="https://kosmopolit.bitbucket.io" target="_blank" rel="noopener noreferrer" title="link to kosmopolit website"></a>, 2021 : Front-end, intégration en css atomique statique</li>
<li><a href="https://www.carteprof.org" target="_blank" rel="noopener noreferrer" title="link to carteprof website"></a>
<span class="fr">, 2021 : Backend, plugin wordpress, authentification, sessions, paiements, roles et bdd</span>
<span class="en">, 2021 : Backend, plugin wordpress, authentification, sessions, paiements, roles et bdd</span>
</li>
<li><a href="https://www.bloc-house.org" target="_blank" rel="noopener noreferrer" title="link to bloc-house website"></a>
<span class="fr">, 2021 : Full-stack, reprise dun site en php et javascript</span>
<span class="en">, 2021 : Full-stack, reprise dun site en php et javascript</span>
</li>
<li><a href="https://2022.lejourdesprofs.org/#programme" target="_blank" rel="noopener noreferrer" title="link to lejourdesprofs website"></a>
<span class="fr">, 2022 : Backend, plugin WordPress API GoogleMaps</span>
<span class="en">, 2022 : Backend, plugin WordPress API GoogleMaps</span>
</li>
<li><a href="https://kosmopolit.bitbucket.io" target="_blank" rel="noopener noreferrer" title="link to kosmopolit website"></a>
<span class="fr">, 2021 : Front-end, intégration en css atomique statique</span>
<span class="en">, 2021 : Front-end, intégration en css atomique statique</span>
</li>
</ul>
<h2>FORMATION INFORMATIQUE</h2>
<h2>
<span class="fr">FORMATION INFORMATIQUE</span>
<span class="en">FORMATION INFORMATIQUE</span>
</h2>
<ul>
<li>École 42, Paris, 2021-2022, tronc commun - niveau 10 (C, C++, système, algorithime, réseaux)</li>
<li>SIMPLON, développeur full-stack JavaScript, 2018 (Javascript, Node.js, React.js, HTML, CSS)</li>
<li>
<span class="fr">École 42, Paris, 2021-2022, tronc commun - niveau 10 (C, C++, système, algorithime, réseaux)</span>
<span class="en">École 42, Paris, 2021-2022, tronc commun - niveau 10 (C, C++, système, algorithime, réseaux)</span>
</li>
<li>
<span class="fr">SIMPLON, développeur full-stack JavaScript, 2018 (Javascript, Node.js, React.js, HTML, CSS)</span>
<span class="en">SIMPLON, développeur full-stack JavaScript, 2018 (Javascript, Node.js, React.js, HTML, CSS)</span>
</li>
</ul>
<h2>FORMATION ARCHITECTURE</h2>
<h2>
<span class="fr">FORMATION ARCHITECTURE</span>
<span class="en">FORMATION ARCHITECTURE</span>
</h2>
<ul>
<li>Master 1, ENSAPM, ESA, ENSAV, île-de-france, France, 2008-2014</li>
<li>3 stages : PERSPECTIVA (Houston, Texas, 2009, 3 mois), AS (Paris, 2012, 6 mois), JC QUINTON (Paris 2014, 6 mois)</li>
<li>
<span class="fr">Master 1, ENSAPM, ESA, ENSAV, île-de-france, France, 2008-2014</span>
<span class="en">Master 1, ENSAPM, ESA, ENSAV, île-de-france, France, 2008-2014</span>
</li>
<li>
<span class="fr">3 stages : PERSPECTIVA (Houston, Texas, 2009, 3 mois), AS (Paris, 2012, 6 mois), JC QUINTON (Paris 2014, 6 mois)</span>
<span class="en">3 stages : PERSPECTIVA (Houston, Texas, 2009, 3 mois), AS (Paris, 2012, 6 mois), JC QUINTON (Paris 2014, 6 mois)</span>
</li>
</ul>
<h2>ENGAGEMENT ASSOCIATIF</h2>
<h2>
<span class="fr">ENGAGEMENT ASSOCIATIF</span>
<span class="en">ENGAGEMENT ASSOCIATIF</span>
</h2>
<ul>
<li>Vulgarisation et recherche contraception testiculaire, ZEROMILLIONS, Paris, France, 2021-2024</li>
<li>Aide au logement, travail, administratif, et projets de vie de personnes précaires, 2018-2024</li>
<li>Distribution de nourriture, MIGRANTS-WILSON & SECOURS POPULAIRE, 2020-2022</li>
<li>Cogestion des bénévoles d'un camp de réfugiés, UTOPIA 56, Grande-Synthe, France, 2016</li>
<li>
<span class="fr">Vulgarisation et recherche contraception testiculaire, ZEROMILLIONS, Paris, France, 2021-2024</span>
<span class="en">Vulgarisation et recherche contraception testiculaire, ZEROMILLIONS, Paris, France, 2021-2024</span>
</li>
<li>
<span class="fr">Aide au logement, travail, administratif, et projets de vie de personnes précaires, 2018-2024</span>
<span class="en">Aide au logement, travail, administratif, et projets de vie de personnes précaires, 2018-2024</span>
</li>
<li>
<span class="fr">Distribution de nourriture, MIGRANTS-WILSON & SECOURS POPULAIRE, 2020-2022</span>
<span class="en">Distribution de nourriture, MIGRANTS-WILSON & SECOURS POPULAIRE, 2020-2022</span>
</li>
<li>
<span class="fr">Cogestion des bénévoles d'un camp de réfugiés, UTOPIA 56, Grande-Synthe, France, 2016</span>
<span class="en">Cogestion des bénévoles d'un camp de réfugiés, UTOPIA 56, Grande-Synthe, France, 2016</span>
</li>
</ul>
</details>
@@ -192,26 +265,6 @@
</figure>
</div>
<!--
<article class="project">
<p>description</p>
<img src="./docs/projects/fdf_pyramide_2.gif"/>
<img src="./docs/projects/fdf_demo.gif"/>
</article>
<article class="project">
<p>description</p>
<img src="./docs/projects/cube3d_raycasting.gif"/>
<img src="./docs/projects/cube3d_image.gif"/>
</article>
<article class="project">
<p>description</p>
<img src="./docs/projects/ljdp_map_clusters.gif"/>
<img src="./docs/projects/ljdp_map_filters.gif"/>
</article>
-->
<div class="mouse"><div class="frames mouse_2 pre"></div></div>
<div class="banner banner_size_3 banner_speed_20 banner_reverse grid_full_width" aria-label="banner delimitation in ASCII art"></div>

View File

@@ -0,0 +1,28 @@
.language {
position: fixed;
margin: 100px;
}
.language input {
display: none;
}
.language input:not(:checked) + label #fr {
display: inline;
}
.language input:not(:checked) + label #en {
display: none;
}
.language:has(input:not(:checked)) ~ * span.en {
display: none;
}
.language input:checked + label #fr {
display: none;
}
.language input:checked + label #en {
display: inline;
}
.language:has(input:checked) ~ * span.fr {
display: none;
}