diff --git a/src/app/page.tsx b/src/app/page.tsx index 726e883..7643b66 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia import ContactText from '@/components/sections/contact/ContactText'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Activity, Award, CheckCircle, Heart, Muscle, Shield, Spine, Zap } from 'lucide-react'; +import { Activity, Award, CheckCircle, Heart, Shield, Zap } from 'lucide-react'; export default function LandingPage() { return ( @@ -97,14 +97,14 @@ export default function LandingPage() { tagAnimation="slide-up" features={[ { - title: "Rééducation après blessure", description: "Accompagnement complet pour retrouver votre mobilité et force après accident ou traumatisme.", icon: Muscle, + title: "Rééducation après blessure", description: "Accompagnement complet pour retrouver votre mobilité et force après accident ou traumatisme.", icon: Activity, mediaItems: [ { imageSrc: "http://img.b2bpic.net/free-photo/female-doctor-helping-patient-with-exercise_23-2148328469.jpg", imageAlt: "Rehabilitation therapy session" }, { imageSrc: "http://img.b2bpic.net/free-photo/doctor-patient-ophthalmologist-s-office_23-2150923349.jpg", imageAlt: "Recovery progress measurement" } ] }, { - title: "Traitement des douleurs dorsales", description: "Solutions efficaces pour soulager mal de dos, lumbago et autres douleurs lombaires.", icon: Spine, + title: "Traitement des douleurs dorsales", description: "Solutions efficaces pour soulager mal de dos, lumbago et autres douleurs lombaires.", icon: Heart, mediaItems: [ { imageSrc: "http://img.b2bpic.net/free-photo/patient-doing-physical-rehabilitation-helped-by-therapists_23-2149227821.jpg", imageAlt: "Back pain treatment techniques" }, { imageSrc: "http://img.b2bpic.net/free-photo/portrait-patient-doctor-looking-camera_1170-2179.jpg", imageAlt: "Spinal therapy equipment" } diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..af72b98 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + width?: number; + height?: number; + fontSize?: number; + fontWeight?: number | string; + fontFamily?: string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + width = 200, + height = 100, + fontSize = 32, + fontWeight = "bold", fontFamily = "Arial, sans-serif", fill = "currentColor", className, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;