MAJ fonction BO page accueil et correction de beug

This commit is contained in:
sebvtl728
2025-07-15 00:40:20 +02:00
parent f0e31c4639
commit 1042eecfd2
13 changed files with 5224 additions and 215 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import React from 'react';
import { Box, Typography, Button } from '@mui/material';
const Hero = ({ backgroundImage, useGradient, title, titleColor, text, textColor }) => {
// Priorité pour appliquer le fond : Image > Dégradé > Aucun fond
const backgroundStyle = backgroundImage
@@ -60,9 +61,10 @@ const Hero = ({ backgroundImage, useGradient, title, titleColor, text, textColor
fontWeight: 'bold',
padding: { xs: '10px 20px', md: '15px 30px' }, // Responsive
fontSize: { xs: '0.8rem', md: '1rem' },
backgroundColor: '#315397',
}}
>
Explorer les Articles
Nos Formations
</Button>
</Box>
);