From bc69809b0587458a61cf86229a33583d57fb62ee Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 21:05:22 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3093ebc..9548f89 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="largeSizeMediumTitles" - background="grid" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="double-inset" secondaryButtonStyle="radial-glow" @@ -46,6 +46,7 @@ export default function LandingPage() { tag="Premium Diner Experience" tagIcon={Flame} tagAnimation="slide-up" + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/front-view-burger-red-tasty-fried-inside-plate-light-wall_140725-11599.jpg" imageAlt="Juicy smashed burger with golden fries" mediaAnimation="blur-reveal" @@ -152,16 +153,13 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "classic", brand: "PHO Burger", name: "The Classic Smash", price: "$9.99", rating: 5, - reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-fresh-bacon-burgers_23-2148784482.jpg", imageAlt: "classic smashed burger single patty" + id: "classic", brand: "PHO Burger", name: "The Classic Smash", price: "$9.99", rating: 5, reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-fresh-bacon-burgers_23-2148784482.jpg", imageAlt: "classic smashed burger single patty" }, { - id: "deluxe", brand: "PHO Burger", name: "Deluxe Double Stack", price: "$13.99", rating: 5, - reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/front-view-burgers-with-pickles_23-2148784495.jpg", imageAlt: "double stack burger two patties premium" + id: "deluxe", brand: "PHO Burger", name: "Deluxe Double Stack", price: "$13.99", rating: 5, reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/front-view-burgers-with-pickles_23-2148784495.jpg", imageAlt: "double stack burger two patties premium" }, { - id: "specialty", brand: "PHO Burger", name: "Specialty Crispy Chicken", price: "$11.99", rating: 5, - reviewCount: "750", imageSrc: "http://img.b2bpic.net/free-vector/restaurant-menu-template_23-2148599036.jpg", imageAlt: "crispy fried chicken burger sandwich" + id: "specialty", brand: "PHO Burger", name: "Specialty Crispy Chicken", price: "$11.99", rating: 5, reviewCount: "750", imageSrc: "http://img.b2bpic.net/free-vector/restaurant-menu-template_23-2148599036.jpg", imageAlt: "crispy fried chicken burger sandwich" } ]} textboxLayout="default" @@ -198,28 +196,22 @@ export default function LandingPage() { tagAnimation="slide-up" testimonials={[ { - id: "1", name: "Jessica Wong", handle: "@jess.eats", testimonial: "The smash technique changed my burger game forever. Best lunch decision I've made in years!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-casual-clothes-shouting-yelling-being-frustrated-being-frustrated-pulling-her-hair-standing-pink_141793-127987.jpg", imageAlt: "young woman food blogger portrait smiling" + id: "1", name: "Jessica Wong", handle: "@jess.eats", testimonial: "The smash technique changed my burger game forever. Best lunch decision I've made in years!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-casual-clothes-shouting-yelling-being-frustrated-being-frustrated-pulling-her-hair-standing-pink_141793-127987.jpg", imageAlt: "young woman food blogger portrait smiling" }, { - id: "2", name: "David Kumar", handle: "@david.foodie", testimonial: "Premium quality at fast-casual prices? PHO Burger proves it's possible. Drive-thru service is flawless.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-handsome-guy-sunglasses-eating-fast-food-spending-time-outdoors_8353-6330.jpg", imageAlt: "man 30-35 confident professional smile" + id: "2", name: "David Kumar", handle: "@david.foodie", testimonial: "Premium quality at fast-casual prices? PHO Burger proves it's possible. Drive-thru service is flawless.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-handsome-guy-sunglasses-eating-fast-food-spending-time-outdoors_8353-6330.jpg", imageAlt: "man 30-35 confident professional smile" }, { - id: "3", name: "Amanda Mitchell", handle: "@amanda.feeds.family", testimonial: "The whole family is obsessed. My kids request PHO Burger instead of other chains. That says everything.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-blonde-woman-little-girl_23-2148283125.jpg", imageAlt: "woman family mom portrait smiling" + id: "3", name: "Amanda Mitchell", handle: "@amanda.feeds.family", testimonial: "The whole family is obsessed. My kids request PHO Burger instead of other chains. That says everything.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-blonde-woman-little-girl_23-2148283125.jpg", imageAlt: "woman family mom portrait smiling" }, { - id: "4", name: "Carlos Reyes", handle: "@carlos.chef", testimonial: "As someone who cooks professionally, I respect the craft here. They don't cut corners on quality or flavor.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-male-chef-wearing-uniform-keeping-hands-together-looking-side-isolated-brown-background_141793-133839.jpg", imageAlt: "professional chef portrait headshot" + id: "4", name: "Carlos Reyes", handle: "@carlos.chef", testimonial: "As someone who cooks professionally, I respect the craft here. They don't cut corners on quality or flavor.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-male-chef-wearing-uniform-keeping-hands-together-looking-side-isolated-brown-background_141793-133839.jpg", imageAlt: "professional chef portrait headshot" }, { - id: "5", name: "Sophie Laurent", handle: "@sophie.travels", testimonial: "This is Instagram-worthy food that's also incredibly delicious. The nostalgia vibe is chef's kiss!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-posing-outdoors_23-2148486225.jpg", imageAlt: "woman food photographer smiling portrait" + id: "5", name: "Sophie Laurent", handle: "@sophie.travels", testimonial: "This is Instagram-worthy food that's also incredibly delicious. The nostalgia vibe is chef's kiss!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-posing-outdoors_23-2148486225.jpg", imageAlt: "woman food photographer smiling portrait" }, { - id: "6", name: "Marcus Bailey", handle: "@marcus.foodcrit", testimonial: "PHO Burger bridges the gap between fine dining craft and convenient street food perfectly. Bravo.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-young-handsome-barber-wearing-uniform-combing-his-beard-isolated-purple-with-copy-space_141793-76922.jpg", imageAlt: "professional man food critic portrait" + id: "6", name: "Marcus Bailey", handle: "@marcus.foodcrit", testimonial: "PHO Burger bridges the gap between fine dining craft and convenient street food perfectly. Bravo.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/confident-young-handsome-barber-wearing-uniform-combing-his-beard-isolated-purple-with-copy-space_141793-76922.jpg", imageAlt: "professional man food critic portrait" } ]} showRating={true} @@ -238,7 +230,7 @@ export default function LandingPage() { { text: "Order Online", href: "#" }, { text: "Visit Our Location", href: "#" } ]} - background={{ variant: "grid" }} + background={{ variant: "plain" }} useInvertedBackground={false} /> -- 2.49.1 From 1c04f9b970789d8a69962c3941e970910b5fc80a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 21:05:22 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 50 ++++++------------- 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ff1e74b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,29 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1