Compare commits
1 Commits
feat/v13-b
...
feat/v13-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e90a7e12ef |
10
package-lock.json
generated
10
package-lock.json
generated
@@ -10,6 +10,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^10.1.0",
|
"@astrojs/node": "^10.1.0",
|
||||||
"@astrojs/vue": "^6.0.1",
|
"@astrojs/vue": "^6.0.1",
|
||||||
|
"@fontsource-variable/roboto-condensed": "^5.2.8",
|
||||||
"@tailwindcss/vite": "^4.2.4",
|
"@tailwindcss/vite": "^4.2.4",
|
||||||
"@types/d3": "^7.4.3",
|
"@types/d3": "^7.4.3",
|
||||||
"astro": "^6.3.1",
|
"astro": "^6.3.1",
|
||||||
@@ -1064,6 +1065,15 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@fontsource-variable/roboto-condensed": {
|
||||||
|
"version": "5.2.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fontsource-variable/roboto-condensed/-/roboto-condensed-5.2.8.tgz",
|
||||||
|
"integrity": "sha512-aIZ2kYSoJHkTI4z8x/PRgKX6Zb9TTtSE/u+fUYeiwL+5trP9rhYYEEeNjRttaMqRgoDHcSueArdRZ43wf/i2Kw==",
|
||||||
|
"license": "OFL-1.1",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ayuhito"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@img/colour": {
|
"node_modules/@img/colour": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^10.1.0",
|
"@astrojs/node": "^10.1.0",
|
||||||
"@astrojs/vue": "^6.0.1",
|
"@astrojs/vue": "^6.0.1",
|
||||||
|
"@fontsource-variable/roboto-condensed": "^5.2.8",
|
||||||
"@tailwindcss/vite": "^4.2.4",
|
"@tailwindcss/vite": "^4.2.4",
|
||||||
"@types/d3": "^7.4.3",
|
"@types/d3": "^7.4.3",
|
||||||
"astro": "^6.3.1",
|
"astro": "^6.3.1",
|
||||||
|
|||||||
@@ -1,52 +1,80 @@
|
|||||||
---
|
---
|
||||||
// SiteHeader.astro - V1.2-M : bandeau header pleine largeur identite site
|
// SiteHeader.astro - V1.3-C : header 1 ligne fine, liens cliquables, phrase intention Roboto Condensed
|
||||||
// Palette terre figee : papier #FAFAF7, encre #0F172A, encre douce #475569
|
// Palette V1.3 figee : papier #FAFAF7, encre #0F172A, encre douce #475569, border #E5E7EB
|
||||||
// Composition retenue : 2 lignes hierarchique
|
// Composition :
|
||||||
// ligne 1 : "Trans-Former" wordmark dominant (semibold tracking serre)
|
// Desktop (>= md) : 1 ligne ~44px - Trans-Former | Jules Neny | architecture d'ecologie politique [phrase intention right-aligned, Roboto Condensed]
|
||||||
// ligne 2 : "Jules Neny" + baseline italique cote a cote (separateur point median)
|
// Mobile (< md) : 2 lignes compactes - ligne 1 Trans-Former / ligne 2 Jules Neny . AEP (cliquables) - phrase intention masquee
|
||||||
// Rationale : le wordmark domine sans ecraser ; la baseline reste lisible ;
|
// Liens :
|
||||||
// composition adaptee a un manifeste (hierarchie typographique forte).
|
// Trans-Former -> /
|
||||||
// Hauteur : ~64px desktop / ~48px mobile (compacte)
|
// Jules Neny -> /a-propos
|
||||||
// Baseline raccourcie mobile : "architecture politique du vivant"
|
// architecture d'ecologie politique -> https://aep.trans-former.fr (same-tab, site frere coherent)
|
||||||
|
// Typo phrase intention : Roboto Condensed Variable @fontsource (weight 400, font-stretch 75%)
|
||||||
|
import '@fontsource-variable/roboto-condensed/wght.css';
|
||||||
---
|
---
|
||||||
<header
|
<header
|
||||||
class="site-header w-full border-b border-[#E5E7EB] bg-[#FAFAF7] text-[#0F172A] px-4 md:px-6 flex items-center"
|
class="site-header w-full border-b border-[#E5E7EB] bg-[#FAFAF7] text-[#0F172A] px-4 md:px-6 flex items-center"
|
||||||
role="banner"
|
role="banner"
|
||||||
>
|
>
|
||||||
<a
|
<!-- Bloc identite (gauche) -->
|
||||||
href="/"
|
<nav
|
||||||
class="flex flex-col md:flex-row md:items-baseline gap-x-3 gap-y-0 no-underline text-[#0F172A] hover:text-[#0F172A]"
|
class="flex flex-col md:flex-row md:items-baseline gap-x-2 gap-y-0.5 flex-shrink-0"
|
||||||
aria-label="trans-former.fr - retour accueil"
|
aria-label="identite site"
|
||||||
>
|
>
|
||||||
<!-- Ligne 1 : wordmark dominant -->
|
<!-- Ligne 1 desktop = wordmark inline ; mobile = ligne dediee -->
|
||||||
<span
|
<a
|
||||||
class="font-semibold tracking-tight text-[#0F172A] text-[17px] md:text-[20px] leading-none"
|
href="/"
|
||||||
|
class="font-semibold tracking-tight text-[#0F172A] hover:text-[#0F172A] text-[15px] md:text-[16px] leading-none no-underline hover:underline underline-offset-2 decoration-1"
|
||||||
|
aria-label="trans-former.fr - accueil"
|
||||||
>
|
>
|
||||||
Trans-Former
|
Trans-Former
|
||||||
</span>
|
</a>
|
||||||
|
|
||||||
<!-- Ligne 2 (desktop : inline ; mobile : sous wordmark) : Jules Neny + baseline -->
|
<!-- Bloc secondaire : Jules Neny . AEP (mobile : ligne 2 ; desktop : inline) -->
|
||||||
<span class="flex items-baseline gap-2 text-[#475569] leading-none">
|
<span class="flex items-baseline gap-1.5 text-[#475569] leading-none">
|
||||||
<span class="text-[11px] md:text-[13px]">Jules Neny</span>
|
<span class="text-[#94A3B8] hidden md:inline" aria-hidden="true">·</span>
|
||||||
|
<a
|
||||||
|
href="/a-propos"
|
||||||
|
class="text-[12px] md:text-[13px] text-[#475569] hover:text-[#0F172A] no-underline hover:underline underline-offset-2 decoration-1"
|
||||||
|
>
|
||||||
|
Jules Neny
|
||||||
|
</a>
|
||||||
<span class="text-[#94A3B8]" aria-hidden="true">·</span>
|
<span class="text-[#94A3B8]" aria-hidden="true">·</span>
|
||||||
<!-- Baseline longue : desktop / Baseline courte : mobile -->
|
<a
|
||||||
<span class="italic text-[11px] md:text-[13px] hidden sm:inline">
|
href="https://aep.trans-former.fr"
|
||||||
architecture d'ecologie politique
|
class="text-[12px] md:text-[13px] text-[#475569] hover:text-[#0F172A] no-underline hover:underline underline-offset-2 decoration-1"
|
||||||
</span>
|
>
|
||||||
<span class="italic text-[11px] inline sm:hidden">
|
architecture d'écologie politique
|
||||||
architecture politique du vivant
|
</a>
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Phrase intention (droite, desktop only) - Roboto Condensed allongee -->
|
||||||
|
<p
|
||||||
|
class="intention hidden md:block ml-auto pl-6 text-right text-[#475569] text-[11px] leading-tight max-w-[55%]"
|
||||||
|
>
|
||||||
|
Comment créer une pratique systémique, créative et collective de transformation sociale pour répondre à l'effondrement et restaurer notre capacité à habiter la Terre dans l'Anthropocène ?
|
||||||
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.site-header {
|
.site-header {
|
||||||
height: 48px;
|
height: 44px;
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) {
|
@media (max-width: 767px) {
|
||||||
.site-header {
|
.site-header {
|
||||||
height: 64px;
|
height: auto;
|
||||||
|
min-height: 48px;
|
||||||
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Phrase intention : Roboto Condensed Variable, font-stretch 75% (allongement vertical condense)
|
||||||
|
Cantonnee a .intention pour eviter contagion stack Inter */
|
||||||
|
.intention {
|
||||||
|
font-family: 'Roboto Condensed Variable', 'Roboto Condensed', sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
font-stretch: 75%;
|
||||||
|
font-style: italic;
|
||||||
|
letter-spacing: 0.01em;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user