From ffe70be2a96fec72cc3bb87294d5861c022dfa3b Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:19:29 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 10e10c5..18b2165 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import FeatureCardThree from '@/components/sections/feature/featureCardThree/Fea import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen'; import ContactCenter from '@/components/sections/contact/ContactCenter'; import FooterMedia from '@/components/sections/footer/FooterMedia'; -import { Star, Users, Chef, Award } from 'lucide-react'; +import { Star, Users, Award } from 'lucide-react'; export default function LandingPage() { return ( @@ -54,19 +54,19 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Mitchell", handle: "Regular Guest", testimonial: "Exceptional cuisine and impeccable service. A truly unforgettable dining experience.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg?_wi=1", imageAlt: "Sarah Mitchell" + imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg", imageAlt: "Sarah Mitchell" }, { name: "Michael Chen", handle: "Food Critic", testimonial: "The perfect blend of tradition and innovation. Tour d'Argent sets the standard for fine dining.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg?_wi=1", imageAlt: "Michael Chen" + imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg", imageAlt: "Michael Chen" }, { name: "Emma Laurent", handle: "Restaurant Enthusiast", testimonial: "Every detail is perfected. The ambiance, the food, the service - absolutely remarkable.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg?_wi=1", imageAlt: "Emma Laurent" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg", imageAlt: "Emma Laurent" }, { name: "David Romano", handle: "Sommelier", testimonial: "The wine selection and culinary pairings are exceptional. Highly recommended.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg?_wi=1", imageAlt: "David Romano" + imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg", imageAlt: "David Romano" } ]} /> @@ -80,7 +80,7 @@ export default function LandingPage() { metrics={[ { icon: Star, label: "Guest Rating", value: "5.0" }, { icon: Users, label: "Satisfied Guests", value: "10,000+" }, - { icon: Chef, label: "Years of Excellence", value: "25+" }, + { icon: Award, label: "Years of Excellence", value: "25+" }, { icon: Award, label: "Michelin Stars", value: "2" } ]} /> @@ -97,22 +97,22 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "starter-1", name: "Foie Gras Terrine", price: "$48", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=1", imageAlt: "Foie Gras Terrine appetizer" + id: "starter-1", name: "Foie Gras Terrine", price: "$48", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Foie Gras Terrine appetizer" }, { - id: "starter-2", name: "Oyster Selection", price: "$42", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=1", imageAlt: "Fresh oyster selection" + id: "starter-2", name: "Oyster Selection", price: "$42", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Fresh oyster selection" }, { - id: "main-1", name: "Duck Confit", price: "$68", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=1", imageAlt: "Pan-seared duck confit" + id: "main-1", name: "Duck Confit", price: "$68", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Pan-seared duck confit" }, { - id: "main-2", name: "Sole Meunière", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=2", imageAlt: "Sole meunière with brown butter" + id: "main-2", name: "Sole Meunière", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Sole meunière with brown butter" }, { - id: "main-3", name: "Beef Wellington", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=2", imageAlt: "Beef Wellington with truffle" + id: "main-3", name: "Beef Wellington", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Beef Wellington with truffle" }, { - id: "dessert-1", name: "Chocolate Soufflé", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=2", imageAlt: "Warm chocolate soufflé" + id: "dessert-1", name: "Chocolate Soufflé", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Warm chocolate soufflé" } ]} /> @@ -129,13 +129,13 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" features={[ { - id: "01", title: "Duck à l'Orange", description: "Our legendary signature dish, prepared with meticulous attention to detail and served with an exquisite orange gastrique.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=3", imageAlt: "Duck à l'Orange signature dish" + id: "01", title: "Duck à l'Orange", description: "Our legendary signature dish, prepared with meticulous attention to detail and served with an exquisite orange gastrique.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Duck à l'Orange signature dish" }, { - id: "02", title: "Lobster Thermidor", description: "A classic French delicacy featuring tender lobster meat in a creamy béchamel sauce with Gruyère cheese.", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=3", imageAlt: "Lobster Thermidor" + id: "02", title: "Lobster Thermidor", description: "A classic French delicacy featuring tender lobster meat in a creamy béchamel sauce with Gruyère cheese.", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Lobster Thermidor" }, { - id: "03", title: "Crêpes Suzette", description: "The ultimate French dessert experience with thin crêpes in a citrus butter sauce, tableside flambé preparation.", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=3", imageAlt: "Crêpes Suzette dessert" + id: "03", title: "Crêpes Suzette", description: "The ultimate French dessert experience with thin crêpes in a citrus butter sauce, tableside flambé preparation.", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Crêpes Suzette dessert" } ]} /> @@ -176,16 +176,16 @@ export default function LandingPage() { useInvertedBackground={false} testimonials={[ { - id: "1", title: "An Unforgettable Evening", quote: "Every aspect was perfect - from the warm welcome to the expertly prepared dishes. Tour d'Argent exceeded all our expectations and we can't wait to return.", name: "Sarah Mitchell", role: "Food & Wine Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg?_wi=2", imageAlt: "Sarah Mitchell" + id: "1", title: "An Unforgettable Evening", quote: "Every aspect was perfect - from the warm welcome to the expertly prepared dishes. Tour d'Argent exceeded all our expectations and we can't wait to return.", name: "Sarah Mitchell", role: "Food & Wine Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg", imageAlt: "Sarah Mitchell" }, { - id: "2", title: "Culinary Mastery", quote: "The chef's attention to detail is remarkable. Each dish was a work of art, beautifully presented and absolutely delicious. The service was impeccable.", name: "Michael Chen", role: "Restaurant Critic", imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg?_wi=2", imageAlt: "Michael Chen" + id: "2", title: "Culinary Mastery", quote: "The chef's attention to detail is remarkable. Each dish was a work of art, beautifully presented and absolutely delicious. The service was impeccable.", name: "Michael Chen", role: "Restaurant Critic", imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg", imageAlt: "Michael Chen" }, { - id: "3", title: "Perfect for Special Occasions", quote: "We celebrated our anniversary here and it was magical. The ambiance, the food, the wine pairings - everything was absolutely perfect. Highly recommended!", name: "Emma Laurent", role: "Frequent Diner", imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg?_wi=2", imageAlt: "Emma Laurent" + id: "3", title: "Perfect for Special Occasions", quote: "We celebrated our anniversary here and it was magical. The ambiance, the food, the wine pairings - everything was absolutely perfect. Highly recommended!", name: "Emma Laurent", role: "Frequent Diner", imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg", imageAlt: "Emma Laurent" }, { - id: "4", title: "Wine Selection Excellence", quote: "The sommelier was incredibly knowledgeable and helped us choose the perfect wines to complement each course. A truly exceptional dining experience.", name: "David Romano", role: "Sommelier & Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg?_wi=2", imageAlt: "David Romano" + id: "4", title: "Wine Selection Excellence", quote: "The sommelier was incredibly knowledgeable and helped us choose the perfect wines to complement each course. A truly exceptional dining experience.", name: "David Romano", role: "Sommelier & Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg", imageAlt: "David Romano" } ]} /> -- 2.49.1 From 2f58f0b977d5191541a64db4878fa99319c12fd8 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:19:29 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 +++++-------------- 1 file changed, 14 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..24a513c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,28 @@ -"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; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1