From 15e45a72c325c55332f720418c3740997743768d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 22:11:22 +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 1c1dc7c..af0090f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -64,7 +64,7 @@ export default function LandingPage() { description="Since opening our doors, The Great Indian Kitchen has been dedicated to bringing authentic Indian flavors to your table. Our master chefs combine traditional cooking techniques with the finest spices imported from India, ensuring every dish tells a story of heritage and passion." tag="Our Story" tagIcon={Heart} - tagAnimation="fade-in" + tagAnimation="slide-up" buttons={[ { text: "Learn More", href: "#" } ]} @@ -105,10 +105,10 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 22:11:23 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 ++++++++----------- 1 file changed, 28 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..98b5095 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; + letterSpacing?: number; + fill?: string; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'mathematical' | 'central' | 'middle' | 'text-bottom' | 'ideographic' | 'alphabetic'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + className = '', + fontSize = 48, + letterSpacing = 2, + fill = '#000000', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1