From 5fa5e1d91cd9b056713ff4149342724c65e426a4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:08:31 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 52e4b1b..d8cbd5e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -45,7 +45,7 @@ export default function LandingPage() { tag="Profesionales con experiencia" tagIcon={Wrench} tagAnimation="slide-up" - background={{ variant: "glowing-orb" }} + background={{ variant: "circleGradient" }} kpis={[ { value: "+15 años", label: "Experiencia en reparación" }, { value: "98%", label: "Satisfacción de clientes" }, @@ -184,7 +184,7 @@ export default function LandingPage() { tagAnimation="slide-up" title="Pide tu presupuesto sin compromiso" description="Contacta con Talleres VR para solicitar un presupuesto personalizado. Nuestro equipo atenderá tu consulta y te asesorará sobre el mejor servicio para tu vehículo." - background={{ variant: "glowing-orb" }} + background={{ variant: "circleGradient" }} useInvertedBackground={false} inputPlaceholder="Tu correo electrónico" buttonText="Enviar" -- 2.49.1 From 1cb42cd560f755605112788a87e2f98a1fd1213d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:08:31 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 95 ++++++++++--------- 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6be1410 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,54 @@ -"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"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontWeight?: string | number; + fontFamily?: string; + fill?: string; + dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging' | 'text-top' | 'text-bottom' | 'central' | 'mathematical' | 'inherit'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text = 'Logo', + fontSize = 48, + fontWeight = 'bold', + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = 'currentColor', + dominantBaseline = 'central', + viewBox = '0 0 200 60', + width = 200, + height = 60, + ...props + }, + ref + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +SvgTextLogo.displayName = 'SvgTextLogo'; -- 2.49.1