Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 15:54:06 +00:00
2 changed files with 45 additions and 60 deletions

View File

@@ -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" }]}
/>

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
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 (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x={padding}
y={padding + fontSize * 0.75}
fontSize={fontSize}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill="currentColor"
dominantBaseline="hanging"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;