MAJ fonction BO page accueil et correction de beug mission correctif css
This commit is contained in:
@@ -1,10 +1,29 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
|
@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;
|
font-size: 3.2em;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
font-family: "Nunito", sans-serif !important;
|
font-family: "Nunito", sans-serif !important;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user