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
+10
View File
@@ -81,6 +81,7 @@
<section id="cv_section" class="section">
<header>
<!-- prettier-ignore -->
<a href="/#cv_section" class="heading_link">
<h1 aria-label="curriculum vitae">
<span aria-hidden="true" class="pre">
<span class="fr en">
@@ -92,6 +93,7 @@
</span>
</span>
</h1>
</a>
</header>
<!--
@@ -147,10 +149,12 @@
-->
<div class="cv">
<a href="/#skills" class="heading_link">
<h2 class="dashed" id="skills">
<span class="fr">COMPÉTENCES</span>
<span class="en" lang="en">SKILLS</span>
</h2>
</a>
<ul class="dashed">
<li>
@@ -201,10 +205,12 @@
</li>
</ul>
<a href="/#experience" class="heading_link">
<h2 class="dashed" id="experience">
<span class="fr">EXPÉRIENCE</span>
<span class="en" lang="en">EXPERIENCE</span>
</h2>
</a>
<ul class="dashed">
<li>
@@ -329,10 +335,12 @@
</li>
</ul>
<a href="/#education" class="heading_link">
<h2 class="dashed" id="education">
<span class="fr">FORMATION</span>
<span class="en" lang="en">EDUCATION</span>
</h2>
</a>
<div class="dashed split_columns">
<p>
@@ -398,10 +406,12 @@
</ul>
</div>
<a href="/#cv-projects" class="heading_link">
<h2 class="dashed" id="cv-projects">
<span class="fr">PROJETS</span>
<span class="en" lang="en">PROJECTS</span>
</h2>
</a>
<ul class="dashed">
<li>
+7
View File
@@ -57,6 +57,7 @@
<header>
<!-- prettier-ignore -->
<a href="/#name" class="heading_link">
<h1 aria-label="hugo lamy" id="name" class="title">
<span aria-hidden="true" class="pre pre_small">
     
@@ -73,9 +74,11 @@
     
</span>
</h1>
</a>
</header>
<div id="development">
<a href="/#development" class="heading_link">
<!-- prettier-ignore -->
<h1 aria-label="développement" id="development_fr" class="title fr">
<span aria-hidden="true" class="pre">
@@ -85,6 +88,7 @@
                 
              
</span>
</h1>
<!-- prettier-ignore -->
<h1 aria-label="development" lang="en" id="development_en" class="title en">
<span aria-hidden="true" class="pre">
@@ -95,6 +99,7 @@
            
</span>
</h1>
</a>
<p class="subtitle">
<span class="fr">
Bonjour, je suis un développeur inventif, méthodique, et passionné par
@@ -124,6 +129,7 @@
</div>
<div id="making">
<a href="/#making" class="heading_link">
<!-- prettier-ignore -->
<h1 aria-label="fabrication" id="making_fr" class="title fr">
<span aria-hidden="true" class="pre">
@@ -144,6 +150,7 @@
         
</span>
</h1>
</a>
<p class="subtitle">
<span class="fr">
Je développe aussi dans le monde matériel : je fabrique et modifie des
+4
View File
@@ -39,6 +39,7 @@
<section id="projects" class="section">
<header>
<a href="/#projects" class="heading_link">
<!-- prettier-ignore -->
<h1 aria-label="projets" class="fr">
<span aria-hidden="true" class="pre">
@@ -59,6 +60,7 @@
        
</span>
</h1>
</a>
</header>
<div class="">
@@ -74,10 +76,12 @@
></a>
</div>
<a href="/#examples" class="heading_link">
<h2 id="examples">
<span class="fr">Quelques exemples de projets :</span>
<span class="en" lang="en">Some project examples :</span>
</h2>
</a>
<div class="projects_grid">
<figure class="project">
+8
View File
@@ -81,6 +81,14 @@ a {
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 {
font-family: "notosansmono_bold", "notomono", monospace;
/* font-weight: 900; */