Compare commits

..
Author SHA1 Message Date
Jules Neny 1dcbe44d12 V1.5-C+BIO header lowercase + footer compact + photo bio 2026-05-13 00:47:41 +02:00
29 changed files with 211 additions and 475 deletions
-6
View File
@@ -13,7 +13,6 @@
"@astrojs/vue": "^6.0.1", "@astrojs/vue": "^6.0.1",
"@fontsource-variable/roboto-condensed": "^5.2.8", "@fontsource-variable/roboto-condensed": "^5.2.8",
"@tailwindcss/vite": "^4.2.4", "@tailwindcss/vite": "^4.2.4",
"@transformer/ui": "git+https://git.trans-former.fr/jules/design-system.git",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.3",
"astro": "^6.3.1", "astro": "^6.3.1",
"d3": "^7.9.0", "d3": "^7.9.0",
@@ -2367,11 +2366,6 @@
"vite": "^5.2.0 || ^6 || ^7 || ^8" "vite": "^5.2.0 || ^6 || ^7 || ^8"
} }
}, },
"node_modules/@transformer/ui": {
"version": "0.1.0",
"resolved": "git+https://git.trans-former.fr/jules/design-system.git#b7f4f21b7c41258d976a878a8a3c2d4ce45a2ede",
"license": "UNLICENSED"
},
"node_modules/@types/d3": { "node_modules/@types/d3": {
"version": "7.4.3", "version": "7.4.3",
"resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz", "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",
-1
View File
@@ -20,7 +20,6 @@
"@astrojs/vue": "^6.0.1", "@astrojs/vue": "^6.0.1",
"@fontsource-variable/roboto-condensed": "^5.2.8", "@fontsource-variable/roboto-condensed": "^5.2.8",
"@tailwindcss/vite": "^4.2.4", "@tailwindcss/vite": "^4.2.4",
"@transformer/ui": "git+https://git.trans-former.fr/jules/design-system.git",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.3",
"astro": "^6.3.1", "astro": "^6.3.1",
"d3": "^7.9.0", "d3": "^7.9.0",
-19
View File
@@ -4,8 +4,6 @@
# statut: gestation (draft/en cours) | edite (publie) # statut: gestation (draft/en cours) | edite (publie)
# nature: essai (texte politique) | projet (projet archi) # nature: essai (texte politique) | projet (projet archi)
# niveau: 0 (centre) | 1 (concepts force) | 2 (thematiques/projets) # niveau: 0 (centre) | 1 (concepts force) | 2 (thematiques/projets)
# problematique (optionnel) : accroche affichee au survol du node (une tension, pas une definition)
# BROUILLON MOE 29/09 : les 17 textes sont a valider par Jules
# domain (optionnel) : domaine plateforme source pour logo Brandfetch CDN # domain (optionnel) : domaine plateforme source pour logo Brandfetch CDN
# - affiche logo en bas-droite du node si zoom > 1.5x # - affiche logo en bas-droite du node si zoom > 1.5x
# - V1.2 par defaut : substack.com pour tous les essais AEP # - V1.2 par defaut : substack.com pour tous les essais AEP
@@ -18,7 +16,6 @@ centre:
niveau: 0 niveau: 0
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Diagnostiquer avant de prescrire : où le corps social bloque-t-il, et quelle aiguille le débloque ?"
resume: "Manifeste central AEP : inventer un nouveau contrat social et diagnostiquer/soigner les pathologies du corps social." resume: "Manifeste central AEP : inventer un nouveau contrat social et diagnostiquer/soigner les pathologies du corps social."
concepts_force: [] concepts_force: []
@@ -29,105 +26,90 @@ thematiques:
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Tout se tient : c'est pour ça qu'on ne répare rien en traitant les problèmes un par un."
domain: "substack.com" domain: "substack.com"
- id: "pratiques-collectives" - id: "pratiques-collectives"
label: "Pratiques collectives" label: "Pratiques collectives"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Seul, chacun a raison et reste impuissant. Qu'est-ce qui fait passer du « je » au « nous » ?"
domain: "substack.com" domain: "substack.com"
- id: "art-narration" - id: "art-narration"
label: "Art & narration" label: "Art & narration"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "On ne quitte pas un monde qu'on n'arrive pas à raconter autrement."
domain: "substack.com" domain: "substack.com"
- id: "pouvoir-domination" - id: "pouvoir-domination"
label: "Rapport au pouvoir" label: "Rapport au pouvoir"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Le pouvoir des pires n'est pas un accident : c'est une mécanique. Laquelle démonter ?"
domain: "substack.com" domain: "substack.com"
- id: "medias-critique" - id: "medias-critique"
label: "Medias & pensee critique" label: "Medias & pensee critique"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "S'informer tous les jours et comprendre de moins en moins : à qui profite le bruit ?"
domain: "substack.com" domain: "substack.com"
- id: "justice-securite" - id: "justice-securite"
label: "Justice & securite" label: "Justice & securite"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Dure pour les faibles, douce pour les puissants : punir plus, ou réparer mieux ?"
domain: "substack.com" domain: "substack.com"
- id: "sante-globale" - id: "sante-globale"
label: "Sante globale" label: "Sante globale"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Le burn-out est-il une maladie à soigner, ou le symptôme d'un travail à changer ?"
domain: "substack.com" domain: "substack.com"
- id: "agriculture" - id: "agriculture"
label: "Agriculture" label: "Agriculture"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Le sol vivant est une infrastructure à entretenir, pas un stock à vider."
domain: "substack.com" domain: "substack.com"
- id: "post-croissance" - id: "post-croissance"
label: "Post-croissance" label: "Post-croissance"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Performants jusqu'à casser : et si la robustesse valait mieux que la croissance ?"
domain: "substack.com" domain: "substack.com"
- id: "anthropocene" - id: "anthropocene"
label: "Anthropocene & effondrement" label: "Anthropocene & effondrement"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Quand tout se dérègle en même temps, que protège-t-on en premier ?"
domain: "substack.com" domain: "substack.com"
- id: "education" - id: "education"
label: "Education a la transformation" label: "Education a la transformation"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Former des esprits qui doutent, ou des rouages qui tiennent le rang ?"
domain: "substack.com" domain: "substack.com"
- id: "urbanisme" - id: "urbanisme"
label: "Urbanisme" label: "Urbanisme"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Couler du béton neuf, ou transformer ce qui est déjà là ?"
domain: "substack.com" domain: "substack.com"
- id: "geopolitique" - id: "geopolitique"
label: "Geopolitique & decolonisation" label: "Geopolitique & decolonisation"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Notre confort repose sur un empire qui n'a jamais vraiment pris fin. Qui paie l'addition ?"
domain: "substack.com" domain: "substack.com"
- id: "ia-technologie" - id: "ia-technologie"
label: "IA & technologie" label: "IA & technologie"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Un outil qui pense à notre place nous rend-il plus libres, ou plus dépendants ?"
domain: "substack.com" domain: "substack.com"
- id: "spiritualite" - id: "spiritualite"
label: "Spiritualite" label: "Spiritualite"
niveau: 2 niveau: 2
nature: essai nature: essai
statut: gestation statut: gestation
problematique: "Retrouver du sens sans retomber dans le dogme, ni dans le développement personnel."
domain: "substack.com" domain: "substack.com"
projets: projets:
@@ -136,7 +118,6 @@ projets:
niveau: 2 niveau: 2
nature: projet nature: projet
statut: gestation statut: gestation
problematique: "7,6 millions de maisons périurbaines : une impasse, ou le plus grand chantier de transformation du pays ?"
resume: "Transport, mobilite, industrie, politique - projet archi. Exemple de projet archi relie aux thematiques AEP." resume: "Transport, mobilite, industrie, politique - projet archi. Exemple de projet archi relie aux thematiques AEP."
# V1.3-D : lien explicite au noeud central (pont vision <-> pratique) # V1.3-D : lien explicite au noeud central (pont vision <-> pratique)
lien_central: true lien_central: true
+18 -35
View File
@@ -1,6 +1,6 @@
{ {
"version": "1.1", "version": "1.1",
"generatedAt": "2026-09-29T12:05:12.880Z", "generatedAt": "2026-05-12T09:28:20.972Z",
"nodes": [ "nodes": [
{ {
"id": "contrat-social-medecine-corps-social", "id": "contrat-social-medecine-corps-social",
@@ -10,8 +10,7 @@
"statut": "gestation", "statut": "gestation",
"resume": "Manifeste central AEP : inventer un nouveau contrat social et diagnostiquer/soigner les pathologies du corps social.", "resume": "Manifeste central AEP : inventer un nouveau contrat social et diagnostiquer/soigner les pathologies du corps social.",
"radius": 30, "radius": 30,
"family": "concept", "family": "concept"
"problematique": "Diagnostiquer avant de prescrire : où le corps social bloque-t-il, et quelle aiguille le débloque ?"
}, },
{ {
"id": "systemique", "id": "systemique",
@@ -22,8 +21,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Tout se tient : c'est pour ça qu'on ne répare rien en traitant les problèmes un par un."
}, },
{ {
"id": "pratiques-collectives", "id": "pratiques-collectives",
@@ -34,8 +32,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Seul, chacun a raison et reste impuissant. Qu'est-ce qui fait passer du « je » au « nous » ?"
}, },
{ {
"id": "art-narration", "id": "art-narration",
@@ -46,8 +43,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "On ne quitte pas un monde qu'on n'arrive pas à raconter autrement."
}, },
{ {
"id": "pouvoir-domination", "id": "pouvoir-domination",
@@ -58,8 +54,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Le pouvoir des pires n'est pas un accident : c'est une mécanique. Laquelle démonter ?"
}, },
{ {
"id": "medias-critique", "id": "medias-critique",
@@ -70,8 +65,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "S'informer tous les jours et comprendre de moins en moins : à qui profite le bruit ?"
}, },
{ {
"id": "justice-securite", "id": "justice-securite",
@@ -82,8 +76,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Dure pour les faibles, douce pour les puissants : punir plus, ou réparer mieux ?"
}, },
{ {
"id": "sante-globale", "id": "sante-globale",
@@ -94,8 +87,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Le burn-out est-il une maladie à soigner, ou le symptôme d'un travail à changer ?"
}, },
{ {
"id": "agriculture", "id": "agriculture",
@@ -106,8 +98,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Le sol vivant est une infrastructure à entretenir, pas un stock à vider."
}, },
{ {
"id": "post-croissance", "id": "post-croissance",
@@ -118,8 +109,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Performants jusqu'à casser : et si la robustesse valait mieux que la croissance ?"
}, },
{ {
"id": "anthropocene", "id": "anthropocene",
@@ -130,8 +120,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Quand tout se dérègle en même temps, que protège-t-on en premier ?"
}, },
{ {
"id": "education", "id": "education",
@@ -142,8 +131,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Former des esprits qui doutent, ou des rouages qui tiennent le rang ?"
}, },
{ {
"id": "urbanisme", "id": "urbanisme",
@@ -154,8 +142,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Couler du béton neuf, ou transformer ce qui est déjà là ?"
}, },
{ {
"id": "geopolitique", "id": "geopolitique",
@@ -166,8 +153,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Notre confort repose sur un empire qui n'a jamais vraiment pris fin. Qui paie l'addition ?"
}, },
{ {
"id": "ia-technologie", "id": "ia-technologie",
@@ -178,8 +164,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Un outil qui pense à notre place nous rend-il plus libres, ou plus dépendants ?"
}, },
{ {
"id": "spiritualite", "id": "spiritualite",
@@ -190,8 +175,7 @@
"resume": null, "resume": null,
"radius": 12, "radius": 12,
"family": "concept", "family": "concept",
"domain": "substack.com", "domain": "substack.com"
"problematique": "Retrouver du sens sans retomber dans le dogme, ni dans le développement personnel."
}, },
{ {
"id": "tmip", "id": "tmip",
@@ -201,8 +185,7 @@
"statut": "gestation", "statut": "gestation",
"resume": "Transport, mobilite, industrie, politique - projet archi. Exemple de projet archi relie aux thematiques AEP.", "resume": "Transport, mobilite, industrie, politique - projet archi. Exemple de projet archi relie aux thematiques AEP.",
"radius": 18, "radius": 18,
"family": "ressource", "family": "ressource"
"problematique": "7,6 millions de maisons périurbaines : une impasse, ou le plus grand chantier de transformation du pays ?"
} }
], ],
"edges": [ "edges": [
Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

-2
View File
@@ -59,8 +59,6 @@ async function main() {
} }
// V1.2-O : propage le champ optionnel domain (logo plateforme via Brandfetch CDN) // V1.2-O : propage le champ optionnel domain (logo plateforme via Brandfetch CDN)
if (obj.domain) node.domain = obj.domain if (obj.domain) node.domain = obj.domain
// P3 §3 : accroche problematisee affichee au survol (une tension, pas une definition)
if (obj.problematique) node.problematique = obj.problematique
nodes.push(node) nodes.push(node)
} }
+15 -9
View File
@@ -1,18 +1,24 @@
--- ---
import InstaFeed from '../vue/InstaFeed.vue'; import InstaFeed from '../vue/InstaFeed.vue';
const JULESNENY_FEED = Array.from( // Feed IDs Behold a remplir apres inscription Behold (voir docs/BEHOLD-SETUP.md)
{ length: 13 }, const FEED_AEP = import.meta.env.PUBLIC_BEHOLD_AEP || 'PLACEHOLDER_AEP';
(_, i) => `/images/instagram/feed/feed-${String(i + 1).padStart(2, '0')}.jpg` const FEED_JULESNENY = import.meta.env.PUBLIC_BEHOLD_JULESNENY || 'PLACEHOLDER_JULESNENY';
);
--- ---
<div class="h-full overflow-hidden"> <div class="h-full overflow-y-auto">
<InstaFeed <InstaFeed
client:visible client:visible
account="Jules Neny" feedId={FEED_AEP}
account="@aep.politique"
accountUrl="https://www.instagram.com/aep.politique/"
fallbackBio="Carrousels manifeste AEP ; pensee politique eco-architecture"
/>
<InstaFeed
client:visible
feedId={FEED_JULESNENY}
account="@julesneny"
accountUrl="https://www.instagram.com/julesneny/" accountUrl="https://www.instagram.com/julesneny/"
secondAccount="AEP" fallbackBio="Peinture, poesie, Corse ; archives visuelles personnelles"
secondAccountUrl="https://www.instagram.com/aep.politique/"
feedImages={JULESNENY_FEED}
/> />
</div> </div>
+52 -46
View File
@@ -1,91 +1,94 @@
--- ---
// Footer.astro - V1.4-F : 1 ligne 3 zones (nav / subscribe / logos RS). // Footer.astro - V1.5-C.4 : footer 2 lignes au lieu de 3.
// Alignement vertical centre + padding-y reduit (py-2) pour profil plus fin. // Ligne 1 (centree, plein cadre) : label Courier 12px #475569 + form subscribe (input + bouton)
// Subscribe input/button compact (py-1) cale sur baseline des autres elements. // Ligne 2 : gauche = nav (Manifeste / A propos / Mentions legales) ; droite = 5 logos RS monochrome #475569.
// Palette V1.3 figee : encre #0F172A, encre douce #475569, papier #FAFAF7
--- ---
<footer class="border-t border-neutral-200 px-6 py-2 bg-[#FAFAF7] text-[#0F172A]"> <footer class="border-t border-neutral-200 px-6 py-3 bg-[#FAFAF7] text-[#0F172A]">
<!-- LIGNE 1 : label + subscribe form, centre plein cadre -->
<div class="flex flex-col items-center gap-1 mb-3">
<p class="footer-label text-[12px] text-[#475569] leading-none">
Reçois le journal AEP — un envoi par mois, sans bullshit
</p>
<form id="subscribe-form" class="flex gap-2 items-center w-full max-w-[320px]">
<input
type="email"
name="email"
required
placeholder="ton@email.fr"
class="flex-1 px-3 py-1 border border-neutral-300 rounded text-xs focus:outline-none focus:border-[#0F172A] bg-white leading-tight"
/>
<button
type="submit"
class="px-3 py-1 bg-[#0F172A] text-white rounded text-xs hover:bg-[#475569] transition-colors whitespace-nowrap leading-tight"
>
s'abonner
</button>
</form>
<p id="subscribe-msg" class="text-[10px] text-neutral-500 min-h-[0.75rem]"></p>
</div>
<!-- LIGNE 2 : nav gauche + logos RS droite -->
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-2 md:gap-6"> <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-2 md:gap-6">
<!-- ZONE GAUCHE : liens nav --> <!-- ZONE GAUCHE : liens nav -->
<nav class="flex gap-4 text-xs items-center justify-center md:justify-start"> <nav class="flex gap-4 text-xs items-center justify-center md:justify-start text-[#475569]">
<a href="/manifeste" data-manifeste-link class="opacity-60 hover:opacity-100 transition-opacity">Manifeste</a> <a href="/manifeste" data-manifeste-link class="opacity-100 hover:text-[#0F172A] transition-colors">Manifeste</a>
<a href="/a-propos" class="opacity-60 hover:opacity-100 transition-opacity">A propos</a> <a href="/a-propos" class="opacity-100 hover:text-[#0F172A] transition-colors">A propos</a>
<a href="/mentions-legales" class="opacity-60 hover:opacity-100 transition-opacity">Mentions legales</a> <a href="/mentions-legales" class="opacity-100 hover:text-[#0F172A] transition-colors">Mentions legales</a>
</nav> </nav>
<!-- ZONE CENTRE : subscribe form compact (endpoint /api/subscribe V1.1-I). <!-- ZONE DROITE : 5 logos RS monochrome #475569 100% (V1.5-C.4 : pas les couleurs natives) -->
V1.4-F : padding-y reduit (py-1) pour caler input sur la baseline des liens + logos. --> <div class="flex gap-4 md:gap-6 items-center justify-center md:justify-end text-[#475569]">
<div class="flex flex-col items-center gap-0.5"> <!-- Instagram @aep.politique -->
<form id="subscribe-form" class="flex gap-2 items-center">
<input
type="email"
name="email"
required
placeholder="ton@email.fr"
class="px-3 py-1 border border-neutral-300 rounded text-xs focus:outline-none focus:border-[#0F172A] bg-white leading-tight"
/>
<button
type="submit"
class="px-3 py-1 bg-[#0F172A] text-white rounded text-xs hover:bg-[#475569] transition-colors whitespace-nowrap leading-tight"
>
s'abonner
</button>
</form>
<p id="subscribe-msg" class="text-[10px] text-neutral-500 min-h-[0.75rem]"></p>
</div>
<!-- ZONE DROITE : logos RS cliquables (SVG inline, fill #0F172A 60%) -->
<!-- V1.3-F : gap-4 mobile / gap-6 desktop pour espacer les logos. V1.4-F : items-center force baseline. -->
<div class="flex gap-4 md:gap-6 items-center justify-center md:justify-end text-[#0F172A]">
<!-- V1.4-bis FIX 6 : Instagram x2 (AEP politique + Jules perso) avec aria-labels distincts.
V1.4-bis FIX 7 : SVG simplifie (camera carree avec coins arrondis, lentille, point flash) — rendu propre net. -->
<a <a
href="https://www.instagram.com/aep.politique/" href="https://www.instagram.com/aep.politique/"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="Instagram @aep.politique" aria-label="Instagram @aep.politique"
title="@aep.politique" title="@aep.politique"
class="opacity-60 hover:opacity-100 transition-opacity" class="hover:text-[#0F172A] transition-colors"
> >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true">
<path d="M7.75 2C4.574 2 2 4.574 2 7.75v8.5C2 19.426 4.574 22 7.75 22h8.5C19.426 22 22 19.426 22 16.25v-8.5C22 4.574 19.426 2 16.25 2h-8.5zM4 7.75A3.75 3.75 0 017.75 4h8.5A3.75 3.75 0 0120 7.75v8.5A3.75 3.75 0 0116.25 20h-8.5A3.75 3.75 0 014 16.25v-8.5zM12 7a5 5 0 100 10 5 5 0 000-10zm0 2a3 3 0 110 6 3 3 0 010-6zm5.5-3.5a1 1 0 100 2 1 1 0 000-2z"/> <path d="M7.75 2C4.574 2 2 4.574 2 7.75v8.5C2 19.426 4.574 22 7.75 22h8.5C19.426 22 22 19.426 22 16.25v-8.5C22 4.574 19.426 2 16.25 2h-8.5zM4 7.75A3.75 3.75 0 017.75 4h8.5A3.75 3.75 0 0120 7.75v8.5A3.75 3.75 0 0116.25 20h-8.5A3.75 3.75 0 014 16.25v-8.5zM12 7a5 5 0 100 10 5 5 0 000-10zm0 2a3 3 0 110 6 3 3 0 010-6zm5.5-3.5a1 1 0 100 2 1 1 0 000-2z"/>
</svg> </svg>
</a> </a>
<!-- Instagram @julesneny (compte perso/art) --> <!-- Instagram @julesneny -->
<a <a
href="https://www.instagram.com/julesneny/" href="https://www.instagram.com/julesneny/"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="Instagram @julesneny" aria-label="Instagram @julesneny"
title="@julesneny" title="@julesneny"
class="opacity-60 hover:opacity-100 transition-opacity" class="hover:text-[#0F172A] transition-colors"
> >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true">
<path d="M7.75 2C4.574 2 2 4.574 2 7.75v8.5C2 19.426 4.574 22 7.75 22h8.5C19.426 22 22 19.426 22 16.25v-8.5C22 4.574 19.426 2 16.25 2h-8.5zM4 7.75A3.75 3.75 0 017.75 4h8.5A3.75 3.75 0 0120 7.75v8.5A3.75 3.75 0 0116.25 20h-8.5A3.75 3.75 0 014 16.25v-8.5zM12 7a5 5 0 100 10 5 5 0 000-10zm0 2a3 3 0 110 6 3 3 0 010-6zm5.5-3.5a1 1 0 100 2 1 1 0 000-2z"/> <path d="M7.75 2C4.574 2 2 4.574 2 7.75v8.5C2 19.426 4.574 22 7.75 22h8.5C19.426 22 22 19.426 22 16.25v-8.5C22 4.574 19.426 2 16.25 2h-8.5zM4 7.75A3.75 3.75 0 017.75 4h8.5A3.75 3.75 0 0120 7.75v8.5A3.75 3.75 0 0116.25 20h-8.5A3.75 3.75 0 014 16.25v-8.5zM12 7a5 5 0 100 10 5 5 0 000-10zm0 2a3 3 0 110 6 3 3 0 010-6zm5.5-3.5a1 1 0 100 2 1 1 0 000-2z"/>
</svg> </svg>
</a> </a>
<!-- GitHub (TODO: si 404 connu, fallback https://git.trans-former.fr/jules Gitea) --> <!-- GitHub / Gitea -->
<a <a
href="https://github.com/julesneny" href="https://github.com/julesneny"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="GitHub" aria-label="GitHub"
class="opacity-60 hover:opacity-100 transition-opacity" class="hover:text-[#0F172A] transition-colors"
> >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true">
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/> <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
</svg> </svg>
</a> </a>
<!-- LinkedIn TODO: confirmer URL LinkedIn Jules --> <!-- LinkedIn -->
<a <a
href="https://www.linkedin.com/in/jules-neny/" href="https://www.linkedin.com/in/jules-neny/"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="LinkedIn" aria-label="LinkedIn"
class="opacity-60 hover:opacity-100 transition-opacity" class="hover:text-[#0F172A] transition-colors"
> >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true">
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.063 2.063 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/> <path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.063 2.063 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
@@ -98,19 +101,24 @@
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="Substack" aria-label="Substack"
class="opacity-60 hover:opacity-100 transition-opacity" class="hover:text-[#0F172A] transition-colors"
> >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-[18px] h-[18px] md:w-5 md:h-5" fill="currentColor" aria-hidden="true">
<path d="M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z"/> <path d="M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z"/>
</svg> </svg>
</a> </a>
<!-- TODO V1.3 : ajouter logo Pinterest quand compte créé -->
</div> </div>
</div> </div>
</footer> </footer>
<style>
/* V1.5-C.4 : label newsletter en Courier New 12px, encre douce */
.footer-label {
font-family: 'Courier New', Courier, monospace;
}
</style>
<script> <script>
const form = document.getElementById('subscribe-form') as HTMLFormElement | null; const form = document.getElementById('subscribe-form') as HTMLFormElement | null;
const msg = document.getElementById('subscribe-msg') as HTMLParagraphElement | null; const msg = document.getElementById('subscribe-msg') as HTMLParagraphElement | null;
@@ -146,14 +154,12 @@
}); });
// V1.3-E : intercept clics liens Manifeste depuis le footer -> preview centrale sur racine. // V1.3-E : intercept clics liens Manifeste depuis le footer -> preview centrale sur racine.
// Sur /a-propos, /mentions-legales, /manifeste lui-meme : navigation normale.
document.querySelectorAll<HTMLAnchorElement>('a[data-manifeste-link]').forEach((el) => { document.querySelectorAll<HTMLAnchorElement>('a[data-manifeste-link]').forEach((el) => {
el.addEventListener('click', (e) => { el.addEventListener('click', (e) => {
if (window.location.pathname === '/') { if (window.location.pathname === '/') {
e.preventDefault(); e.preventDefault();
window.dispatchEvent(new CustomEvent('preview-open', { detail: { type: 'manifeste' } })); window.dispatchEvent(new CustomEvent('preview-open', { detail: { type: 'manifeste' } }));
} }
// sinon : navigation normale vers /manifeste
}); });
}); });
</script> </script>
+27 -31
View File
@@ -1,11 +1,11 @@
--- ---
// SiteHeader.astro - V1.3-C : header 1 ligne fine, liens cliquables, phrase intention Roboto Condensed // SiteHeader.astro - V1.5-C : header lowercase + mobile 1 ligne unique (truncate ellipsis)
// Palette V1.3 figee : papier #FAFAF7, encre #0F172A, encre douce #475569, border #E5E7EB // Palette V1.3 figee : papier #FAFAF7, encre #0F172A, encre douce #475569, border #E5E7EB
// Composition : // Composition :
// Desktop (>= md) : 1 ligne ~44px - Trans-Former | Jules Neny | architecture d'ecologie politique [phrase intention right-aligned, Roboto Condensed] // Desktop (>= md) : 1 ligne ~44px - trans-former | Jules Neny | architecture d'ecologie politique [phrase intention right-aligned, Roboto Condensed]
// Mobile (< md) : 2 lignes compactes - ligne 1 Trans-Former / ligne 2 Jules Neny . AEP (cliquables) - phrase intention masquee // Mobile (< md) : 1 SEULE ligne compacte (V1.5-C.2) - trans-former . Jules Neny . AEP, truncate ellipsis si overflow, phrase intention masquee
// Liens : // Liens (V1.5-C.3 confirmes) :
// Trans-Former -> / // trans-former -> /
// Jules Neny -> /a-propos // Jules Neny -> /a-propos
// architecture d'ecologie politique -> https://aep.trans-former.fr (same-tab, site frere coherent) // 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%) // Typo phrase intention : Roboto Condensed Variable @fontsource (weight 400, font-stretch 75%)
@@ -15,37 +15,34 @@ import '@fontsource-variable/roboto-condensed/wght.css';
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"
> >
<!-- Bloc identite (gauche) --> <!-- Bloc identite (gauche) - V1.5-C.2 : 1 ligne unique mobile + desktop, truncate ellipsis si overflow -->
<nav <nav
class="flex flex-col md:flex-row md:items-baseline gap-x-2 gap-y-0.5 flex-shrink-0" class="identite flex flex-row items-baseline gap-x-1.5 md:gap-x-2 min-w-0 flex-shrink overflow-hidden whitespace-nowrap"
aria-label="identite site" aria-label="identite site"
> >
<!-- Ligne 1 desktop = wordmark inline ; mobile = ligne dediee --> <!-- V1.5-C.1 : lowercase "trans-former" (retire l'effet marque corporate) -->
<a <a
href="/" 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" 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 flex-shrink-0"
aria-label="trans-former.fr - accueil" aria-label="trans-former.fr - accueil"
> >
Trans-Former trans-former
</a> </a>
<!-- Bloc secondaire : Jules Neny . AEP (mobile : ligne 2 ; desktop : inline) --> <span class="text-[#94A3B8] leading-none flex-shrink-0" aria-hidden="true">·</span>
<span class="flex items-baseline gap-1.5 text-[#475569] leading-none"> <a
<span class="text-[#94A3B8] hidden md:inline" aria-hidden="true">·</span> href="/a-propos"
<a class="text-[12px] md:text-[13px] text-[#475569] hover:text-[#0F172A] no-underline hover:underline underline-offset-2 decoration-1 leading-none flex-shrink-0"
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>
Jules Neny <span class="text-[#94A3B8] leading-none flex-shrink-0" aria-hidden="true">·</span>
</a> <a
<span class="text-[#94A3B8]" aria-hidden="true">·</span> href="https://aep.trans-former.fr"
<a class="text-[12px] md:text-[13px] text-[#475569] hover:text-[#0F172A] no-underline hover:underline underline-offset-2 decoration-1 leading-none truncate min-w-0"
href="https://aep.trans-former.fr" >
class="text-[12px] md:text-[13px] text-[#475569] hover:text-[#0F172A] no-underline hover:underline underline-offset-2 decoration-1" architecture d'écologie politique
> </a>
architecture d'écologie politique
</a>
</span>
</nav> </nav>
<!-- Phrase intention (droite, desktop only) - Roboto Condensed allongee --> <!-- Phrase intention (droite, desktop only) - Roboto Condensed allongee -->
@@ -60,12 +57,11 @@ import '@fontsource-variable/roboto-condensed/wght.css';
.site-header { .site-header {
height: 44px; height: 44px;
} }
/* V1.5-C.2 : mobile 1 ligne unique, hauteur identique desktop (44px) */
@media (max-width: 767px) { @media (max-width: 767px) {
.site-header { .site-header {
height: auto; height: 44px;
min-height: 48px; min-height: 44px;
padding-top: 6px;
padding-bottom: 6px;
} }
} }
/* Phrase intention : Roboto Condensed Variable, font-stretch 75% (allongement vertical condense) /* Phrase intention : Roboto Condensed Variable, font-stretch 75% (allongement vertical condense)
+1 -2
View File
@@ -20,7 +20,6 @@ interface CarteNode {
theme?: string theme?: string
path?: string path?: string
domain?: string // V1.2-O : domaine plateforme source (logo Brandfetch CDN) domain?: string // V1.2-O : domaine plateforme source (logo Brandfetch CDN)
problematique?: string // P3 §3 : accroche au survol (brouillon MOE 29/09, a valider)
} }
// V1.2-O : logos plateforme via Brandfetch CDN (visible zoom > 1.5x seulement) // V1.2-O : logos plateforme via Brandfetch CDN (visible zoom > 1.5x seulement)
@@ -365,7 +364,7 @@ function render() {
// Tooltip <title> // Tooltip <title>
nodeGroups.append('title') nodeGroups.append('title')
.text(d => `${d.label}\n[${d.family}]\n${truncate(d.problematique || d.resume || d.intention || '', 200)}`) .text(d => `${d.label}\n[${d.family}]\n${truncate(d.resume || d.intention || '', 200)}`)
// V1.3-D : Simulation force-directed fit-cadre + animation continue subtile // V1.3-D : Simulation force-directed fit-cadre + animation continue subtile
// - link distance/strength differencies : TMIP (central) court/fort, autres essais souples // - link distance/strength differencies : TMIP (central) court/fort, autres essais souples
+76 -49
View File
@@ -1,16 +1,57 @@
<script setup lang="ts"> <script setup lang="ts">
defineProps<{ import { ref, onMounted } from 'vue';
interface BeholdPost {
id: string;
permalink: string;
mediaUrl: string;
thumbnailUrl?: string;
caption?: string;
mediaType: 'IMAGE' | 'VIDEO' | 'CAROUSEL_ALBUM';
timestamp: string;
}
const props = defineProps<{
feedId: string;
account: string; account: string;
accountUrl: string; accountUrl: string;
secondAccount: string; fallbackBio?: string;
secondAccountUrl: string;
feedImages: string[]; // ordonné du plus récent (haut) au plus ancien (bas)
}>(); }>();
const posts = ref<BeholdPost[]>([]);
const loading = ref(true);
const error = ref<string | null>(null);
const isPlaceholder = (id: string) => !id || id.startsWith('PLACEHOLDER_');
onMounted(async () => {
if (isPlaceholder(props.feedId)) {
loading.value = false;
error.value = 'no-feed-id';
return;
}
try {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), 5000);
const res = await fetch(`https://feeds.behold.so/${props.feedId}`, {
signal: controller.signal,
});
clearTimeout(timeoutId);
if (!res.ok) throw new Error(`Behold returned ${res.status}`);
const data = await res.json();
const items: BeholdPost[] = Array.isArray(data) ? data : (data.posts ?? []);
posts.value = items.slice(0, 6);
} catch (e) {
error.value = (e as Error).message || 'fetch-error';
} finally {
loading.value = false;
}
});
</script> </script>
<template> <template>
<section class="h-full flex flex-col border-b border-neutral-200 last:border-b-0"> <section class="border-b border-neutral-200 last:border-b-0">
<header class="shrink-0 px-4 py-2 flex items-center justify-between gap-3"> <header class="px-4 py-3 flex items-center justify-between">
<a <a
:href="accountUrl" :href="accountUrl"
target="_blank" target="_blank"
@@ -19,62 +60,48 @@ defineProps<{
> >
{{ account }} {{ account }}
</a> </a>
<a <span v-if="loading" class="text-xs text-neutral-400">...</span>
:href="secondAccountUrl"
target="_blank"
rel="noopener"
class="font-medium text-sm text-neutral-500 hover:underline hover:text-neutral-800"
>
{{ secondAccount }}
</a>
</header> </header>
<div class="insta-feed-scroll flex-1 min-h-0"> <div v-if="loading" class="grid grid-cols-2 gap-1 p-1">
<div
v-for="i in 4"
:key="i"
class="aspect-square bg-neutral-100 animate-pulse"
/>
</div>
<div
v-else-if="posts.length"
class="grid grid-cols-2 gap-1 p-1"
>
<a <a
:href="accountUrl" v-for="post in posts"
:key="post.id"
:href="post.permalink"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
:aria-label="`Voir le compte Instagram ${account}`" class="block aspect-square overflow-hidden group"
> >
<img <img
v-for="(src, i) in feedImages" :src="post.thumbnailUrl || post.mediaUrl"
:key="i" :alt="post.caption?.slice(0, 80) || account"
:src="src"
alt=""
loading="lazy" loading="lazy"
class="block w-full feed-img" class="w-full h-full object-cover group-hover:scale-105 transition-transform"
/> />
</a> </a>
</div> </div>
<div class="shrink-0 px-2 py-1"> <div v-else class="p-4 text-sm text-neutral-600">
<span <p v-if="fallbackBio" class="mb-3">{{ fallbackBio }}</p>
class="block text-center px-3 py-1 bg-neutral-200 text-neutral-400 rounded text-xs cursor-not-allowed" <a
aria-disabled="true" :href="accountUrl"
title="Boutique — bientôt disponible" target="_blank"
rel="noopener"
class="inline-block px-3 py-2 bg-neutral-900 text-white rounded-lg text-sm"
> >
Boutique Voir sur Instagram &rarr;
</span> </a>
</div> </div>
</section> </section>
</template> </template>
<style scoped>
.insta-feed-scroll {
overflow-y: auto;
scrollbar-width: thin;
}
.insta-feed-scroll::-webkit-scrollbar {
width: 6px;
}
.insta-feed-scroll::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.25);
border-radius: 3px;
}
.insta-feed-scroll::-webkit-scrollbar-track {
background: transparent;
}
.feed-img + .feed-img {
margin-top: 2px;
}
</style>
+22 -10
View File
@@ -13,16 +13,28 @@ import HamburgerMenu from '../components/astro/HamburgerMenu.astro';
<main class="h-full overflow-y-auto bg-white"> <main class="h-full overflow-y-auto bg-white">
<article class="max-w-2xl mx-auto px-6 py-16 md:py-24"> <article class="max-w-2xl mx-auto px-6 py-16 md:py-24">
<header class="mb-10"> <!-- V1.5-BIO : photo Jules a droite du titre desktop, dessous mobile. max-width 320px, radius 4px, eager (above the fold). -->
<p class="text-sm uppercase tracking-widest text-neutral-500 mb-3"> <header class="mb-10 flex flex-col md:flex-row md:items-start md:gap-8">
A propos <div class="flex-1 min-w-0">
</p> <p class="text-sm uppercase tracking-widest text-neutral-500 mb-3">
<h1 class="text-3xl md:text-4xl font-semibold text-neutral-900 leading-tight"> A propos
Jules Neny </p>
</h1> <h1 class="text-3xl md:text-4xl font-semibold text-neutral-900 leading-tight">
<p class="mt-3 text-neutral-600 text-base md:text-lg"> Jules Neny
Architecte HMONP. Ecrivain politique. Facilitateur. Bagneres-de-Bigorre, Pyrenees. </h1>
</p> <p class="mt-3 text-neutral-600 text-base md:text-lg">
Architecte HMONP. Ecrivain politique. Facilitateur. Bagneres-de-Bigorre, Pyrenees.
</p>
</div>
<img
src="/images/jules-profil.jpg"
alt="Jules Neny, architecte d'écologie politique"
width="320"
height="323"
loading="eager"
decoding="async"
class="w-full md:w-[200px] md:max-w-[200px] mt-6 md:mt-0 rounded-[4px] flex-shrink-0"
/>
</header> </header>
<div class="text-neutral-800 text-[17px] leading-[1.75] space-y-6"> <div class="text-neutral-800 text-[17px] leading-[1.75] space-y-6">
-44
View File
@@ -1,44 +0,0 @@
---
// Page TEMPORAIRE d'apercu des 17 accroches de la Carte O (P3 §3, brouillon MOE 29/09).
// Sert a la relecture de Jules : chaque node avec l'accroche qui s'affichera au survol.
// A SUPPRIMER avant tout merge dans main.
import carte from '../../public/data/carte-o.json';
export const prerender = true;
const nodes = carte.nodes as Array<{ id: string; label: string; problematique?: string; niveau?: number }>;
---
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>apercu-accroches</title>
<style>
body { font-family: system-ui, sans-serif; background: #f7f4ee; color: #1d1d1b; margin: 0; padding: 32px 16px; }
main { max-width: 760px; margin: 0 auto; }
h1 { font-size: 1.1rem; font-weight: 600; margin: 0 0 4px; }
p.note { margin: 0 0 24px; color: #5b5a55; font-size: .9rem; }
ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
li { background: #fff; border: 1px solid #e3ded3; border-radius: 8px; padding: 12px 14px; }
li.centre { border-color: #1d1d1b; }
.label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b6a64; }
.id { font-family: ui-monospace, monospace; font-size: .7rem; color: #9a978f; margin-left: 6px; text-transform: none; }
.acc { font-size: 1.05rem; line-height: 1.4; margin-top: 4px; }
.manque { color: #b3261e; }
</style>
</head>
<body>
<main>
<h1>Carte O : accroches au survol (brouillon, à valider)</h1>
<p class="note">{nodes.filter((n) => n.problematique).length} accroches sur {nodes.length} nodes, lues dans <code>public/data/carte-o.json</code>.</p>
<ol>
{nodes.map((n, i) => (
<li class={n.niveau === 0 ? 'centre' : ''}>
<div class="label">{i + 1}. {n.label}<span class="id">{n.id}</span></div>
<div class={n.problematique ? 'acc' : 'acc manque'}>{n.problematique ?? 'aucune accroche'}</div>
</li>
))}
</ol>
</main>
</body>
</html>
-196
View File
@@ -1,196 +0,0 @@
import type { APIRoute } from 'astro'
export const prerender = false
const KIT_API_BASE = 'https://api.kit.com/v4'
const TAG_NAME = 'AEP - sans perso'
function htmlPage(title: string, heading: string, message: string): string {
return `<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>${title} — trans-former.fr</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-neutral-50 text-neutral-900 min-h-screen flex items-center justify-center p-6">
<main class="max-w-md w-full bg-white rounded-xl shadow-sm border border-neutral-200 p-8 text-center">
<h1 class="text-2xl font-semibold mb-4">${heading}</h1>
<p class="text-neutral-600 leading-relaxed">${message}</p>
<a href="https://www.trans-former.fr"
class="mt-6 inline-block text-sm text-neutral-500 underline underline-offset-2 hover:text-neutral-900">
&larr; Retour sur trans-former.fr
</a>
</main>
</body>
</html>`
}
async function getSubscriberByEmail(email: string, apiKey: string): Promise<string | null> {
const url = `${KIT_API_BASE}/subscribers?email_address=${encodeURIComponent(email)}`
const res = await fetch(url, {
headers: { 'X-Kit-Api-Key': apiKey },
signal: AbortSignal.timeout(10000),
})
if (!res.ok) return null
const data = await res.json()
if (!data?.subscribers?.length) return null
return String(data.subscribers[0].id)
}
async function getTagId(apiKey: string): Promise<number | null> {
const url = `${KIT_API_BASE}/tags`
const res = await fetch(url, {
headers: { 'X-Kit-Api-Key': apiKey },
signal: AbortSignal.timeout(10000),
})
if (!res.ok) return null
const data = await res.json()
const tag = data?.tags?.find((t: any) => t.name === TAG_NAME)
return tag?.id ?? null
}
async function tagSubscriber(subscriberId: string, tagId: number, apiKey: string): Promise<boolean> {
const url = `${KIT_API_BASE}/tags/${tagId}/subscribers`
const res = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Kit-Api-Key': apiKey,
},
body: JSON.stringify({ id: subscriberId }),
signal: AbortSignal.timeout(10000),
})
return res.ok || res.status === 409
}
async function untagSubscriber(subscriberId: string, tagId: number, apiKey: string): Promise<boolean> {
const url = `${KIT_API_BASE}/tags/${tagId}/subscribers/${subscriberId}`
const res = await fetch(url, {
method: 'DELETE',
headers: { 'X-Kit-Api-Key': apiKey },
signal: AbortSignal.timeout(10000),
})
return res.ok || res.status === 404
}
export const GET: APIRoute = async ({ url }) => {
const KIT_API_KEY = import.meta.env.KIT_API_SECRET_V4
if (!KIT_API_KEY) {
return new Response(htmlPage(
'Erreur',
'Configuration manquante',
'Le service de désinscription n\'est pas configuré. Contacte-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 500,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
const email = (url.searchParams.get('email') || '').trim().toLowerCase()
const action = url.searchParams.get('action')
if (!email || !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
return new Response(htmlPage(
'Lien invalide',
'Lien invalide',
'Le lien que tu as suivi est incomplet ou mal formé. Essaye de copier-coller l\'URL complète depuis l\'email.'
), {
status: 400,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
if (action !== 'unsubscribe' && action !== 'resubscribe') {
return new Response(htmlPage(
'Action inconnue',
'Action inconnue',
'Le lien que tu as suivi ne correspond à aucune action connue.'
), {
status: 400,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
try {
const subscriberId = await getSubscriberByEmail(email, KIT_API_KEY)
if (!subscriberId) {
return new Response(htmlPage(
'Email inconnu',
'Email inconnu',
'Cet email n\'est pas abonné à la newsletter. Si tu penses qu\'il s\'agit d\'une erreur, écris-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 404,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
const tagId = await getTagId(KIT_API_KEY)
if (!tagId) {
return new Response(htmlPage(
'Erreur',
'Configuration manquante',
'Le tag de désinscription est introuvable. Contacte-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 500,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
if (action === 'unsubscribe') {
const result = await tagSubscriber(subscriberId, tagId, KIT_API_KEY)
if (!result) {
return new Response(htmlPage(
'Erreur',
'Erreur technique',
'Une erreur est survenue lors de la désinscription. Réessaie ou écris-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 500,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
return new Response(htmlPage(
'Désinscription réussie',
'Tu es désinscrit·e',
'Tu ne recevras plus les lettres «&nbsp;perso&nbsp;» de l\'infolettre <em>Architecture d\'Écologie Politique</em>. Tu continues à recevoir les textes de fond.<br><br>Si tu changes d\'avis, un lien de réabonnement est disponible dans chaque email de fond.'
), {
status: 200,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
if (action === 'resubscribe') {
const result = await untagSubscriber(subscriberId, tagId, KIT_API_KEY)
if (!result) {
return new Response(htmlPage(
'Erreur',
'Erreur technique',
'Une erreur est survenue lors du réabonnement. Réessaie ou écris-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 500,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
return new Response(htmlPage(
'Réabonnement réussi',
'Tu es de nouveau abonné·e',
'Tu recevras à nouveau les lettres «&nbsp;perso&nbsp;» de l\'infolettre <em>Architecture d\'Écologie Politique</em>. Merci de ton intérêt !'
), {
status: 200,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
return new Response(null, { status: 400 })
} catch (e) {
return new Response(htmlPage(
'Erreur',
'Erreur technique',
'Une erreur inattendue est survenue. Réessaie ou écris-moi à <a href="mailto:julesneny8@gmail.com" class="underline">julesneny8@gmail.com</a>.'
), {
status: 500,
headers: { 'Content-Type': 'text/html; charset=utf-8' },
})
}
}
-20
View File
@@ -1,20 +0,0 @@
---
// Page TEMPORAIRE de test du pont Tailwind 4 (@transformer/ui) — P3 §1.
// Sert a verifier que le pont compile les utilitaires et que les tokens
// se resolvent en vraies valeurs. A supprimer apres validation.
export const prerender = true;
---
<!doctype html>
<html lang="fr">
<head><meta charset="utf-8" /><title>pont-test</title></head>
<body class="bg-bg text-text">
<div class="bg-surface text-text-muted border-border">surface / muted / border</div>
<div class="bg-primary text-on-primary">primary / on-primary</div>
<div class="bg-accent text-on-accent">accent / on-accent</div>
<div class="text-link hover:text-link-hover">lien</div>
<div class="bg-success bg-warning bg-danger">etats</div>
<div class="font-(family-name:--font-heading) rounded-(--radius-md) shadow-(--shadow-md) ease-(--ease-out)">
syntaxe var arbitraire (namespaces non mappes)
</div>
</body>
</html>
-5
View File
@@ -1,9 +1,4 @@
@import "tailwindcss"; @import "tailwindcss";
/* Pont design system (P3 §1) : tokens + mappings @theme Tailwind 4.
Pas de reset.css ni theme/*.css tant que la palette racine n'est pas tranchee —
le bridge seul ne change aucun rendu (il ne definit que des variables). */
@import "@transformer/ui/tokens.css";
@import "@transformer/ui/tailwind.css";
/* Typographie monospace - labels editoriaux (V1.1-G.1) */ /* Typographie monospace - labels editoriaux (V1.1-G.1) */
.font-mono-editorial, .font-mono-editorial,