From e1d18841772ecfa9b345a66bdae72d33429c6af2 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:33:08 +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 918567e..d645151 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,7 +50,7 @@ export default function LandingPage() { { text: "View Menu", href: "#features" } ]} buttonAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/spoon-napkin-near-delectable-food_23-2147930011.jpg" imageAlt="Exquisite Spanish tapas and dishes" mediaAnimation="blur-reveal" @@ -119,7 +119,7 @@ export default function LandingPage() { { src: "http://img.b2bpic.net/free-photo/smiley-woman-with-curly-hair-posing_23-2148728584.jpg", alt: "Guest testimonial avatar 4" } ]} ratingAnimation="slide-up" - avatarsAnimation="fade-in" + avatarsAnimation="slide-up" useInvertedBackground={false} ariaLabel="Guest testimonials for Casa Ibérica" /> @@ -172,7 +172,7 @@ export default function LandingPage() { { text: "Contact Us", href: "mailto:info@casaiberica.com" } ]} buttonAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} ariaLabel="Contact and reservation section" /> -- 2.49.1 From dd820dcdbf1276abea2bf660b1ed2a276db70821 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:33:09 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 ++++++++----------- 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b5b78da 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central'; } -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 = '', + fontSize = 48, + fontWeight = 700, + letterSpacing = 0, + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1