diff --git a/src/app/page.tsx b/src/app/page.tsx index d2cf349..d81032d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="large" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="radial-glow" secondaryButtonStyle="glass" @@ -45,7 +45,7 @@ export default function LandingPage() { tag="Premium Casual Dining" tagIcon={Utensils} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "sparkles-gradient" }} buttons={[ { text: "Reserve a Table", href: "contact" }, { text: "Call Now", href: "tel:+919876543210" } @@ -53,8 +53,8 @@ export default function LandingPage() { buttonAnimation="slide-up" mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pakistan-meal-composition_23-2148821517.jpg", imageAlt: "Authentic chicken biryani with basmati rice" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-citrus-fruits-board-bowl-spices_140725-78656.jpg?_wi=1", imageAlt: "Fragrant mandi biryani traditional style" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-cutlets-with-onion-rings_140725-57401.jpg?_wi=1", imageAlt: "Grilled tandoori chicken fresh from tandoor" }, + { imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-citrus-fruits-board-bowl-spices_140725-78656.jpg", imageAlt: "Fragrant mandi biryani traditional style" }, + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-cutlets-with-onion-rings_140725-57401.jpg", imageAlt: "Grilled tandoori chicken fresh from tandoor" }, { imageSrc: "http://img.b2bpic.net/free-photo/close-up-sauce-chicken-nuggets_23-2147765501.jpg", imageAlt: "Crispy chinese starters and appetizers" }, { imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-clinking-glasses_23-2148965388.jpg", imageAlt: "Cozy restaurant dining ambience" } ]} @@ -82,11 +82,11 @@ export default function LandingPage() { }, { id: "2", brand: "UBH Signature", name: "Mandi Biryani", price: "₹500", rating: 5, - reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-citrus-fruits-board-bowl-spices_140725-78656.jpg?_wi=2", imageAlt: "Fragrant rice with slow-cooked meat" + reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-citrus-fruits-board-bowl-spices_140725-78656.jpg", imageAlt: "Fragrant rice with slow-cooked meat" }, { id: "3", brand: "UBH Grill", name: "Tandoori Chicken", price: "₹400", rating: 5, - reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-cutlets-with-onion-rings_140725-57401.jpg?_wi=2", imageAlt: "Perfectly spiced grilled chicken" + reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-cutlets-with-onion-rings_140725-57401.jpg", imageAlt: "Perfectly spiced grilled chicken" } ]} buttons={[ @@ -153,7 +153,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} animationType="slide-up" - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" metrics={[ { id: "1", value: "4.7★", description: "Google Rating" }, { id: "2", value: "1000+", description: "Happy Customers" }, diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d41f167 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ className = '' }) => { return ( - {logoText} + Logo ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file