From cf5c2d510358951d74b211f3e71870789ac43046 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:02:01 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2be77c1..71b3653 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="largeSmallSizeMediumTitles" - background="floatingGradient" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { tag="Comida Saludable" tagIcon={Leaf} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/lunch-setup-restaurant-near-window-floor-stand-lamp_140725-1572.jpg" imageAlt="Delicioso brunch saludable con ingredientes frescos" buttons={[ @@ -124,7 +124,7 @@ export default function LandingPage() { description="Reserva tu mesa, pide para llevar o contáctanos por WhatsApp. Estamos en Plaza Kentro, Atlixcáyotl 3432." tagIcon={Calendar} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/waiter-hand-gloves-worker-is-engaged-serving-table_146671-14407.jpg" imageAlt="Ambiente acogedor de Dulce Hábito" -- 2.49.1 From c5976efbe10dd82a3900cbdc1a97aaf0a52a2ad7 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:02:01 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 61 ++++++++----------- 1 file changed, 24 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7b0b785 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontSize?: number; + 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, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1