Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 11:17:12 +00:00
2 changed files with 33 additions and 53 deletions

View File

@@ -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={[

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
dominantBaseline = 'middle',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox="0 0 300 100"
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
dominantBaseline={dominantBaseline}
textAnchor="middle"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;