From 0b24dbffc9278aadacaecc9eca2781c7d29c455a Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 19:24:58 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5b73eb7..477027c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; -import { Award, CheckCircle, Droplet, Flame, Pipe, Wind, Wrench, Mail, Building2, Star, Zap, Users, MapPin } from 'lucide-react'; +import { Award, CheckCircle, Droplet, Flame, PipeIcon, Wind, Wrench, Mail, Building2, Star, Zap, Users, MapPin } from 'lucide-react'; export default function LandingPage() { return ( @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="mediumSizeLargeTitles" - background="grid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="gradient" secondaryButtonStyle="radial-glow" @@ -54,7 +54,7 @@ export default function LandingPage() { { text: "Demander un devis", href: "#contact" } ]} buttonAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/man-engaged-household-task_23-2151741241.jpg" imageAlt="Installation professionnelle de plomberie par BEST CELCIUS" mediaAnimation="slide-up" @@ -105,10 +105,10 @@ export default function LandingPage() { title: "Plomberie", description: "Installation, dépannage et rénovation de réseaux de plomberie pour résidentiels et professionnels.", icon: Droplet, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/technician-checking-heating-system-boiler-room_169016-53608.jpg?_wi=1", imageAlt: "Installation plomberie moderne" + imageSrc: "http://img.b2bpic.net/free-photo/technician-checking-heating-system-boiler-room_169016-53608.jpg", imageAlt: "Installation plomberie moderne" }, { - imageSrc: "http://img.b2bpic.net/free-photo/technician-checking-heating-system-boiler-room_169016-53608.jpg?_wi=2", imageAlt: "Rénovation salle de bain" + imageSrc: "http://img.b2bpic.net/free-photo/technician-checking-heating-system-boiler-room_169016-53608.jpg", imageAlt: "Rénovation salle de bain" } ] }, @@ -116,10 +116,10 @@ export default function LandingPage() { title: "Chauffage", description: "Installation, entretien et remplacement de systèmes de chauffage performants et économes.", icon: Flame, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/modern-automobile-mechanic-composition_23-2147881677.jpg?_wi=1", imageAlt: "Système de chauffage professionnel" + imageSrc: "http://img.b2bpic.net/free-photo/modern-automobile-mechanic-composition_23-2147881677.jpg", imageAlt: "Système de chauffage professionnel" }, { - imageSrc: "http://img.b2bpic.net/free-photo/modern-automobile-mechanic-composition_23-2147881677.jpg?_wi=2", imageAlt: "Installation chaudière moderne" + imageSrc: "http://img.b2bpic.net/free-photo/modern-automobile-mechanic-composition_23-2147881677.jpg", imageAlt: "Installation chaudière moderne" } ] }, @@ -127,21 +127,21 @@ export default function LandingPage() { title: "Ventilation", description: "VMC et systèmes de ventilation pour une meilleure qualité d'air intérieur.", icon: Wind, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/industry-40-photovoltaics-plant-manager-overseeing-work-done-by-employees_482257-120485.jpg?_wi=1", imageAlt: "Système de ventilation VMC" + imageSrc: "http://img.b2bpic.net/free-photo/industry-40-photovoltaics-plant-manager-overseeing-work-done-by-employees_482257-120485.jpg", imageAlt: "Système de ventilation VMC" }, { - imageSrc: "http://img.b2bpic.net/free-photo/industry-40-photovoltaics-plant-manager-overseeing-work-done-by-employees_482257-120485.jpg?_wi=2", imageAlt: "Installation ventilation bâtiment" + imageSrc: "http://img.b2bpic.net/free-photo/industry-40-photovoltaics-plant-manager-overseeing-work-done-by-employees_482257-120485.jpg", imageAlt: "Installation ventilation bâtiment" } ] }, { - title: "Réseaux & Tuyauterie", description: "Réseaux eau, gaz et tuyauterie industrielle pour tous types de projets.", icon: Pipe, + title: "Réseaux & Tuyauterie", description: "Réseaux eau, gaz et tuyauterie industrielle pour tous types de projets.", icon: PipeIcon, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/steel-pipelines-cables-plant_1359-130.jpg?_wi=1", imageAlt: "Réseaux d'eau professionnels" + imageSrc: "http://img.b2bpic.net/free-photo/steel-pipelines-cables-plant_1359-130.jpg", imageAlt: "Réseaux d'eau professionnels" }, { - imageSrc: "http://img.b2bpic.net/free-photo/steel-pipelines-cables-plant_1359-130.jpg?_wi=2", imageAlt: "Tuyauterie industrielle" + imageSrc: "http://img.b2bpic.net/free-photo/steel-pipelines-cables-plant_1359-130.jpg", imageAlt: "Tuyauterie industrielle" } ] } @@ -234,7 +234,7 @@ export default function LandingPage() { description="Remplissez le formulaire ci-dessous et recevez un devis personnalisé sous 48h. BEST CELCIUS vous répond rapidement." tagIcon={Mail} tagAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={true} imageSrc="http://img.b2bpic.net/free-photo/close-up-person-working-call-center_23-2149288157.jpg" imageAlt="Contact et devis BEST CELCIUS" From 0be5ee71ccc9a5f208f892f9fd95953702561c2d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 19:24:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 ++++++++----------- 1 file changed, 29 insertions(+), 40 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d815385 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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"; - className?: string; + text: string; + fontSize?: number; + fontWeight?: number | string; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'hanging' | 'middle' | 'ideographic' | 'alphabetic' | 'central' | 'mathematical' | 'inherit'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 24, + fontWeight = 'bold', + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + textAnchor = 'start', + dominantBaseline = 'middle' +}) => { return ( - + - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file