From 7b86105de0debbc9b84049bcf60cbf2b819a5443 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:26:48 +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 5c5dc82..7247e1b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -43,7 +43,7 @@ export default function LandingPage() { background={{ variant: "plain" }} tag="North Beach's Favorite" tagIcon={Star} - tagAnimation="entrance-slide" + tagAnimation="slide-up" imageSrc="http://img.b2bpic.net/free-photo/closeup-eclairs-yellow-glaze-black-background_169016-18562.jpg" imageAlt="Fresh golden Argentine churros on a plate" mediaAnimation="slide-up" @@ -51,7 +51,7 @@ export default function LandingPage() { { text: "Visit Us Today", href: "contact" }, { text: "Learn More", href: "about" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" /> -- 2.49.1 From 7d228d461cac4bbb3907d237352ccb26c2dd8085 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:26:49 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 +++++++++---------- 1 file changed, 32 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2753102 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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?: 'normal' | 'bold' | 'lighter'; + textColor?: string; + strokeColor?: string; + strokeWidth?: number; } -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 = 'bold', + textColor = '#000000', + strokeColor = 'none', + strokeWidth = 0, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1