From 3d886d3148b8eeb969e535fcced0dec957e07f96 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:28:18 +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 35d2a89..7a6656f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,11 +53,11 @@ export default function LandingPage() { testimonials={[ { name: "Marcus Johnson", handle: "Regular Client", testimonial: "Best haircut I've had in years. The attention to detail is incredible.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-taking-care-client_23-2150286034.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-taking-care-client_23-2150286034.jpg" }, { name: "David Chen", handle: "Satisfied Customer", testimonial: "GN Fades sets the standard for professional barbering in the area.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-business-woman-portrait_23-2149280717.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-business-woman-portrait_23-2149280717.jpg" } ]} imageSrc="http://img.b2bpic.net/free-photo/barber-shop-retro-vintage-style_1150-17931.jpg" @@ -65,6 +65,7 @@ export default function LandingPage() { imagePosition="right" mediaAnimation="slide-up" useInvertedBackground={false} + background={{ variant: "plain" }} /> @@ -134,10 +135,10 @@ export default function LandingPage() { description="Real feedback from satisfied customers who trust GN Fades" testimonials={[ { - id: "1", title: "Five Stars, Every Time", quote: "I've been going to GN Fades for three years now. Gregory and the team never disappoint. The quality of their work is unmatched.", name: "James Wilson", role: "Regular Client", imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-taking-care-client_23-2150286034.jpg?_wi=2", imageAlt: "James Wilson" + id: "1", title: "Five Stars, Every Time", quote: "I've been going to GN Fades for three years now. Gregory and the team never disappoint. The quality of their work is unmatched.", name: "James Wilson", role: "Regular Client", imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-taking-care-client_23-2150286034.jpg", imageAlt: "James Wilson" }, { - id: "2", title: "Professional Excellence", quote: "The attention to detail is incredible. Every haircut feels fresh, and the barbers really take their time with each client.", name: "Robert Taylor", role: "Satisfied Customer", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-business-woman-portrait_23-2149280717.jpg?_wi=2", imageAlt: "Robert Taylor" + id: "2", title: "Professional Excellence", quote: "The attention to detail is incredible. Every haircut feels fresh, and the barbers really take their time with each client.", name: "Robert Taylor", role: "Satisfied Customer", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-business-woman-portrait_23-2149280717.jpg", imageAlt: "Robert Taylor" }, { id: "3", title: "Worth Every Penny", quote: "Best barbershop in town. Clean environment, friendly staff, and outstanding results. Highly recommend!", name: "Michael Anderson", role: "Loyal Customer", imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1613.jpg", imageAlt: "Michael Anderson" -- 2.49.1 From 327fd734390a4b5a284444166e4112f66d3520b2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:28:18 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 +++++++------------ 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..86e00c9 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; + dominantBaseline?: 'auto' | 'text-top' | 'middle' | 'central' | 'text-bottom' | 'hanging' | 'mathematical' | 'inherit'; } -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, + className = '', + fontSize = 24, + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1