diff --git a/src/app/page.tsx b/src/app/page.tsx index 6eb6705..77c8a84 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="mediumLargeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="solid" @@ -43,7 +43,7 @@ export default function LandingPage() { title="Find Your Perfect Property Today" description="Discover premium residential properties curated for discerning buyers and renters. Browse high-quality listings with detailed information, stunning visuals, and seamless property management." tag="Curated Properties" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/modern-architecture-building-with-geometric-facade-clean-lines-clear-sky_41433-196.jpg" imageAlt="Luxury modern home with minimalist architecture" buttons={[ @@ -116,6 +116,7 @@ export default function LandingPage() { imageAlt="Professional real estate team in modern office" useInvertedBackground={true} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..412b447 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { useRef, useEffect } from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; } -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 = '' }) => { + const svgRef = useRef(null); + + useEffect(() => { + // Add any animation or interaction logic here + }, []); return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file