Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 12:18:56 +00:00
2 changed files with 36 additions and 55 deletions

View File

@@ -50,13 +50,13 @@ export default function LandingPage() {
]}
slides={[
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png?_wi=1", imageAlt: "Équipe professionnelle MACAM BTP"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png", imageAlt: "Équipe professionnelle MACAM BTP"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png?_wi=1", imageAlt: "Site de construction en cours"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png", imageAlt: "Site de construction en cours"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-z9as2fa2.png?_wi=1", imageAlt: "Présentation services MACAM BTP"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-z9as2fa2.png", imageAlt: "Présentation services MACAM BTP"
}
]}
autoplayDelay={4000}
@@ -74,9 +74,10 @@ export default function LandingPage() {
{ value: "15+", title: "Années d'Expérience" },
{ value: "200+", title: "Projets Réussis" }
]}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png?_wi=2"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png"
imageAlt="Équipe MACAM BTP"
mediaAnimation="slide-up"
metricsAnimation="slide-up"
useInvertedBackground={false}
/>
</div>
@@ -89,10 +90,10 @@ export default function LandingPage() {
tagIcon={Hammer}
features={[
{
title: "Construction Générale", description: "Bâtiments résidentiels et commerciaux de qualité supérieure", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png?_wi=2", imageAlt: "Construction générale", buttonIcon: ArrowRight
title: "Construction Générale", description: "Bâtiments résidentiels et commerciaux de qualité supérieure", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png", imageAlt: "Construction générale", buttonIcon: ArrowRight
},
{
title: "Gestion de Projets", description: "Supervision complète de vos projets du début à la fin", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-z9as2fa2.png?_wi=2", imageAlt: "Gestion de projets", buttonIcon: ArrowRight
title: "Gestion de Projets", description: "Supervision complète de vos projets du début à la fin", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-z9as2fa2.png", imageAlt: "Gestion de projets", buttonIcon: ArrowRight
},
{
title: "Rénovation et Restauration", description: "Redonner vie à vos structures existantes", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-men-with-safety-vests_23-2148269349.jpg", imageAlt: "Rénovation", buttonIcon: ArrowRight
@@ -114,10 +115,10 @@ export default function LandingPage() {
tagIcon={TrendingUp}
metrics={[
{
id: "1", value: "200+", title: "Projets Complétés", description: "Constructions de qualité livrées à temps", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png?_wi=3", imageAlt: "Projets complétés"
id: "1", value: "200+", title: "Projets Complétés", description: "Constructions de qualité livrées à temps", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-7vuagufb.png", imageAlt: "Projets complétés"
},
{
id: "2", value: "99%", title: "Satisfaction Client", description: "Taux de satisfaction extraordinaire depuis 15 ans", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png?_wi=3", imageAlt: "Satisfaction client"
id: "2", value: "99%", title: "Satisfaction Client", description: "Taux de satisfaction extraordinaire depuis 15 ans", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnK6xYWyEmO5ZAQxQ8yfi4NrGC/uploaded-1773231411631-q51sg5wd.png", imageAlt: "Satisfaction client"
}
]}
textboxLayout="default"
@@ -134,16 +135,16 @@ export default function LandingPage() {
tagIcon={Users}
members={[
{
id: "1", name: "Jean Kouam", role: "Directeur Général", imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg?_wi=1", imageAlt: "Jean Kouam"
id: "1", name: "Jean Kouam", role: "Directeur Général", imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg", imageAlt: "Jean Kouam"
},
{
id: "2", name: "Marie Nkolo", role: "Ingénieur Projet", imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg?_wi=1", imageAlt: "Marie Nkolo"
id: "2", name: "Marie Nkolo", role: "Ingénieur Projet", imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg", imageAlt: "Marie Nkolo"
},
{
id: "3", name: "Pierre Mbella", role: "Chef de Site", imageSrc: "http://img.b2bpic.net/free-photo/confident-architect-smiling_107420-74348.jpg?_wi=1", imageAlt: "Pierre Mbella"
id: "3", name: "Pierre Mbella", role: "Chef de Site", imageSrc: "http://img.b2bpic.net/free-photo/confident-architect-smiling_107420-74348.jpg", imageAlt: "Pierre Mbella"
},
{
id: "4", name: "Sophie Ngoh", role: "Coordinatrice", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-project_23-2148751960.jpg?_wi=1", imageAlt: "Sophie Ngoh"
id: "4", name: "Sophie Ngoh", role: "Coordinatrice", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-project_23-2148751960.jpg", imageAlt: "Sophie Ngoh"
}
]}
gridVariant="uniform-all-items-equal"
@@ -162,27 +163,27 @@ export default function LandingPage() {
testimonials={[
{
id: "1", name: "Alain Mboua", handle: "@alain.mboua", testimonial: "MACAM BTP a dépassé toutes mes attentes. Projet livré à temps et avec une qualité exceptionnelle. Équipe très professionnelle!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg?_wi=2", imageAlt: "Alain Mboua"
imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg", imageAlt: "Alain Mboua"
},
{
id: "2", name: "Cécile Dando", handle: "@cecile.dando", testimonial: "Un excellent partenaire pour nos projets. Communication transparente, suivi régulier et travail de très haut niveau.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg?_wi=2", imageAlt: "Cécile Dando"
imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg", imageAlt: "Cécile Dando"
},
{
id: "3", name: "Victor Eno", handle: "@victor.eno", testimonial: "MACAM BTP c'est la confiance. Depuis 5 ans, ils gèrent tous nos projets avec efficacité et sérieux.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-architect-smiling_107420-74348.jpg?_wi=2", imageAlt: "Victor Eno"
imageSrc: "http://img.b2bpic.net/free-photo/confident-architect-smiling_107420-74348.jpg", imageAlt: "Victor Eno"
},
{
id: "4", name: "Nadine Fouda", handle: "@nadine.fouda", testimonial: "Service impeccable du début à la fin. Je recommande vivement MACAM BTP à tous les entrepreneurs locaux.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-project_23-2148751960.jpg?_wi=2", imageAlt: "Nadine Fouda"
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-project_23-2148751960.jpg", imageAlt: "Nadine Fouda"
},
{
id: "5", name: "François Nkam", handle: "@francois.nkam", testimonial: "Professionnalisme, respect des délais et qualité irréprochable. Voilà ce qui caractérise MACAM BTP.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg?_wi=3", imageAlt: "François Nkam"
imageSrc: "http://img.b2bpic.net/free-photo/face-happy-male-executive-looking-camera-smiling_1262-14920.jpg", imageAlt: "François Nkam"
},
{
id: "6", name: "Georgette Motomo", handle: "@georgette.motomo", testimonial: "Une entreprise fiable et sérieuse. Mon projet a été traité avec la plus grande attention et respect.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg?_wi=3", imageAlt: "Georgette Motomo"
imageSrc: "http://img.b2bpic.net/free-photo/female-engineer-white-helmet-gear-holding-checklist-feels-confident_114579-14395.jpg", imageAlt: "Georgette Motomo"
}
]}
showRating={true}

View File

@@ -1,51 +1,31 @@
"use client";
import React, { SVGProps } from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '', ...props }) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox="0 0 300 100"
xmlns="http://www.w3.org/2000/svg"
className={className}
{...props}
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
dominantBaseline="middle"
textAnchor="middle"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;