diff --git a/src/app/page.tsx b/src/app/page.tsx index 32a965e..fc30021 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCar import MetricCardOne from '@/components/sections/metrics/MetricCardOne'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; -import { Award, CheckCircle, Clock, Droplet, Hammer, Phone, Pipe, Star, Wrench, Zap, AlertTriangle } from 'lucide-react'; +import { Award, CheckCircle, Clock, Droplet, Hammer, Phone, Star, Wrench, Zap, AlertTriangle } from 'lucide-react'; export default function LandingPage() { return ( @@ -74,7 +74,7 @@ export default function LandingPage() { { icon: Droplet, title: "Instalación de Boilers", description: "Instalación profesional de sistemas de calentamiento de agua para tu hogar" }, { icon: Wrench, title: "Reparación de Fugas", description: "Detección y reparación rápida de fugas de agua y gas con garantía" }, { icon: Zap, title: "Bombas Hidráulicas", description: "Instalación y mantenimiento de sistemas de bombas para agua" }, - { icon: Pipe, title: "Instalación WC y Mezcladoras", description: "Instalación profesional de sanitarios y grifería moderna" }, + { icon: AlertTriangle, title: "Instalación WC y Mezcladoras", description: "Instalación profesional de sanitarios y grifería moderna" }, { icon: AlertTriangle, title: "Revisión de Gas", description: "Inspección segura y mantenimiento de instalaciones de gas LP" }, { icon: Hammer, title: "Mantenimiento Integral", description: "Mantenimiento preventivo de sistemas hidráulicos y sanitarios" } ]} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..762c670 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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 { + text: 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, className = '', ...props }) => { return ( + + + + + + - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file