heading clicable to add url link

This commit is contained in:
hugogogo
2026-11-19 12:25:45 +01:00
parent 9bab2347c9
commit 673ca38186
4 changed files with 49 additions and 20 deletions
+26 -16
View File
@@ -81,6 +81,7 @@
<section id="cv_section" class="section"> <section id="cv_section" class="section">
<header> <header>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<a href="/#cv_section" class="heading_link">
<h1 aria-label="curriculum vitae"> <h1 aria-label="curriculum vitae">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
<span class="fr en"> <span class="fr en">
@@ -92,6 +93,7 @@
</span> </span>
</span> </span>
</h1> </h1>
</a>
</header> </header>
<!-- <!--
@@ -147,10 +149,12 @@
--> -->
<div class="cv"> <div class="cv">
<h2 class="dashed" id="skills"> <a href="/#skills" class="heading_link">
<span class="fr">COMPÉTENCES</span> <h2 class="dashed" id="skills">
<span class="en" lang="en">SKILLS</span> <span class="fr">COMPÉTENCES</span>
</h2> <span class="en" lang="en">SKILLS</span>
</h2>
</a>
<ul class="dashed"> <ul class="dashed">
<li> <li>
@@ -201,10 +205,12 @@
</li> </li>
</ul> </ul>
<h2 class="dashed" id="experience"> <a href="/#experience" class="heading_link">
<span class="fr">EXPÉRIENCE</span> <h2 class="dashed" id="experience">
<span class="en" lang="en">EXPERIENCE</span> <span class="fr">EXPÉRIENCE</span>
</h2> <span class="en" lang="en">EXPERIENCE</span>
</h2>
</a>
<ul class="dashed"> <ul class="dashed">
<li> <li>
@@ -329,10 +335,12 @@
</li> </li>
</ul> </ul>
<h2 class="dashed" id="education"> <a href="/#education" class="heading_link">
<span class="fr">FORMATION</span> <h2 class="dashed" id="education">
<span class="en" lang="en">EDUCATION</span> <span class="fr">FORMATION</span>
</h2> <span class="en" lang="en">EDUCATION</span>
</h2>
</a>
<div class="dashed split_columns"> <div class="dashed split_columns">
<p> <p>
@@ -398,10 +406,12 @@
</ul> </ul>
</div> </div>
<h2 class="dashed" id="cv-projects"> <a href="/#cv-projects" class="heading_link">
<span class="fr">PROJETS</span> <h2 class="dashed" id="cv-projects">
<span class="en" lang="en">PROJECTS</span> <span class="fr">PROJETS</span>
</h2> <span class="en" lang="en">PROJECTS</span>
</h2>
</a>
<ul class="dashed"> <ul class="dashed">
<li> <li>
+7
View File
@@ -57,6 +57,7 @@
<header> <header>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<a href="/#name" class="heading_link">
<h1 aria-label="hugo lamy" id="name" class="title"> <h1 aria-label="hugo lamy" id="name" class="title">
<span aria-hidden="true" class="pre pre_small"> <span aria-hidden="true" class="pre pre_small">
           
@@ -73,9 +74,11 @@
           
</span> </span>
</h1> </h1>
</a>
</header> </header>
<div id="development"> <div id="development">
<a href="/#development" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="développement" id="development_fr" class="title fr"> <h1 aria-label="développement" id="development_fr" class="title fr">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
@@ -85,6 +88,7 @@
                                   
                             
</span> </span>
</h1>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="development" lang="en" id="development_en" class="title en"> <h1 aria-label="development" lang="en" id="development_en" class="title en">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
@@ -95,6 +99,7 @@
                         
</span> </span>
</h1> </h1>
</a>
<p class="subtitle"> <p class="subtitle">
<span class="fr"> <span class="fr">
Bonjour, je suis un développeur inventif, méthodique, et passionné par Bonjour, je suis un développeur inventif, méthodique, et passionné par
@@ -124,6 +129,7 @@
</div> </div>
<div id="making"> <div id="making">
<a href="/#making" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="fabrication" id="making_fr" class="title fr"> <h1 aria-label="fabrication" id="making_fr" class="title fr">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
@@ -144,6 +150,7 @@
                   
</span> </span>
</h1> </h1>
</a>
<p class="subtitle"> <p class="subtitle">
<span class="fr"> <span class="fr">
Je développe aussi dans le monde matériel : je fabrique et modifie des Je développe aussi dans le monde matériel : je fabrique et modifie des
+8 -4
View File
@@ -39,6 +39,7 @@
<section id="projects" class="section"> <section id="projects" class="section">
<header> <header>
<a href="/#projects" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="projets" class="fr"> <h1 aria-label="projets" class="fr">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
@@ -59,6 +60,7 @@
                 
</span> </span>
</h1> </h1>
</a>
</header> </header>
<div class=""> <div class="">
@@ -74,10 +76,12 @@
></a> ></a>
</div> </div>
<h2 id="examples"> <a href="/#examples" class="heading_link">
<span class="fr">Quelques exemples de projets :</span> <h2 id="examples">
<span class="en" lang="en">Some project examples :</span> <span class="fr">Quelques exemples de projets :</span>
</h2> <span class="en" lang="en">Some project examples :</span>
</h2>
</a>
<div class="projects_grid"> <div class="projects_grid">
<figure class="project"> <figure class="project">
+8
View File
@@ -81,6 +81,14 @@ a {
word-break: break-all; word-break: break-all;
} }
/* headings are wrapped in a link so that clicking them puts the
anchor in the url bar, making the direct link easy to copy */
a.heading_link {
display: block;
color: inherit;
text-decoration: none;
}
b { b {
font-family: "notosansmono_bold", "notomono", monospace; font-family: "notosansmono_bold", "notomono", monospace;
/* font-weight: 900; */ /* font-weight: 900; */