MAJ fonction BO page accueil et correction de beug mission correctif css
This commit is contained in:
parent
1042eecfd2
commit
5432b19604
@ -1,10 +1,29 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
|
||||
|
||||
h1{
|
||||
h1 {
|
||||
font-size: 3.2em;
|
||||
line-height: 1.1;
|
||||
font-family: "Nunito", sans-serif !important;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 800 !important;
|
||||
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
|
||||
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);
|
||||
}, []);
|
||||
// ✅ Missions
|
||||
|
||||
useEffect(() => {
|
||||
localStorage.setItem("missions", JSON.stringify(missions));
|
||||
}, [missions]);
|
||||
|
||||
const addMission = () => {
|
||||
setMissions([
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user