diff --git a/src/app/page.tsx b/src/app/page.tsx index c3063d8..491e98b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function SanmanRestaurantLanding() { borderRadius="soft" contentWidth="small" sizing="mediumLarge" - background="fluid" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -48,7 +48,7 @@ export default function SanmanRestaurantLanding() { tag="Since 1980s" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "fluid" }} + background={{ variant: "plain" }} leftCarouselItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-composition_23-2149086052.jpg", imageAlt: "Butter Masala Dosa" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e76d879 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"; + text?: string; className?: string; + textClassName?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Webild', + className = '', + textClassName = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;