diff --git a/src/app/page.tsx b/src/app/page.tsx index 800eb59..370f335 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -49,10 +49,10 @@ export default function LandingPage() { { text: "View Services", href: "services" } ]} mediaItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/processing-workpiece_1098-12756.jpg?_wi=1", imageAlt: "Smartphone repair service" }, - { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg?_wi=1", imageAlt: "Laptop repair workstation" }, - { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg?_wi=1", imageAlt: "Tablet screen replacement" }, - { imageSrc: "http://img.b2bpic.net/free-photo/man-with-hard-disk_1187-937.jpg?_wi=1", imageAlt: "Gaming console repair" }, + { imageSrc: "http://img.b2bpic.net/free-photo/processing-workpiece_1098-12756.jpg", imageAlt: "Smartphone repair service" }, + { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg", imageAlt: "Laptop repair workstation" }, + { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg", imageAlt: "Tablet screen replacement" }, + { imageSrc: "http://img.b2bpic.net/free-photo/man-with-hard-disk_1187-937.jpg", imageAlt: "Gaming console repair" }, { imageSrc: "http://img.b2bpic.net/free-photo/male-technician-inserting-chip-computer-motherboard_23-2147923526.jpg", imageAlt: "Professional technician working" } ]} /> @@ -81,18 +81,18 @@ export default function LandingPage() { features={[ { id: 1, - title: "Smartphone Repairs", description: "Screen replacements, battery repairs, charging port fixes, and water damage restoration for all major brands including iPhone and Android devices.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/processing-workpiece_1098-12756.jpg?_wi=2", imageAlt: "Smartphone repair" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg?_wi=2", imageAlt: "Repair workbench" } + title: "Smartphone Repairs", description: "Screen replacements, battery repairs, charging port fixes, and water damage restoration for all major brands including iPhone and Android devices.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/processing-workpiece_1098-12756.jpg", imageAlt: "Smartphone repair" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg", imageAlt: "Repair workbench" } }, { id: 2, - title: "Laptop & Computer Service", description: "Hard drive replacement, screen repairs, keyboard fixes, motherboard diagnostics, and performance upgrades for all laptop and desktop models.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg?_wi=3", imageAlt: "Laptop repair" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg?_wi=2", imageAlt: "Computer service" } + title: "Laptop & Computer Service", description: "Hard drive replacement, screen repairs, keyboard fixes, motherboard diagnostics, and performance upgrades for all laptop and desktop models.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-repairing-computer-chips_23-2150880931.jpg", imageAlt: "Laptop repair" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg", imageAlt: "Computer service" } }, { id: 3, - title: "Tablet & Gaming Device Repair", description: "Complete tablet screen replacement, gaming console repairs, controller fixes, and software troubleshooting for PlayStation, Xbox, and Nintendo.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg?_wi=3", imageAlt: "Tablet repair" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/man-with-hard-disk_1187-937.jpg?_wi=2", imageAlt: "Gaming device repair" } + title: "Tablet & Gaming Device Repair", description: "Complete tablet screen replacement, gaming console repairs, controller fixes, and software troubleshooting for PlayStation, Xbox, and Nintendo.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/man-uses-vacuum-plug-remove-screen-from-broken-phone-his-toolkit-with-special-tools-near_346278-1191.jpg", imageAlt: "Tablet repair" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/man-with-hard-disk_1187-937.jpg", imageAlt: "Gaming device repair" } } ]} showStepNumbers={true} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f354ccd 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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; + width?: number; + height?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + width = 200, + height = 60, +}) => { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;