From 21091a01f953d85ecd3bdf210f433761caea2eb0 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 00:27:42 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8e1cd60..968d2b8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,15 +50,15 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Mitchell", handle: "Regular Customer", testimonial: "What a gem hidden away. The food is delicious, portions are generous, and the staff are incredibly friendly.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-business-woman-posing-outdoors_23-2148603023.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-business-woman-posing-outdoors_23-2148603023.jpg" }, { name: "James Chen", handle: "Coffee Enthusiast", testimonial: "GREAT coffee. Obsessed with the bagels. I keep coming back again and again.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-wearing-trendy-hat-sitting-wooden-table-coffee-shop_273609-1622.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-wearing-trendy-hat-sitting-wooden-table-coffee-shop_273609-1622.jpg" }, { name: "Emma Rodriguez", handle: "Bellville Local", testimonial: "Awesome little café. Clearly a local favourite. Great coffee, great sandwiches, and great service.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3947.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3947.jpg" } ]} testimonialRotationInterval={5000} @@ -68,6 +68,7 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" useInvertedBackground={false} + background={{ variant: "plain" }} /> @@ -79,15 +80,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Amanda Lawson", role: "Entrepreneur", company: "Bellville Business Co.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-business-woman-posing-outdoors_23-2148603023.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-business-woman-posing-outdoors_23-2148603023.jpg" }, { id: "2", name: "David Pieterse", role: "Designer", company: "Local Creative Studio", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-wearing-trendy-hat-sitting-wooden-table-coffee-shop_273609-1622.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-wearing-trendy-hat-sitting-wooden-table-coffee-shop_273609-1622.jpg" }, { id: "3", name: "Lisa Van Der Merwe", role: "Marketing Manager", company: "Cape Town Tech", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3947.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3947.jpg" }, { id: "4", name: "Marcus Johnson", role: "Teacher", company: "Local School", rating: 5, @@ -114,7 +115,7 @@ export default function LandingPage() { { value: "10+", title: "Years Roasting Excellence" }, { value: "100%", title: "Freshly Roasted Daily" } ]} - imageSrc="http://img.b2bpic.net/free-photo/beautiful-blond-girl-with-blue-eyes-bright-pink-lips-sitting-coffee-shop-chair-she-holds-smartphone-her-hand_197531-83.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/beautiful-blond-girl-with-blue-eyes-bright-pink-lips-sitting-coffee-shop-chair-she-holds-smartphone-her-hand_197531-83.jpg" imageAlt="Boston Coffee Roasters cozy café interior" mediaAnimation="slide-up" metricsAnimation="slide-up" @@ -130,11 +131,11 @@ export default function LandingPage() { products={[ { id: "1", brand: "Boston Coffee Roasters", name: "Bacon Feta Avo Toastie", price: "R85", rating: 5, - reviewCount: "340+", imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-two-breads_23-2147788617.jpg?_wi=1", imageAlt: "Bacon feta avocado toastie on sourdough" + reviewCount: "340+", imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-two-breads_23-2147788617.jpg", imageAlt: "Bacon feta avocado toastie on sourdough" }, { id: "2", brand: "Boston Coffee Roasters", name: "Flat White Espresso", price: "R45", rating: 5, - reviewCount: "890+", imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-latte-art-decoration_1150-6325.jpg?_wi=1", imageAlt: "Silky smooth flat white coffee" + reviewCount: "890+", imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-latte-art-decoration_1150-6325.jpg", imageAlt: "Silky smooth flat white coffee" }, { id: "3", brand: "Boston Coffee Roasters", name: "Fresh Bagel Selection", price: "R55", rating: 5, @@ -164,15 +165,15 @@ export default function LandingPage() { features={[ { id: "1", title: "Artisan Coffee Excellence", author: "Daily Fresh Roasted", description: "Every bean is carefully selected and roasted to perfection, delivering the finest coffee experience in Cape Town.", tags: ["Premium", "Craft"], - imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-latte-art-decoration_1150-6325.jpg?_wi=2", imageAlt: "Premium espresso coffee preparation" + imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-latte-art-decoration_1150-6325.jpg", imageAlt: "Premium espresso coffee preparation" }, { id: "2", title: "Warm Community Atmosphere", author: "Beloved Local Favorite", description: "Friendly faces behind the counter and a welcoming space where every customer feels like family.", tags: ["Community", "Friendly"], - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blond-girl-with-blue-eyes-bright-pink-lips-sitting-coffee-shop-chair-she-holds-smartphone-her-hand_197531-83.jpg?_wi=2", imageAlt: "Cozy café interior with customers" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blond-girl-with-blue-eyes-bright-pink-lips-sitting-coffee-shop-chair-she-holds-smartphone-her-hand_197531-83.jpg", imageAlt: "Cozy café interior with customers" }, { id: "3", title: "Fresh, Delicious Food", author: "Generously Portioned", description: "Freshly made toasted sandwiches, pastries, and daily specials that keep locals coming back again and again.", tags: ["Fresh", "Homemade"], - imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-two-breads_23-2147788617.jpg?_wi=2", imageAlt: "Fresh toasted sandwich with quality ingredients" + imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-two-breads_23-2147788617.jpg", imageAlt: "Fresh toasted sandwich with quality ingredients" } ]} animationType="slide-up" @@ -218,6 +219,8 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" useInvertedBackground={true} + background={{ variant: "plain" }} + testimonials={[]} /> -- 2.49.1 From f3182aacd31e2df862ff66100ab3e31d91f1b203 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 00:27:43 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 24 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5f21572 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1