Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 08:04:46 +00:00
2 changed files with 39 additions and 45 deletions

View File

@@ -34,7 +34,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="compact"
sizing="mediumSizeLargeTitles"
background="fluid"
background="circleGradient"
cardStyle="gradient-radial"
primaryButtonStyle="flat"
secondaryButtonStyle="glass"
@@ -56,7 +56,7 @@ export default function LandingPage() {
<HeroBillboard
title="Elevate Your Vehicle with Premium Wraps"
description="Transform your car with our professional wrapping services. Custom designs, flawless execution, and showroom-quality finishes."
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
tag="Premium Quality"
tagIcon={Sparkles}
tagAnimation="slide-up"
@@ -223,7 +223,7 @@ export default function LandingPage() {
description="Contact us today for a free consultation and custom quote. Our team is ready to bring your vision to life."
tagIcon={Phone}
tagAnimation="slide-up"
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/multiethnic-work-group-posing-modern-office_1262-12703.jpg"
imageAlt="professional team working together office"

View File

@@ -1,50 +1,44 @@
"use client";
import React, { SVGProps } from "react";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text?: string;
fontSize?: number;
fontWeight?: number | string;
fill?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<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"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
(
{
text = "Logo", fontSize = 32,
fontWeight = "bold", fill = "currentColor", className = "", ...props
},
ref
) => {
return (
<svg
ref={ref}
viewBox="0 0 200 60"
xmlns="http://www.w3.org/2000/svg"
className={className}
{...props}
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="central"
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";