diff --git a/src/app/page.tsx b/src/app/page.tsx index 7d20fa7..3e7fd0f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumSmall" sizing="mediumSizeLargeTitles" - background="circleGradient" + background="aurora" cardStyle="subtle-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="solid" @@ -52,7 +52,7 @@ export default function LandingPage() { { text: "View Gallery", href: "#features" } ]} buttonAnimation="blur-reveal" - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} carouselItems={[ { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/glamour-color-lovely-decoration-green_1304-2510.jpg", imageAlt: "Saath Phere Marriage Garden" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..efa3456 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"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"; className?: string; + text?: 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 = ({ + className = '', + text = 'Logo' +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file