From dea35564964e99775da44e055f60d982a84fecff Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:35:37 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cc52636..161a3a5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -55,14 +55,15 @@ export default function LandingPage() { imageAlt="Delicious Chinese takeaway dish" mediaAnimation="blur-reveal" imagePosition="right" + background={{ variant: "glowing-orb" }} testimonials={[ { name: "Sarah Chen", handle: "Regular Customer", testimonial: "Best Chinese takeaway in town! Always fresh and delicious.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-young-pretty-caucasian-girl-smiling-camera-isolated-crimson-background_141793-32121.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/happy-young-pretty-caucasian-girl-smiling-camera-isolated-crimson-background_141793-32121.jpg" }, { name: "Michael Zhang", handle: "Food Enthusiast", testimonial: "Authentic flavors that remind me of home. Highly recommended!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-blonde-russian-girl-puts-hands-chest-looking-side-isolated-orange-background-with-copy-space_141793-65450.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-blonde-russian-girl-puts-hands-chest-looking-side-isolated-orange-background-with-copy-space_141793-65450.jpg" } ]} testimonialRotationInterval={5000} @@ -144,11 +145,11 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Jennifer Liu", handle: "Regular Customer", testimonial: "Absolutely love the quality and taste. It's like dining at an authentic Chinese restaurant from the comfort of home!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-young-pretty-caucasian-girl-smiling-camera-isolated-crimson-background_141793-32121.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/happy-young-pretty-caucasian-girl-smiling-camera-isolated-crimson-background_141793-32121.jpg" }, { id: "2", name: "David Wong", handle: "Food Critic", testimonial: "Outstanding flavors and generous portions. The best Chinese takeaway I've ever ordered from.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-blonde-russian-girl-puts-hands-chest-looking-side-isolated-orange-background-with-copy-space_141793-65450.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-blonde-russian-girl-puts-hands-chest-looking-side-isolated-orange-background-with-copy-space_141793-65450.jpg" }, { id: "3", name: "Emily Rodriguez", handle: "Busy Professional", testimonial: "Fast delivery, hot food, and consistently delicious. This is my go-to place for weeknight dinners.", rating: 5, -- 2.49.1 From 5b7230f8b95e22492763c45bd67ccc1dcab79eaa Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:35:37 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 57 +++++++------------ 1 file changed, 20 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..305d505 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; + textClassName?: string; } -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 = '', + textClassName = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1