From 451660f8daa05ab7303667d3c1a74a305cbf6244 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:54:02 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 05e4858..c4fc436 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,25 +46,26 @@ export default function LandingPage() { title="Gavakadchi Chav, Puneri Abhiman" description="Experience authentic Maharashtrian cuisine since 1995. Legendary mutton raan and unlimited rassa that keeps families coming back. A warm wada-style haven celebrating village roots with urban pride." tag="⭐ 3.9 Rating | 10,900+ Reviews" + background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/boiled-lamb-legs-with-vegetables_140725-3320.jpg" imageAlt="Sizzling mutton raan traditional preparation" mediaAnimation="opacity" testimonials={[ { name: "Priya Mahajan", handle: "Food Enthusiast", testimonial: "Best place to spend time with family. Staff is polite and yummy food 😋", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-people-together_23-2149152929.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-people-together_23-2149152929.jpg" }, { name: "Raj Kulkarni", handle: "Regular Visitor", testimonial: "Great Ambience, Delicious Food, Classy Interior, A Cool Place To Hangout", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-friends-restaurant_23-2148395397.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-friends-restaurant_23-2148395397.jpg" }, { name: "Ananya Pawar", handle: "Family Diner", testimonial: "Food quality better, service & atmosphere good. The unlimited rassa is unbeatable!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doing-beauty-vlog_23-2148916289.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doing-beauty-vlog_23-2148916289.jpg" }, { name: "Vikram Joshi", handle: "Mutton Lover", testimonial: "Authentic village flavors in the heart of Pune. Simply legendary mutton raan!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-phone_23-2149061581.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-phone_23-2149061581.jpg" } ]} buttons={[ @@ -88,28 +89,22 @@ export default function LandingPage() { useInvertedBackground={true} products={[ { - id: "1", brand: "House Special", name: "Gavakadchi Mutton Thali", price: "₹650", rating: 5, - reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/portrait-indian-man-bazaar_23-2150913302.jpg", imageAlt: "Gavakadchi Mutton Thali" + id: "1", brand: "House Special", name: "Gavakadchi Mutton Thali", price: "₹650", rating: 5, reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/portrait-indian-man-bazaar_23-2150913302.jpg", imageAlt: "Gavakadchi Mutton Thali" }, { - id: "2", brand: "Feast Experience", name: "Bolhai Mutton Raan", price: "₹1,200", rating: 5, - reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/grilled-meat-with-tomato-apple-glass-baking-dish-wooden-table-flat-lay_176474-9218.jpg", imageAlt: "Bolhai Mutton Raan" + id: "2", brand: "Feast Experience", name: "Bolhai Mutton Raan", price: "₹1,200", rating: 5, reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/grilled-meat-with-tomato-apple-glass-baking-dish-wooden-table-flat-lay_176474-9218.jpg", imageAlt: "Bolhai Mutton Raan" }, { - id: "3", brand: "Royal Selection", name: "Chicken Biryani", price: "₹450", rating: 5, - reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-vector/watercolor-food-sale-background_23-2149078879.jpg", imageAlt: "Chicken Biryani" + id: "3", brand: "Royal Selection", name: "Chicken Biryani", price: "₹450", rating: 5, reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-vector/watercolor-food-sale-background_23-2149078879.jpg", imageAlt: "Chicken Biryani" }, { - id: "4", brand: "Tandoori Classics", name: "Chicken Tandoori", price: "₹500", rating: 5, - reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/front-view-tasty-meat-cutlets-with-onion-rings_140725-57053.jpg", imageAlt: "Chicken Tandoori" + id: "4", brand: "Tandoori Classics", name: "Chicken Tandoori", price: "₹500", rating: 5, reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/front-view-tasty-meat-cutlets-with-onion-rings_140725-57053.jpg", imageAlt: "Chicken Tandoori" }, { - id: "5", brand: "Appetizer", name: "Chicken Lollipops", price: "₹350", rating: 5, - reviewCount: "950", imageSrc: "http://img.b2bpic.net/free-photo/pork-kebab-plate-juicy-delicious-food_132075-14704.jpg", imageAlt: "Chicken Lollipops" + id: "5", brand: "Appetizer", name: "Chicken Lollipops", price: "₹350", rating: 5, reviewCount: "950", imageSrc: "http://img.b2bpic.net/free-photo/pork-kebab-plate-juicy-delicious-food_132075-14704.jpg", imageAlt: "Chicken Lollipops" }, { - id: "6", brand: "Vegetarian", name: "Wada Special Veg Thali", price: "₹400", rating: 5, - reviewCount: "890", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-pakistan-meal-table_23-2148821578.jpg", imageAlt: "Wada Special Veg Thali" + id: "6", brand: "Vegetarian", name: "Wada Special Veg Thali", price: "₹400", rating: 5, reviewCount: "890", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-pakistan-meal-table_23-2148821578.jpg", imageAlt: "Wada Special Veg Thali" } ]} buttons={[{ text: "View Full Menu", href: "#" }]} @@ -147,20 +142,16 @@ export default function LandingPage() { useInvertedBackground={true} testimonials={[ { - id: "1", name: "Priya Mahajan", role: "Regular Diner", company: "Pune", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-people-together_23-2149152929.jpg?_wi=2" + id: "1", name: "Priya Mahajan", role: "Regular Diner", company: "Pune", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-people-together_23-2149152929.jpg" }, { - id: "2", name: "Raj Kulkarni", role: "Food Enthusiast", company: "Katraj", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-friends-restaurant_23-2148395397.jpg?_wi=2" + id: "2", name: "Raj Kulkarni", role: "Food Enthusiast", company: "Katraj", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-friends-restaurant_23-2148395397.jpg" }, { - id: "3", name: "Ananya Pawar", role: "Family Manager", company: "Pune", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doing-beauty-vlog_23-2148916289.jpg?_wi=2" + id: "3", name: "Ananya Pawar", role: "Family Manager", company: "Pune", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doing-beauty-vlog_23-2148916289.jpg" }, { - id: "4", name: "Vikram Joshi", role: "Mutton Lover", company: "Pune", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-phone_23-2149061581.jpg?_wi=2" + id: "4", name: "Vikram Joshi", role: "Mutton Lover", company: "Pune", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-phone_23-2149061581.jpg" } ]} kpiItems={[ @@ -201,7 +192,6 @@ export default function LandingPage() { tag="Heritage Since 1995" imageSrc="http://img.b2bpic.net/free-photo/high-angle-delicious-pakistan-meal-basket_23-2148821575.jpg" imageAlt="Shauryawada Interior" - mediaAnimation="opacity" useInvertedBackground={true} buttons={[{ text: "Reserve Your Seat", href: "contact" }]} /> -- 2.49.1 From 8e2ddb5cacdaaaec477618255bd7381dc1b782c0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:54:02 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 +++++++++---------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3d03791 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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; + fontWeight?: number | string; + letterSpacing?: number; 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 = 32, + fontWeight = 700, + letterSpacing = 0, + className = '', +}) => { + const padding = 20; + const textWidth = text.length * (fontSize * 0.6); + const width = textWidth + padding * 2; + const height = fontSize + padding * 2; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1