From 4b532567eba2ef813e43aeea365e754b70c8377c Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:25:45 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e6e0209..c3e7d56 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -43,10 +43,11 @@ export default function LandingPage() { title="Professional Car Valeting in Cardiff" description="Your car cleaned to perfection with expert attention to detail." tag="5-Star Rated Service" - imageSrc="http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg" imageAlt="Freshly detailed professional car" mediaAnimation="slide-up" useInvertedBackground={false} + background={{ variant: "glowing-orb" }} testimonials={[ { name: "Sarah Johnson", handle: "Local Customer", testimonial: "Fabulous service he did a great job of a very dirty work horse. 5*", rating: 5, @@ -83,7 +84,7 @@ export default function LandingPage() { }, { id: 3, - tag: "Complete", title: "Full Valet", subtitle: "Complete interior and exterior transformation.", description: "Our premium service includes full interior detail, exterior hand wash, trim treatment, and showroom finish. The ultimate car care experience.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg?_wi=2", buttons: [{ text: "Book Full Valet", href: "#booking" }] + tag: "Complete", title: "Full Valet", subtitle: "Complete interior and exterior transformation.", description: "Our premium service includes full interior detail, exterior hand wash, trim treatment, and showroom finish. The ultimate car care experience.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg", buttons: [{ text: "Book Full Valet", href: "#booking" }] } ]} textboxLayout="default" @@ -141,15 +142,15 @@ export default function LandingPage() { features={[ { id: 1, - tag: "Quality", title: "Attention to Detail", subtitle: "Every corner cleaned properly.", description: "We meticulously clean every surface and crevice. Your satisfaction is our priority, and we never cut corners on quality.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg?_wi=3", buttons: [] + tag: "Quality", title: "Attention to Detail", subtitle: "Every corner cleaned properly.", description: "We meticulously clean every surface and crevice. Your satisfaction is our priority, and we never cut corners on quality.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg", buttons: [] }, { id: 2, - tag: "Local", title: "Friendly Local Service", subtitle: "Trusted by Cardiff customers.", description: "Based in Cardiff with a deep understanding of local needs. We treat every customer like family and take pride in our reputation.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg?_wi=4", buttons: [] + tag: "Local", title: "Friendly Local Service", subtitle: "Trusted by Cardiff customers.", description: "Based in Cardiff with a deep understanding of local needs. We treat every customer like family and take pride in our reputation.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg", buttons: [] }, { id: 3, - tag: "Value", title: "Affordable Prices", subtitle: "Professional results without premium pricing.", description: "Get professional car valeting at competitive rates. Quality service doesn't have to break the bank.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg?_wi=5", buttons: [] + tag: "Value", title: "Affordable Prices", subtitle: "Professional results without premium pricing.", description: "Get professional car valeting at competitive rates. Quality service doesn't have to break the bank.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-car-detailing-coating-car_1303-30596.jpg", buttons: [] } ]} textboxLayout="default" -- 2.49.1 From c1d3b9b06b770c35ef980113bbff934bdc102b73 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:25:45 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 58 ++++++++----------- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..eaade60 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; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; } -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, + fontWeight = 700, + letterSpacing = 0, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1