Merge version_1 into main #2
@@ -53,7 +53,7 @@ export default function LandingPage() {
|
||||
{ text: "En Savoir Plus", href: "about" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-women-table-library_23-2147678959.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-women-table-library_23-2147678959.jpg"
|
||||
imageAlt="Équipe professionnelle de service local"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
@@ -82,13 +82,13 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
features={[
|
||||
{
|
||||
title: "Consultation Professionnelle", description: "Conseils experts adaptés à votre situation spécifique", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg?_wi=1", imageAlt: "Consultation professionnelle", buttonIcon: ArrowRight
|
||||
title: "Consultation Professionnelle", description: "Conseils experts adaptés à votre situation spécifique", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg", imageAlt: "Consultation professionnelle", buttonIcon: ArrowRight
|
||||
},
|
||||
{
|
||||
title: "Support Technique", description: "Assistance rapide et efficace pour vos questions", imageSrc: "http://img.b2bpic.net/free-photo/data-center-manager-supervising-work-done-by-employee-verifying-parameters_482257-126222.jpg?_wi=1", imageAlt: "Support technique", buttonIcon: ArrowRight
|
||||
title: "Support Technique", description: "Assistance rapide et efficace pour vos questions", imageSrc: "http://img.b2bpic.net/free-photo/data-center-manager-supervising-work-done-by-employee-verifying-parameters_482257-126222.jpg", imageAlt: "Support technique", buttonIcon: ArrowRight
|
||||
},
|
||||
{
|
||||
title: "Coaching Stratégique", description: "Guidage personnalisé pour votre développement", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-book-club_23-2150059055.jpg?_wi=1", imageAlt: "Coaching stratégique", buttonIcon: ArrowRight
|
||||
title: "Coaching Stratégique", description: "Guidage personnalisé pour votre développement", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-book-club_23-2150059055.jpg", imageAlt: "Coaching stratégique", buttonIcon: ArrowRight
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -105,10 +105,10 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
metrics={[
|
||||
{
|
||||
id: "1", value: "98%", title: "Satisfaction Clients", description: "Taux de satisfaction élevé selon nos enquêtes", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg?_wi=1", imageAlt: "Équipe satisfaite"
|
||||
id: "1", value: "98%", title: "Satisfaction Clients", description: "Taux de satisfaction élevé selon nos enquêtes", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg", imageAlt: "Équipe satisfaite"
|
||||
},
|
||||
{
|
||||
id: "2", value: "24h", title: "Réponse Rapide", description: "Délai moyen de réponse à vos demandes", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg?_wi=2", imageAlt: "Support rapide"
|
||||
id: "2", value: "24h", title: "Réponse Rapide", description: "Délai moyen de réponse à vos demandes", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg", imageAlt: "Support rapide"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -126,22 +126,22 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Marie Dubois, Directrice d'Entreprise", date: "Date: 15 Janvier 2025", title: "Un service exemplaire!", quote: "Depuis trois ans, nous travaillons avec cette équipe. Leur professionnalisme et leur écoute ont transformé notre activité. Je les recommande vivement à tous les entrepreneurs locaux.", tag: "Partenariat Long Terme", avatarSrc: "http://img.b2bpic.net/free-photo/satisfied-successful-boss-showing-thumb-up-approve-praise-good-work-standing-white-backgrou_1258-111240.jpg", avatarAlt: "Marie Dubois", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg?_wi=2"
|
||||
id: "1", name: "Marie Dubois, Directrice d'Entreprise", date: "Date: 15 Janvier 2025", title: "Un service exemplaire!", quote: "Depuis trois ans, nous travaillons avec cette équipe. Leur professionnalisme et leur écoute ont transformé notre activité. Je les recommande vivement à tous les entrepreneurs locaux.", tag: "Partenariat Long Terme", avatarSrc: "http://img.b2bpic.net/free-photo/satisfied-successful-boss-showing-thumb-up-approve-praise-good-work-standing-white-backgrou_1258-111240.jpg", avatarAlt: "Marie Dubois", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Jean-Pierre Martin, Chef d'Entreprise", date: "Date: 20 Décembre 2024", title: "Réactifs et compétents", quote: "L'équipe a résolu nos problèmes en moins de 48 heures. Leur expertise locale et leur engagement font toute la différence.", tag: "Service d'Excellence", avatarSrc: "http://img.b2bpic.net/free-photo/side-view-woman-cafe-using-sign-language_23-2148740291.jpg", avatarAlt: "Jean-Pierre Martin", imageSrc: "http://img.b2bpic.net/free-photo/data-center-manager-supervising-work-done-by-employee-verifying-parameters_482257-126222.jpg?_wi=2"
|
||||
id: "2", name: "Jean-Pierre Martin, Chef d'Entreprise", date: "Date: 20 Décembre 2024", title: "Réactifs et compétents", quote: "L'équipe a résolu nos problèmes en moins de 48 heures. Leur expertise locale et leur engagement font toute la différence.", tag: "Service d'Excellence", avatarSrc: "http://img.b2bpic.net/free-photo/side-view-woman-cafe-using-sign-language_23-2148740291.jpg", avatarAlt: "Jean-Pierre Martin", imageSrc: "http://img.b2bpic.net/free-photo/data-center-manager-supervising-work-done-by-employee-verifying-parameters_482257-126222.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Sophie Leclerc, Responsable Projet", date: "Date: 10 Décembre 2024", title: "Accompagnement de qualité", quote: "Leur coaching nous a permis de structurer notre croissance. Ils comprennent vraiment les enjeux des petites et moyennes entreprises.", tag: "Développement Stratégique", avatarSrc: "http://img.b2bpic.net/free-photo/happy-man-white_1368-6366.jpg", avatarAlt: "Sophie Leclerc", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-book-club_23-2150059055.jpg?_wi=2"
|
||||
id: "3", name: "Sophie Leclerc, Responsable Projet", date: "Date: 10 Décembre 2024", title: "Accompagnement de qualité", quote: "Leur coaching nous a permis de structurer notre croissance. Ils comprennent vraiment les enjeux des petites et moyennes entreprises.", tag: "Développement Stratégique", avatarSrc: "http://img.b2bpic.net/free-photo/happy-man-white_1368-6366.jpg", avatarAlt: "Sophie Leclerc", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-book-club_23-2150059055.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Laurent Fontaine, Gérant", date: "Date: 05 Décembre 2024", title: "Notre meilleur investissement", quote: "Grâce à leur soutien, nous avons augmenté notre rentabilité de 35% en un an. Des professionnels à votre écoute.", tag: "Résultats Mesurables", avatarSrc: "http://img.b2bpic.net/free-photo/worker-gesturing-with-his-left-hand_1149-184.jpg", avatarAlt: "Laurent Fontaine", imageSrc: "http://img.b2bpic.net/free-photo/man-women-table-library_23-2147678959.jpg?_wi=2"
|
||||
id: "4", name: "Laurent Fontaine, Gérant", date: "Date: 05 Décembre 2024", title: "Notre meilleur investissement", quote: "Grâce à leur soutien, nous avons augmenté notre rentabilité de 35% en un an. Des professionnels à votre écoute.", tag: "Résultats Mesurables", avatarSrc: "http://img.b2bpic.net/free-photo/worker-gesturing-with-his-left-hand_1149-184.jpg", avatarAlt: "Laurent Fontaine", imageSrc: "http://img.b2bpic.net/free-photo/man-women-table-library_23-2147678959.jpg"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Isabelle Renard, Consultante", date: "Date: 28 Novembre 2024", title: "Transparence et honnêteté", quote: "Rarissime dans le secteur: une équipe honnête qui dit ce qu'elle peut faire. Ils ont gagné notre confiance pour longtemps.", tag: "Intégrité Professionnelle", avatarSrc: "http://img.b2bpic.net/free-photo/satisfied-successful-boss-showing-thumb-up-approve-praise-good-work-standing-white-backgrou_1258-111240.jpg", avatarAlt: "Isabelle Renard", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg?_wi=3"
|
||||
id: "5", name: "Isabelle Renard, Consultante", date: "Date: 28 Novembre 2024", title: "Transparence et honnêteté", quote: "Rarissime dans le secteur: une équipe honnête qui dit ce qu'elle peut faire. Ils ont gagné notre confiance pour longtemps.", tag: "Intégrité Professionnelle", avatarSrc: "http://img.b2bpic.net/free-photo/satisfied-successful-boss-showing-thumb-up-approve-praise-good-work-standing-white-backgrou_1258-111240.jpg", avatarAlt: "Isabelle Renard", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-cheerful-student-girl-with-light-hair-bob-hairstyle-sitting-meeting-with-friend-from-university-doing-team-project-searching-information-laptop_176420-8303.jpg"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Thomas Bertrand, Directeur", date: "Date: 15 Novembre 2024", title: "Un vrai partenaire", quote: "Pas juste un prestataire, un vrai partenaire. Ils pensent à nos intérêts autant qu'aux leurs. Recommandation 100%.", tag: "Partenariat Authentique", avatarSrc: "http://img.b2bpic.net/free-photo/side-view-woman-cafe-using-sign-language_23-2148740291.jpg", avatarAlt: "Thomas Bertrand", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg?_wi=3"
|
||||
id: "6", name: "Thomas Bertrand, Directeur", date: "Date: 15 Novembre 2024", title: "Un vrai partenaire", quote: "Pas juste un prestataire, un vrai partenaire. Ils pensent à nos intérêts autant qu'aux leurs. Recommandation 100%.", tag: "Partenariat Authentique", avatarSrc: "http://img.b2bpic.net/free-photo/side-view-woman-cafe-using-sign-language_23-2148740291.jpg", avatarAlt: "Thomas Bertrand", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-workers-office-working-together-finishing-project_482257-126470.jpg"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
|
||||
@@ -1,51 +1,40 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
className?: string;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
fill?: 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 = '',
|
||||
fontSize = 32,
|
||||
fontWeight = 700,
|
||||
fill = 'currentColor',
|
||||
}) => {
|
||||
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 ${text.length * fontSize * 0.6} ${fontSize * 1.2}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<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="central"
|
||||
textAnchor="middle"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
fontFamily="inherit"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user