diff --git a/src/components/astro/ColJournal.astro b/src/components/astro/ColJournal.astro
index d835b92..6fe73ff 100644
--- a/src/components/astro/ColJournal.astro
+++ b/src/components/astro/ColJournal.astro
@@ -1,11 +1,14 @@
---
import JournalList from '../vue/JournalList.vue';
+// V1.3-F : palette desopacifiee — chaque categorie a une pastel pour le fill pill inactive.
+// Regle bicouche : pastel = FILL pill inactive uniquement. Border + texte = encre couleur 100%.
const categories = [
{
id: 'politique',
label: 'Politique',
color: '#B5443A',
+ pastel: '#E5C3BE',
hashtags: ['#politique', '#aep-politique'],
plateformes: [
{ id: 'instagram', label: 'Court', url: 'https://www.instagram.com/aep.politique/' },
@@ -18,6 +21,7 @@ const categories = [
id: 'art',
label: 'Art',
color: '#5B6B3A',
+ pastel: '#CACFBE',
hashtags: ['#peinture', '#art'],
plateformes: [
{ id: 'instagram', label: '@julesneny', url: 'https://www.instagram.com/julesneny/' },
@@ -28,6 +32,7 @@ const categories = [
id: 'outils',
label: 'Outils',
color: '#475569',
+ pastel: '#C4C8CC',
hashtags: ['#stack', '#building-public'],
plateformes: [
{ id: 'gitea', label: 'Gitea', url: 'https://git.trans-former.fr/jules' },
@@ -38,6 +43,7 @@ const categories = [
id: 'pro',
label: 'Pro',
color: '#0F172A',
+ pastel: '#C4C8CC',
hashtags: ['#building-public', '#pro'],
plateformes: [
{ id: 'linkedin', label: 'LinkedIn', url: 'https://www.linkedin.com/in/jules-neny/' },
@@ -62,6 +68,7 @@ const categories = [
data-category-id={cat.id}
data-hashtags={cat.hashtags.join(',')}
data-color={cat.color}
+ data-pastel={cat.pastel}
data-has-selector={cat.hasSelector ? 'true' : 'false'}
class="category-badge"
style={`background:${cat.color};color:#fff;font-family:'Courier New',Courier,monospace;font-size:13px;padding:3px 10px;border-radius:4px;cursor:pointer;border:1px solid ${cat.color};`}
@@ -71,14 +78,14 @@ const categories = [
))}
-
+
{categories[0].plateformes.map((p) => (
@@ -203,14 +210,18 @@ const categories = [
window.dispatchEvent(new CustomEvent('platform-filter-change', { detail: { platform } }));
};
+ // V1.3-F : palette desopacifiee.
+ // Active = fill couleur 100% + texte blanc.
+ // Inactive = fill pastel + texte couleur 100% + border couleur 100% (regle bicouche).
const updateBadgeStyle = (btn: HTMLElement, active: boolean) => {
const color = btn.dataset.color || '#000';
+ const pastel = btn.dataset.pastel || '#E5C3BE';
if (active) {
btn.style.background = color;
btn.style.color = '#fff';
btn.style.border = `1px solid ${color}`;
} else {
- btn.style.background = 'transparent';
+ btn.style.background = pastel;
btn.style.color = color;
btn.style.border = `1px solid ${color}`;
}
@@ -228,6 +239,9 @@ const categories = [
}
};
+ // V1.3-F : sub-pills Politique, regle bicouche identique.
+ // Active (ou aucun filtre) = fill brique #B5443A + texte blanc.
+ // Inactive = fill pastel #E5C3BE + texte brique + border brique 100%.
const updatePillStyles = () => {
const pills = document.querySelectorAll('.platform-pill');
const active = platformFilters['politique'];
@@ -237,7 +251,7 @@ const categories = [
pill.style.background = '#B5443A';
pill.style.color = '#fff';
} else {
- pill.style.background = 'transparent';
+ pill.style.background = '#E5C3BE';
pill.style.color = '#B5443A';
}
});
diff --git a/src/components/astro/Footer.astro b/src/components/astro/Footer.astro
index 8d22c7b..a1e7a8a 100644
--- a/src/components/astro/Footer.astro
+++ b/src/components/astro/Footer.astro
@@ -33,7 +33,8 @@
-
+
+
Un commun vivant pour bifurquer ; ensemble, lentement, par accumulation de petits gestes situés.
+
+
+
+
+ Manifeste lu. J'achete la version papier, tranquille.
+
+
+ Commander la version papier
+
+
+
-
+
+
+
+ Manifeste lu. J'achete la version papier, tranquille.
+
+
+ Commander la version papier
+
+
+