diff --git a/src/app/page.tsx b/src/app/page.tsx index 3fbbe99..824a4b7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -45,7 +45,7 @@ export default function LandingPage() { description="Craving traditional North Indian cuisine at 2 AM? We deliver hot, fresh meals directly to your door in Vadodara. From Butter Chicken to Naan, every dish is crafted with love and premium ingredients." tag="Open 24 Hours" tagIcon={Clock} - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/top-view-delicious-fried-cutlets-with-cooked-rice-dark-surface-dish-meat-rissole_140725-82324.jpg" imageAlt="Steaming North Indian curry with naan bread" imagePosition="right" @@ -69,7 +69,7 @@ export default function LandingPage() { { text: "Call Now", href: "tel:08160318068" }, { text: "Order on WhatsApp", href: "https://wa.me/918160318068" }, ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" /> @@ -88,7 +88,7 @@ export default function LandingPage() { useInvertedBackground={false} mediaAnimation="slide-up" metricsAnimation="slide-up" - tagAnimation="entrance-slide" + tagAnimation="slide-up" /> @@ -169,16 +169,13 @@ export default function LandingPage() { useInvertedBackground={false} plans={[ { - id: "starters", tag: "Starters & Appetizers", price: "₹150–350", period: "/item", description: "Begin your meal with our famous samosas, pakoras, and tikka preparations.", button: { text: "View Starters", href: "tel:08160318068" }, - featuresTitle: "Popular Items:", features: ["Vegetable Samosa (₹80)", "Paneer Tikka (₹250)", "Aloo Pakora (₹100)", "Paneer 65 (₹220)"], + id: "starters", tag: "Starters & Appetizers", price: "₹150–350", period: "/item", description: "Begin your meal with our famous samosas, pakoras, and tikka preparations.", button: { text: "View Starters", href: "tel:08160318068" }, featuresTitle: "Popular Items:", features: ["Vegetable Samosa (₹80)", "Paneer Tikka (₹250)", "Aloo Pakora (₹100)", "Paneer 65 (₹220)"], }, { - id: "mains", tag: "Main Courses", price: "₹250–500", period: "/item", description: "Signature curries made with premium spices. Served with rice or bread.", button: { text: "Order Main Course", href: "tel:08160318068" }, - featuresTitle: "Customer Favorites:", features: ["Butter Chicken (₹380)", "Paneer Butter Masala (₹320)", "Chole Bhature (₹200)", "Dal Makhani (₹280)"], + id: "mains", tag: "Main Courses", price: "₹250–500", period: "/item", description: "Signature curries made with premium spices. Served with rice or bread.", button: { text: "Order Main Course", href: "tel:08160318068" }, featuresTitle: "Customer Favorites:", features: ["Butter Chicken (₹380)", "Paneer Butter Masala (₹320)", "Chole Bhature (₹200)", "Dal Makhani (₹280)"], }, { - id: "breads", tag: "Breads & Rice", price: "₹40–200", period: "/item", description: "Freshly prepared naan, roti, paratha, and biryanis baked in our tandoor.", button: { text: "Order Bread & Rice", href: "tel:08160318068" }, - featuresTitle: "Bread Selection:", features: ["Garlic Naan (₹60)", "Butter Naan (₹50)", "Rumali Roti (₹30)", "Chicken Biryani (₹200)"], + id: "breads", tag: "Breads & Rice", price: "₹40–200", period: "/item", description: "Freshly prepared naan, roti, paratha, and biryanis baked in our tandoor.", button: { text: "Order Bread & Rice", href: "tel:08160318068" }, featuresTitle: "Bread Selection:", features: ["Garlic Naan (₹60)", "Butter Naan (₹50)", "Rumali Roti (₹30)", "Chicken Biryani (₹200)"], }, ]} /> @@ -214,7 +211,7 @@ export default function LandingPage() { tagIcon={Phone} title="Ready to Order?" description="Whether it's a quick late-night meal or a bulk corporate order, we're here to serve you 24/7. Reach out now!" - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Enter your phone number" buttonText="Contact Us" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..26248ab 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fontWeight?: string | number; + 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 = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;