diff --git a/src/app/page.tsx b/src/app/page.tsx index 42fd637..9b37002 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumLarge" sizing="largeSmallSizeMediumTitles" - background="noise" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -44,7 +44,7 @@ export default function LandingPage() { title="Experience Ultimate Luxury & Performance" description="Discover BMW's latest collection of premium vehicles combining cutting-edge technology, refined engineering, and pure driving excitement." tag="BMW Excellence" - background={{ variant: "noise" }} + background={{ variant: "canvas-reveal" }} imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-round-headlights-white-vintage-classic-car_181624-23028.jpg" imageAlt="BMW luxury sports car" buttons={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e3f69dc 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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; + width?: number; + height?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + width = 200, + height = 100, +}) => { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;