diff --git a/src/app/page.tsx b/src/app/page.tsx index fd771ff..c000748 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="medium" - background="aurora" + background="glowing-orb" cardStyle="solid" primaryButtonStyle="double-inset" secondaryButtonStyle="radial-glow" @@ -45,14 +45,14 @@ export default function LandingPage() { description="Award-winning chef specializing in contemporary fine dining and bespoke culinary experiences. Transforming ingredients into unforgettable moments of gastronomic perfection." tag="Master Chef" tagIcon={ChefHat} - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} kpis={[ { value: "20+", label: "Years Experience" }, { value: "50+", label: "Signature Dishes" }, { value: "500+", label: "Satisfied Guests" } ]} enableKpiAnimation={true} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fcbvap&_wi=1" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fcbvap" imageAlt="Master Chef in Professional Kitchen" buttons={[ { text: "View Menu", href: "#menu" }, @@ -69,7 +69,7 @@ export default function LandingPage() { description="Executive Chef" subdescription="Michelin-Starred Establishment" icon={Award} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fcbvap&_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fcbvap" imageAlt="Chef Portrait" mediaAnimation="opacity" useInvertedBackground={false} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ff1e74b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,29 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;