From 117b6812980b978d18fbd5a875b2258a85d68299 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:48:32 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 614b19a..69cfa9f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="largeSmallSizeLargeTitles" - background="grid" + background="circleGradient" cardStyle="outline" primaryButtonStyle="radial-glow" secondaryButtonStyle="solid" @@ -44,7 +44,7 @@ export default function LandingPage() { description="Expert electrical solutions for your home and business. Fully licensed, insured, and trusted by over 105 satisfied customers in Cape Town." tag="Emergency & Maintenance" tagIcon={Zap} - background={{ variant: "grid" }} + background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/male-electrician-works-switchboard-using-electrical-connection-cable_169016-53066.jpg", imageAlt: "Professional electrician at work" @@ -111,28 +111,28 @@ export default function LandingPage() { { id: 1, title: "Emergency Repairs", description: "Available 24/7 for urgent electrical problems. Power outages, faulty wiring, tripped breakers - we're here to help immediately.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg?_wi=1", imageAlt: "Emergency call service app" + imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg", imageAlt: "Emergency call service app" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg?_wi=1", imageAlt: "Customer service support" + imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg", imageAlt: "Customer service support" } }, { id: 2, title: "Maintenance & Inspections", description: "Regular maintenance keeps your electrical systems running safely and efficiently. Professional inspections identify issues before they become problems.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg?_wi=2", imageAlt: "Maintenance booking app" + imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg", imageAlt: "Maintenance booking app" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg?_wi=2", imageAlt: "Service support app" + imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg", imageAlt: "Service support app" } }, { id: 3, title: "Installations & Upgrades", description: "New circuits, appliance installations, home upgrades, and complete renovations. Expert work that meets all safety standards.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg?_wi=3", imageAlt: "Installation booking app" + imageSrc: "http://img.b2bpic.net/free-vector/barber-shop-booking-app_23-2148571937.jpg", imageAlt: "Installation booking app" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg?_wi=3", imageAlt: "Project status app" + imageSrc: "http://img.b2bpic.net/free-photo/female-coworkers-chatting-phones-coffee-shop_74855-1866.jpg", imageAlt: "Project status app" } } ]} -- 2.49.1 From bc0041e7074eedd4143840bd2eff31e10201d38d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:48:32 +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..6e56adc 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); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = '#000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1