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" /> 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