Merge version_1 into main #1
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="medium"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-radial"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -45,7 +45,7 @@ export default function LandingPage() {
|
||||
<HeroSplit
|
||||
title="Your Home Deserves Perfection"
|
||||
description="Professional house cleaning with meticulous attention to detail. We clean everything inside your home with precision and care. Join thousands of satisfied customers who trust PureClean."
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
tag="Trusted Service"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
@@ -139,20 +139,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
plans={[
|
||||
{
|
||||
id: "experienced", tag: "15+ Years Experience", price: "Proven", period: "Track Record", description: "Over a decade and a half of excellence in residential cleaning", button: { text: "Learn More", href: "#" },
|
||||
featuresTitle: "What You Get:", features: [
|
||||
id: "experienced", tag: "15+ Years Experience", price: "Proven", period: "Track Record", description: "Over a decade and a half of excellence in residential cleaning", button: { text: "Learn More", href: "#" }, featuresTitle: "What You Get:", features: [
|
||||
"Highly trained professionals", "Attention to every detail", "Consistent results every time", "Time-tested methods"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "precision", tag: "Precision Cleaning", price: "Premium", period: "Quality", description: "Meticulous approach to every surface and corner of your home", button: { text: "Learn More", href: "#" },
|
||||
featuresTitle: "Our Process:", features: [
|
||||
id: "precision", tag: "Precision Cleaning", price: "Premium", period: "Quality", description: "Meticulous approach to every surface and corner of your home", button: { text: "Learn More", href: "#" }, featuresTitle: "Our Process:", features: [
|
||||
"Detailed inspection", "Customized approach", "Professional-grade tools", "Quality guarantee"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "reviews", tag: "5-Star Reviews", price: "100%", period: "Satisfaction", description: "Excellent reviews from thousands of satisfied customers", button: { text: "Learn More", href: "#" },
|
||||
featuresTitle: "Customer Promise:", features: [
|
||||
id: "reviews", tag: "5-Star Reviews", price: "100%", period: "Satisfaction", description: "Excellent reviews from thousands of satisfied customers", button: { text: "Learn More", href: "#" }, featuresTitle: "Customer Promise:", features: [
|
||||
"All positive feedback", "Fast response time", "Friendly team", "Trusted service"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,51 +1,37 @@
|
||||
"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";
|
||||
className?: string;
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: string;
|
||||
fontSize?: number;
|
||||
fontWeight?: number;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging' | 'text-top';
|
||||
}
|
||||
|
||||
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 = 'LOGO',
|
||||
fontSize = 48,
|
||||
fontWeight = 700,
|
||||
letterSpacing = 0,
|
||||
dominantBaseline = 'middle',
|
||||
...props
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
>
|
||||
<svg viewBox="0 0 200 60" {...props}>
|
||||
<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}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user