Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 04:48:36 +00:00
2 changed files with 16 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="mediumLarge"
sizing="largeSmall"
background="aurora"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="flat"
secondaryButtonStyle="glass"
@@ -44,7 +44,7 @@ export default function LandingPage() {
<HeroCentered
title="Professional Mobile Car Detailing in Santa Ana"
description="Premium car care brought to your location. Expert detailing, competitive pricing, and unmatched service quality. Get your vehicle showroom-ready today."
background={{ variant: "aurora" }}
background={{ variant: "downward-rays-static" }}
avatars={[
{ src: "http://img.b2bpic.net/free-photo/business-lady-looking-copyspace-with-interest_1262-2957.jpg", alt: "Satisfied customer" },
{ src: "http://img.b2bpic.net/free-photo/picture-beautiful-smiling-woman-against-blurry-background_181624-19438.jpg", alt: "Happy client" },
@@ -115,6 +115,7 @@ export default function LandingPage() {
imagePosition="right"
imageSrc="http://img.b2bpic.net/free-photo/female-technician-fixing-car-parts-garage_53876-139589.jpg"
imageAlt="Dillon's Mobile Detail team"
mediaAnimation="slide-up"
bulletPoints={[
{
title: "Mobile Convenience", description: "We come to you. No need to take time off work or wait at a facility. We detail your car at your home or office.", icon: Truck

View File

@@ -1,51 +1,28 @@
"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;
}
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 = '' }) => {
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 200 50"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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="100"
y="35"
textAnchor="middle"
dominantBaseline="central"
className="text-lg font-bold fill-current"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;