From 79ec8b7eae8729ddf2b51b24c66706b1849c5c65 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:17:08 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 66dd83e..f52b558 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="smallMedium" sizing="largeSmallSizeMediumTitles" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="solid" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="radial-glow" @@ -49,8 +49,8 @@ export default function LandingPage() { { text: "Get Free Diagnosis", href: "contact" }, { text: "Learn More" } ]} - background={{ variant: "noiseDiagonalGradient" }} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/a-modern-tech-company-hero-image-showing-1773313950310-845e9204.png?_wi=1" + background={{ variant: "sparkles-gradient" }} + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/a-modern-tech-company-hero-image-showing-1773313950310-845e9204.png" imageAlt="Professional data recovery laboratory" mediaAnimation="slide-up" frameStyle="card" @@ -65,19 +65,19 @@ export default function LandingPage() { features={[ { id: 1, - title: "Hard Drive Data Recovery", description: "Recovery from mechanical failures, circuit board damage, head crashes, and logical errors. We handle IDE, SATA, SAS, and NAS drives with precision and care.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/close-up-professional-image-of-hard-driv-1773313950715-ffdb7236.png?_wi=1", imageAlt: "Hard drive recovery process" + title: "Hard Drive Data Recovery", description: "Recovery from mechanical failures, circuit board damage, head crashes, and logical errors. We handle IDE, SATA, SAS, and NAS drives with precision and care.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/close-up-professional-image-of-hard-driv-1773313950715-ffdb7236.png", imageAlt: "Hard drive recovery process" }, { id: 2, - title: "RAID System Recovery", description: "Complex RAID array recovery including RAID 0, 1, 5, 6, and hybrid configurations. Fast recovery of enterprise-level storage systems with minimal downtime.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-image-showing-raid-server-a-1773313950543-e82dc1fb.png?_wi=1", imageAlt: "RAID server recovery" + title: "RAID System Recovery", description: "Complex RAID array recovery including RAID 0, 1, 5, 6, and hybrid configurations. Fast recovery of enterprise-level storage systems with minimal downtime.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-image-showing-raid-server-a-1773313950543-e82dc1fb.png", imageAlt: "RAID server recovery" }, { id: 3, - title: "SSD Recovery", description: "Specialized recovery for solid-state drives, NVMe drives, and USB flash drives. Modern techniques for contemporary storage technology.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-image-showing-raid-server-a-1773313950543-e82dc1fb.png?_wi=2", imageAlt: "SSD recovery service" + title: "SSD Recovery", description: "Specialized recovery for solid-state drives, NVMe drives, and USB flash drives. Modern techniques for contemporary storage technology.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-image-showing-raid-server-a-1773313950543-e82dc1fb.png", imageAlt: "SSD recovery service" }, { id: 4, - title: "Ransomware Recovery", description: "Emergency response for ransomware attacks and encrypted data. We can often recover your data without paying ransom demands.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/close-up-professional-image-of-hard-driv-1773313950715-ffdb7236.png?_wi=2", imageAlt: "Ransomware recovery process" + title: "Ransomware Recovery", description: "Emergency response for ransomware attacks and encrypted data. We can often recover your data without paying ransom demands.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/close-up-professional-image-of-hard-driv-1773313950715-ffdb7236.png", imageAlt: "Ransomware recovery process" } ]} animationType="slide-up" @@ -93,7 +93,7 @@ export default function LandingPage() { title="25+ Years of Data Recovery Excellence" description="Industry-leading expertise with a 96% success rate across all recovery types." subdescription="Serving businesses and individuals throughout Nottinghamshire and the UK" - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/a-modern-tech-company-hero-image-showing-1773313950310-845e9204.png?_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/a-modern-tech-company-hero-image-showing-1773313950310-845e9204.png" imageAlt="Nottingham Data Recovery team" mediaAnimation="blur-reveal" useInvertedBackground={true} @@ -138,20 +138,16 @@ export default function LandingPage() { tag="Testimonials" testimonials={[ { - id: "1", name: "Sarah Mitchell", role: "IT Manager", company: "Nottingham Financial Services", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-business-owner--1773313949468-dfb595ad.png" + id: "1", name: "Sarah Mitchell", role: "IT Manager", company: "Nottingham Financial Services", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-business-owner--1773313949468-dfb595ad.png" }, { - id: "2", name: "David Chen", role: "Operations Director", company: "East Midlands Manufacturing Ltd", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-it-director-or--1773314128893-34982de4.png" + id: "2", name: "David Chen", role: "Operations Director", company: "East Midlands Manufacturing Ltd", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-it-director-or--1773314128893-34982de4.png" }, { - id: "3", name: "Emma Richardson", role: "Practice Manager", company: "Nottingham Medical Centre", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-company-directo-1773313949947-f5157144.png" + id: "3", name: "Emma Richardson", role: "Practice Manager", company: "Nottingham Medical Centre", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-company-directo-1773313949947-f5157144.png" }, { - id: "4", name: "James Hartley", role: "System Administrator", company: "Nottingham Law Associates", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-it-coordinator--1773313950251-f666a865.png" + id: "4", name: "James Hartley", role: "System Administrator", company: "Nottingham Law Associates", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARCPePX5hBPWQYQRNinqPt9DP1/professional-headshot-of-it-coordinator--1773313950251-f666a865.png" } ]} kpiItems={[ -- 2.49.1 From c6fcbc6ba2fd12a5bad090a988650c50c5e199a1 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:17:08 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 58 +++++++------------ 1 file changed, 21 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8293e95 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'mathematical' | 'central' | 'middle' | 'text-bottom' | 'alphabetic' | 'ideographic'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1