From 328779bd2e629f0e62a3d6bd9247ca93e82d167f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:18:57 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 60d9584..ba8e0e7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterCard from '@/components/sections/footer/FooterCard'; -import { Sparkles, Heart, Star, MessageSquare, Award, Calendar, Coffee, Utensils, Cake, Bread, Gift, ChefHat, Facebook, Instagram } from 'lucide-react'; +import { Sparkles, Heart, Star, MessageSquare, Award, Calendar, Coffee, Utensils, Cake, Gift, ChefHat, Facebook, Instagram } from 'lucide-react'; export default function LandingPage() { return ( @@ -54,11 +54,11 @@ export default function LandingPage() { buttonAnimation="slide-up" background={{ variant: "plain" }} carouselItems={[ - { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/delicious-french-breakfast-with-croissant_23-2150408549.jpg?_wi=1", imageAlt: "Golden croissant" }, + { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/delicious-french-breakfast-with-croissant_23-2150408549.jpg", imageAlt: "Golden croissant" }, { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/eclairs-profiteroles-with-black-chocolate-white-chocolate-with-custard-inside-traditional-french-dessert_114579-9080.jpg", imageAlt: "Chocolate eclairs" }, { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-macarons-with-mint-copy-space_23-2148489027.jpg", imageAlt: "Colorful macarons" }, { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-photo/walnut-cake-cake-stand_1301-1026.jpg", imageAlt: "Layered cake" }, - { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/high-view-delicious-cupcakes-with-strawberries_23-2148718800.jpg?_wi=1", imageAlt: "Fruit tart" }, + { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/high-view-delicious-cupcakes-with-strawberries_23-2148718800.jpg", imageAlt: "Fruit tart" }, { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-photo/baton-braed-towel_140725-11056.jpg", imageAlt: "Artisan bread" } ]} autoPlay={true} @@ -78,9 +78,10 @@ export default function LandingPage() { { value: "4.4★", title: "Google Rating" }, { value: "1000+", title: "Happy Customers" } ]} - imageSrc="http://img.b2bpic.net/free-photo/young-man-dancing-with-woman-restaurant_23-2148016796.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/young-man-dancing-with-woman-restaurant_23-2148016796.jpg" imageAlt="Elegant brasserie interior" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -96,9 +97,9 @@ export default function LandingPage() { { title: "Artisan Coffee", description: "Freshly brewed specialty coffees paired with our finest pastries", imageSrc: "http://img.b2bpic.net/free-photo/side-view-cup-with-creamy-cappuccino-latte-with-milky-foam-top-leaf-shape-isolated-wooden-plate-with-pattern-table-cafe-shop-presentation_346278-1479.jpg", imageAlt: "Specialty coffee", buttonIcon: Coffee, buttonHref: "#contact" }, { title: "Brunch Classics", description: "Elegant brunch plates featuring pastries, eggs, and seasonal ingredients", imageSrc: "http://img.b2bpic.net/free-photo/set-salad-fried-eggs-pastry-delicious-breakfast-table-white-background-high-angle-view_176474-3834.jpg", imageAlt: "Gourmet brunch", buttonIcon: Utensils, buttonHref: "#contact" }, { title: "Dessert Showcase", description: "Plated artistic desserts showcasing our pastry chef's mastery", imageSrc: "http://img.b2bpic.net/free-photo/slice-pie-with-cup-tea-top-view_114579-17357.jpg", imageAlt: "Gourmet dessert", buttonIcon: Cake, buttonHref: "#contact" }, - { title: "Bakery Selection", description: "Daily fresh-baked breads, croissants, and pastries made in-house", imageSrc: "http://img.b2bpic.net/free-photo/delicious-french-breakfast-with-croissant_23-2150408549.jpg?_wi=2", imageAlt: "Fresh pastries", buttonIcon: Bread, buttonHref: "#contact" }, - { title: "Premium Pastries", description: "Hand-crafted cakes, tarts, and confections for special occasions", imageSrc: "http://img.b2bpic.net/free-photo/high-view-delicious-cupcakes-with-strawberries_23-2148718800.jpg?_wi=2", imageAlt: "Premium pastries", buttonIcon: Gift, buttonHref: "#contact" }, - { title: "Brasserie Dining", description: "Sophisticated dishes prepared with French culinary techniques", imageSrc: "http://img.b2bpic.net/free-photo/young-man-dancing-with-woman-restaurant_23-2148016796.jpg?_wi=2", imageAlt: "Brasserie dining", buttonIcon: ChefHat, buttonHref: "#contact" } + { title: "Bakery Selection", description: "Daily fresh-baked breads, croissants, and pastries made in-house", imageSrc: "http://img.b2bpic.net/free-photo/delicious-french-breakfast-with-croissant_23-2150408549.jpg", imageAlt: "Fresh pastries", buttonIcon: Gift, buttonHref: "#contact" }, + { title: "Premium Pastries", description: "Hand-crafted cakes, tarts, and confections for special occasions", imageSrc: "http://img.b2bpic.net/free-photo/high-view-delicious-cupcakes-with-strawberries_23-2148718800.jpg", imageAlt: "Premium pastries", buttonIcon: Gift, buttonHref: "#contact" }, + { title: "Brasserie Dining", description: "Sophisticated dishes prepared with French culinary techniques", imageSrc: "http://img.b2bpic.net/free-photo/young-man-dancing-with-woman-restaurant_23-2148016796.jpg", imageAlt: "Brasserie dining", buttonIcon: ChefHat, buttonHref: "#contact" } ]} textboxLayout="default" useInvertedBackground={false} From e58ace63efdf521984c220810be8604c209cf2d6 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:18:58 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 ++++++++----------- 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5b39063 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; + fontWeight?: string; + fontFamily?: string; + fill?: 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 = '', + fontSize = 24, + fontWeight = 'bold', + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file