diff --git a/src/app/page.tsx b/src/app/page.tsx index a23d80d..4c75019 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="mediumLarge" - background="grid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="layered" @@ -44,7 +44,7 @@ export default function LandingPage() { description="Experience premium vehicle detailing with cutting-edge techniques and eco-friendly products. Transform your car into a pristine masterpiece." tag="Premium Auto Care" tagIcon={Sparkles} - background={{ variant: "grid" }} + background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-soap-black-shiny-modern-car-daytime_181624-22593.jpg", imageAlt: "Luxury car with showroom shine finish" @@ -74,22 +74,19 @@ export default function LandingPage() { useInvertedBackground={false} plans={[ { - id: "basic", tag: "Basic Package", price: "$99", period: "/service", description: "Perfect for regular maintenance and light cleaning. Keeps your vehicle looking fresh.", button: { text: "Select Basic", href: "#booking" }, - featuresTitle: "Included:", features: [ + id: "basic", tag: "Basic Package", price: "$99", period: "/service", description: "Perfect for regular maintenance and light cleaning. Keeps your vehicle looking fresh.", button: { text: "Select Basic", href: "#booking" }, featuresTitle: "Included:", features: [ "Exterior wash and dry", "Wheel and tire cleaning", "Interior vacuum and wipe", "Free air freshener" ] }, { id: "gold", tag: "Gold Package", tagIcon: Crown, - price: "$249", period: "/service", description: "Enhanced detailing for a showroom-ready finish. Most popular choice for luxury vehicle owners.", button: { text: "Select Gold", href: "#booking" }, - featuresTitle: "Included:", features: [ + price: "$249", period: "/service", description: "Enhanced detailing for a showroom-ready finish. Most popular choice for luxury vehicle owners.", button: { text: "Select Gold", href: "#booking" }, featuresTitle: "Included:", features: [ "Premium exterior wash and dry", "Ceramic wheel coating", "Interior deep clean and sanitize", "Dashboard and leather conditioning", "Paint protection spray", "Premium air freshener" ] }, { id: "platinum", tag: "Platinum Package", tagIcon: Diamond, - price: "$499", period: "/service", description: "Ultimate luxury detailing experience. Comprehensive care for pristine, showroom-quality finish.", button: { text: "Select Platinum", href: "#booking" }, - featuresTitle: "Included:", features: [ + price: "$499", period: "/service", description: "Ultimate luxury detailing experience. Comprehensive care for pristine, showroom-quality finish.", button: { text: "Select Platinum", href: "#booking" }, featuresTitle: "Included:", features: [ "Complete exterior restoration", "Ceramic nano-coating application", "Professional interior detail", "Engine bay cleaning", "Leather treatment and protection", "Headlight restoration", "Window tint protection", "12-month protection warranty" ] } diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3ed2c86 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; + dominantBaseline?: 'auto' | 'middle' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 32, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 700, + fill = 'currentColor', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;