From c21f450bce8c36c4c97b66b1fbb6a1fe7bc673d0 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:25:16 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4ea8a0d..c891d9b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -61,22 +61,21 @@ export default function LandingPage() { features={[ { id: 1, - title: "Dine-In", description: "Experience our welcoming dining room with scenic views. Family-owned hospitality since 2010.", imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-brown-cap-white-tee-her-friend-stylish-top-smiles-rests-street-cafe_197531-18193.jpg?_wi=1" + title: "Dine-In", description: "Experience our welcoming dining room with scenic views. Family-owned hospitality since 2010.", imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-brown-cap-white-tee-her-friend-stylish-top-smiles-rests-street-cafe_197531-18193.jpg" }, { id: 2, - title: "Takeout Available", description: "Enjoy our homemade classics at home. Call ahead at (870) 257-3595 for quick service.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-baked-fish-fillet-with-red-onions-narsharab-plate_140725-11495.jpg?_wi=1" + title: "Takeout Available", description: "Enjoy our homemade classics at home. Call ahead at (870) 257-3595 for quick service.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-baked-fish-fillet-with-red-onions-narsharab-plate_140725-11495.jpg" }, { id: 3, - title: "Open Until 7:00 PM", description: "Visit us for lunch or early dinner. Hours: 11 AM – 7 PM daily. Closed Mondays.", imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-brown-cap-white-tee-her-friend-stylish-top-smiles-rests-street-cafe_197531-18193.jpg?_wi=2" + title: "Open Until 7:00 PM", description: "Visit us for lunch or early dinner. Hours: 11 AM – 7 PM daily. Closed Mondays.", imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-brown-cap-white-tee-her-friend-stylish-top-smiles-rests-street-cafe_197531-18193.jpg" } ]} title="How to Enjoy Our Restaurant" description="Whether you prefer dining in our scenic restaurant or enjoying takeout at home, we're here to serve you." textboxLayout="default" useInvertedBackground={false} - mediaAnimation="slide-up" buttonAnimation="none" /> @@ -85,7 +84,7 @@ export default function LandingPage() { Date: Tue, 10 Mar 2026 19:25:17 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 ++++++++----------- 1 file changed, 27 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..068b867 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fontFamily?: string; + fill?: string; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'alphabetic' | 'mathematical' | 'inherit'; } -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, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1