diff --git a/src/app/page.tsx b/src/app/page.tsx index d22e1b5..7b359aa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="mediumLargeSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="glass" @@ -44,7 +44,7 @@ export default function LandingPage() { description="Experience authentic Indian cuisine crafted with tradition and passion. Savor the flavors of India with every bite." tag="Authentic Indian Cuisine" tagIcon={Sparkles} - background={{ variant: "noise" }} + background={{ variant: "sparkles-gradient" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/top-view-arrangement-with-delicious-pakistan-meal_23-2148821534.jpg", imageAlt: "Butter Chicken - Signature Dish" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5c6b2ef 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: 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, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + className, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;