From 4a5510e36b80f6d833541ba9158009fc6d24fbb0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 12:05:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c9fcf56..48674f0 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 ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; -import { AlertTriangle, Award, Building2, CheckCircle, Clock, Eye, Gauge, Home, Lightbulb, Search, Shield, Star, Tool, Wrench, Zap } from 'lucide-react'; +import { AlertTriangle, Award, Building2, CheckCircle, Clock, Eye, Gauge, Home, Lightbulb, Search, Shield, Star, Wrench, Zap, AlertCircle } from 'lucide-react'; export default function LandingPage() { return ( @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="medium" sizing="large" - background="grid" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -47,7 +47,7 @@ export default function LandingPage() { description="Professional, reliable, and highly rated electrical services for homes and businesses. ⭐ 5.0 Google Rating | 100+ Customer Reviews | 24/7 Availability" tag="Expert Electricians" tagIcon={Zap} - background={{ variant: "grid" }} + background={{ variant: "glowing-orb" }} buttons={[ { text: "Call Now", href: "tel:+442080792944" }, { text: "Request a Quote", href: "#contact" } @@ -93,7 +93,7 @@ export default function LandingPage() { title: "Electrical Repairs", description: "Professional diagnosis and repair of electrical faults, circuit issues, and defective wiring", bentoComponent: "icon-info-cards", items: [ { icon: Lightbulb, label: "Faulty Lights", value: "Fixed" }, { icon: Zap, label: "Circuit Faults", value: "Diagnosed" }, - { icon: Tool, label: "Expert Repair", value: "Reliable" } + { icon: Wrench, label: "Expert Repair", value: "Reliable" } ] }, { @@ -120,7 +120,7 @@ export default function LandingPage() { { title: "Electrical Maintenance", description: "Regular maintenance services to ensure your electrical systems operate safely and efficiently", bentoComponent: "icon-info-cards", items: [ { icon: Wrench, label: "Regular Check", value: "Scheduled" }, - { icon: AlertTriangle, label: "Issue Prevention", value: "Proactive" }, + { icon: AlertCircle, label: "Issue Prevention", value: "Proactive" }, { icon: Award, label: "Longevity", value: "Extended" } ] } -- 2.49.1 From 1279cbe88f236b29c36eb1074e2ea0a796f73c0d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 12:05:55 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 +++++++++---------- 1 file changed, 33 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..094888a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontWeight?: number | string; + 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, + fontSize = 48, + fontWeight = 700, + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = 'currentColor', + className = '', + ...props +}) => { + const estimatedWidth = text.length * (fontSize as number) * 0.6; + const estimatedHeight = (fontSize as number) * 1.2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1