MAJ fonction BO page accueil et correction de beug mission correctif css

This commit is contained in:
sebvtl728
2025-07-15 09:02:42 +02:00
parent 1042eecfd2
commit 5432b19604
4 changed files with 22 additions and 14 deletions
Vendored
BIN
View File
Binary file not shown.
+19
View File
@@ -8,3 +8,22 @@ h1{
font-weight: 800 !important; font-weight: 800 !important;
font-style: normal; font-style: normal;
} }
h2,
span {
font-size: 2.2em;
line-height: 1.1;
font-family: "Nunito", sans-serif !important;
font-optical-sizing: auto;
font-weight: 700 !important;
font-style: normal;
color: #315397;
}
.css-1ulggnf h2,
.MuiTypography-span,
.MuiTypography-h6{
color: #ffffff;
}
@@ -126,19 +126,8 @@ const GestionPageAccueil = () => {
} }
}; };
// ✅ Missions - LocalStorage // ✅ Missions
useEffect(() => {
const storedMissions = JSON.parse(localStorage.getItem("missions")) || [
{ title: "📌 Mission 1", details: "Détails de la mission 1" },
{ title: "📌 Mission 2", details: "Détails de la mission 2" },
{ title: "📌 Mission 3", details: "Détails de la mission 3" },
];
setMissions(storedMissions);
}, []);
useEffect(() => {
localStorage.setItem("missions", JSON.stringify(missions));
}, [missions]);
const addMission = () => { const addMission = () => {
setMissions([ setMissions([
+1 -1
View File
File diff suppressed because one or more lines are too long