Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 21:16:02 +00:00
2 changed files with 41 additions and 46 deletions

View File

@@ -18,7 +18,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="smallMedium"
sizing="largeSmallSizeMediumTitles"
background="circleGradient"
background="none"
cardStyle="gradient-radial"
primaryButtonStyle="double-inset"
secondaryButtonStyle="solid"
@@ -46,18 +46,18 @@ export default function LandingPage() {
tag="Luxury Tech Service"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "circleGradient" }}
background={{ variant: "glowing-orb" }}
leftCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-researcher-working-with-lamp_23-2148925544.jpg", imageAlt: "Professional PC Repair" },
{ imageSrc: "http://img.b2bpic.net/free-photo/grey-laptop-table_23-2148189995.jpg?_wi=1", imageAlt: "Expert Mac Repair" },
{ imageSrc: "http://img.b2bpic.net/free-photo/top-view-young-man-using-laptop-holding-hand_23-2148096526.jpg?_wi=1", imageAlt: "Premium Laptop Service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/grey-laptop-table_23-2148189995.jpg", imageAlt: "Expert Mac Repair" },
{ imageSrc: "http://img.b2bpic.net/free-photo/top-view-young-man-using-laptop-holding-hand_23-2148096526.jpg", imageAlt: "Premium Laptop Service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/man-removing-screws-open-up-phone_23-2148254143.jpg", imageAlt: "Mobile Device Repair" }
]}
rightCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/mechanic-with-tools-workshop_329181-11873.jpg?_wi=1", imageAlt: "Razeen - Expert Technician" },
{ imageSrc: "http://img.b2bpic.net/free-photo/mechanic-with-tools-workshop_329181-11873.jpg", imageAlt: "Razeen - Expert Technician" },
{ imageSrc: "http://img.b2bpic.net/free-photo/mechanic-repairing-bicycle_23-2148138515.jpg", imageAlt: "Luxury Repair Workspace" },
{ imageSrc: "http://img.b2bpic.net/free-photo/grey-laptop-table_23-2148189995.jpg?_wi=2", imageAlt: "Professional Mac Service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/top-view-young-man-using-laptop-holding-hand_23-2148096526.jpg?_wi=2", imageAlt: "Advanced Repair Technology" }
{ imageSrc: "http://img.b2bpic.net/free-photo/grey-laptop-table_23-2148189995.jpg", imageAlt: "Professional Mac Service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/top-view-young-man-using-laptop-holding-hand_23-2148096526.jpg", imageAlt: "Advanced Repair Technology" }
]}
buttons={[
{ text: "Book Repair Now", href: "contact" },
@@ -100,7 +100,7 @@ export default function LandingPage() {
{ icon: Zap, title: "Lightning-Fast Repairs", description: "Most issues resolved within 24-48 hours. Pickup and delivery included for your convenience." },
{ icon: Heart, title: "Customer-First Approach", description: "Your satisfaction is our priority. Professional communication and care throughout the repair process." }
]}
imageSrc="http://img.b2bpic.net/free-photo/mechanic-with-tools-workshop_329181-11873.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/mechanic-with-tools-workshop_329181-11873.jpg"
imageAlt="Razeen - Expert Technician"
mediaAnimation="slide-up"
textboxLayout="default"
@@ -134,7 +134,7 @@ export default function LandingPage() {
faqs={[
{ id: "1", title: "How quickly can you repair my device?", content: "Most repairs are completed within 24-48 hours. We offer express service for urgent needs. Our technician Razeen prioritizes your repair based on complexity and current workload." },
{ id: "2", title: "Do you offer pickup and delivery?", content: "Yes! Free pickup and delivery service is included for all repairs. Just let us know your location and preferred time window. Your device will be safely transported to our repair facility." },
{ id: "3", title: "What devices do you repair?", content: "We repair PCs, Macs, laptops, and mobile devices. Whether it's hardware issues, software problems, or performance optimization, our expert technician can help." },
{ id: "3", title: "What devices do you repair?", content: "We repair PCs, Macs, laptops, and mobile devices. Whether it is hardware issues, software problems, or performance optimization, our expert technician can help." },
{ id: "4", title: "How do you determine repair pricing?", content: "We provide transparent quotes before any work begins. No hidden fees. Pricing depends on the issue and parts needed. We always work within your budget and offer honest recommendations." },
{ id: "5", title: "Are repairs guaranteed?", content: "All repairs come with our confidence. If issues persist, we stand behind our work. Your satisfaction is our guarantee." },
{ id: "6", title: "Can I get my data back if my device won't turn on?", content: "Often yes! Our technician Razeen specializes in data recovery. We'll diagnose the issue and discuss recovery options with you before proceeding." }

View File

@@ -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;
fontSize?: number;
fontFamily?: string;
fontWeight?: string | number;
fill?: string;
textAnchor?: 'start' | 'middle' | 'end';
dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging';
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fontSize = 24,
fontFamily = 'Arial, sans-serif',
fontWeight = 'bold',
fill = 'currentColor',
textAnchor = 'middle',
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 ${text.length * fontSize} ${fontSize * 1.5}`}
className={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%"
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
textAnchor={textAnchor}
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;