From cc641c5f5d133617b20abeb0d3f0410015dab734 Mon Sep 17 00:00:00 2001 From: sebvtl728 Date: Tue, 21 Jan 2025 23:43:32 +0100 Subject: [PATCH] update Home add Testi --- frontend/src/components/Pages/Home.jsx | 8 ++- frontend/src/components/Testi.jsx | 85 ++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/Testi.jsx diff --git a/frontend/src/components/Pages/Home.jsx b/frontend/src/components/Pages/Home.jsx index ad78ba5..4f24d43 100644 --- a/frontend/src/components/Pages/Home.jsx +++ b/frontend/src/components/Pages/Home.jsx @@ -5,8 +5,9 @@ import api from "../../api"; import ModernSpinner from "../SpinnerModerne"; import Expertises from "../Expertises"; import ConstructSection from "../ConstructSection"; -import { Box, Grid, Typography, Button, Card, CardContent } from "@mui/material"; +import { Box, Grid, Typography, Button, Card, CardContent, Avatar } from "@mui/material"; import Logo from "../../assets/logo-in3-mobil.svg"; +import Testi from "../Testi"; const Home = () => { const [pageData, setPageData] = useState(null); @@ -61,6 +62,8 @@ const Home = () => { ); } + + const { acf, rank_math_title, rank_math_description } = pageData || {}; return ( @@ -106,6 +109,8 @@ const Home = () => { expertise3Text={acf?.gdc_expert?.text_expertise_3 || "Text Expertise 3"} /> + + {/* Section Témoignages */} @@ -161,6 +166,7 @@ const Home = () => { + ); }; diff --git a/frontend/src/components/Testi.jsx b/frontend/src/components/Testi.jsx new file mode 100644 index 0000000..4ba6167 --- /dev/null +++ b/frontend/src/components/Testi.jsx @@ -0,0 +1,85 @@ +import React from "react"; +import { Box, Typography, Grid, Avatar } from "@mui/material"; + +const TestimonialSection = () => { + return ( + + + {/* Image à gauche */} + + + + + {/* Contenu Témoignage */} + + + Innovatech a transformé notre vision en réalité avec une approche + passionnée et professionnelle. + + + + + + + Marie Dupont + + + Directrice Créative chez TechVision + + + + + + ); +}; + +export default TestimonialSection; \ No newline at end of file