Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 09:27:45 +00:00
2 changed files with 45 additions and 58 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="small"
sizing="largeSmallSizeLargeTitles"
background="aurora"
background="circleGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="double-inset"
secondaryButtonStyle="layered"
@@ -45,7 +45,7 @@ export default function LandingPage() {
<HeroLogoBillboardSplit
logoText="MIMI"
description="Kalyan's cozy spot for great food, mocktails & memorable evenings. Enjoy delicious wood-fired pizzas, refreshing drinks, and warm ambience perfect for hangouts, families, and special dinners."
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Call Now", href: "tel:075597-55928" },
{ text: "Reserve Table", href: "#reserve" }
@@ -86,19 +86,19 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Wood-Fired Pizza", description: "Authentic pizzas crafted in our signature wood-fired oven with premium ingredients and traditional techniques.", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg?_wi=1", imageAlt: "Wood-fired pizza specialty"
title: "Wood-Fired Pizza", description: "Authentic pizzas crafted in our signature wood-fired oven with premium ingredients and traditional techniques.", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg", imageAlt: "Wood-fired pizza specialty"
},
{
id: 2,
title: "Signature Mocktails", description: "Handcrafted refreshing beverages like Yuzu Bloom and Berry Berry, perfect for any occasion.", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg?_wi=1", imageAlt: "Colorful signature mocktail"
title: "Signature Mocktails", description: "Handcrafted refreshing beverages like Yuzu Bloom and Berry Berry, perfect for any occasion.", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg", imageAlt: "Colorful signature mocktail"
},
{
id: 3,
title: "Starters & Small Plates", description: "Wonton Chilly and other creative starters that set the perfect tone for your meal.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg?_wi=1", imageAlt: "Crispy wonton chilly appetizer"
title: "Starters & Small Plates", description: "Wonton Chilly and other creative starters that set the perfect tone for your meal.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg", imageAlt: "Crispy wonton chilly appetizer"
},
{
id: 4,
title: "Premium Desserts", description: "San Sebastian cheesecake and other indulgent sweets to end your evening perfectly.", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg?_wi=1", imageAlt: "San Sebastian cheesecake dessert"
title: "Premium Desserts", description: "San Sebastian cheesecake and other indulgent sweets to end your evening perfectly.", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg", imageAlt: "San Sebastian cheesecake dessert"
}
]}
buttons={[{ text: "View Full Menu", href: "#menu" }]}
@@ -127,10 +127,10 @@ export default function LandingPage() {
useInvertedBackground={false}
testimonials={[
{
id: "1", title: "Amazing Pizza & Ambience", quote: "The wood-fired pizzas are absolutely delicious and the ambience is so cozy. Perfect spot for a date night or hanging out with friends. The mocktails are refreshing too!", name: "Priya Sharma", role: "Local Food Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-businesswoman-drinking-coffee-enjoying-cafe-after-work_637285-248.jpg?_wi=1", imageAlt: "Priya Sharma"
id: "1", title: "Amazing Pizza & Ambience", quote: "The wood-fired pizzas are absolutely delicious and the ambience is so cozy. Perfect spot for a date night or hanging out with friends. The mocktails are refreshing too!", name: "Priya Sharma", role: "Local Food Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-businesswoman-drinking-coffee-enjoying-cafe-after-work_637285-248.jpg", imageAlt: "Priya Sharma"
},
{
id: "2", title: "Best Dining in Kalyan", quote: "Visited with family and everyone loved their food. The service was prompt and friendly. Located near Birla College, it's become our go-to place for special occasions.", name: "Rajesh Patel", role: "Family Diner", imageSrc: "http://img.b2bpic.net/free-photo/close-up-serious-young-man-looking-camera_23-2148130295.jpg?_wi=1", imageAlt: "Rajesh Patel"
id: "2", title: "Best Dining in Kalyan", quote: "Visited with family and everyone loved their food. The service was prompt and friendly. Located near Birla College, it's become our go-to place for special occasions.", name: "Rajesh Patel", role: "Family Diner", imageSrc: "http://img.b2bpic.net/free-photo/close-up-serious-young-man-looking-camera_23-2148130295.jpg", imageAlt: "Rajesh Patel"
},
{
id: "3", title: "Cozy & Romantic", quote: "Celebrated my anniversary here. The setting is intimate, food is premium, and the whole experience was memorable. Highly recommend for couples!", name: "Ananya Desai", role: "Regular Customer", imageSrc: "http://img.b2bpic.net/free-photo/female-salesperson-car-showroom-standing-by-car_1303-22386.jpg", imageAlt: "Ananya Desai"
@@ -139,10 +139,10 @@ export default function LandingPage() {
id: "4", title: "Great Food & Service", quote: "Fajita Pizza and Yuzu Bloom mocktail are my favorites. Staff makes you feel welcome. Best café-bistro experience in Kalyan. Will definitely visit again!", name: "Aditya Kumar", role: "Regular Visitor", imageSrc: "http://img.b2bpic.net/free-photo/middle-age-handsome-man-smiling-town_839833-29989.jpg", imageAlt: "Aditya Kumar"
},
{
id: "5", title: "Perfect Hangout Spot", quote: "With my college friends, we found our favorite study-and-hangout spot here. Good vibes, great food, reasonable prices. Can't ask for more!", name: "Neha Singh", role: "College Student", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-businesswoman-drinking-coffee-enjoying-cafe-after-work_637285-248.jpg?_wi=2", imageAlt: "Neha Singh"
id: "5", title: "Perfect Hangout Spot", quote: "With my college friends, we found our favorite study-and-hangout spot here. Good vibes, great food, reasonable prices. Can't ask for more!", name: "Neha Singh", role: "College Student", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-businesswoman-drinking-coffee-enjoying-cafe-after-work_637285-248.jpg", imageAlt: "Neha Singh"
},
{
id: "6", title: "Outstanding Experience", quote: "Everything from the ambience to the plating to the taste was excellent. San Sebastian cheesecake is to die for. Mimi Cafe sets the bar high!", name: "Vikram Menon", role: "Food Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/close-up-serious-young-man-looking-camera_23-2148130295.jpg?_wi=2", imageAlt: "Vikram Menon"
id: "6", title: "Outstanding Experience", quote: "Everything from the ambience to the plating to the taste was excellent. San Sebastian cheesecake is to die for. Mimi Cafe sets the bar high!", name: "Vikram Menon", role: "Food Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/close-up-serious-young-man-looking-camera_23-2148130295.jpg", imageAlt: "Vikram Menon"
}
]}
/>
@@ -161,27 +161,27 @@ export default function LandingPage() {
products={[
{
id: "1", brand: "Specialty Pizza", name: "Fajita Pizza", price: "From ₹450", rating: 5,
reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg?_wi=2", imageAlt: "Fajita Pizza signature dish"
reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg", imageAlt: "Fajita Pizza signature dish"
},
{
id: "2", brand: "Appetizer", name: "Wonton Chilly", price: "From ₹280", rating: 5,
reviewCount: "72", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg?_wi=2", imageAlt: "Wonton Chilly appetizer"
reviewCount: "72", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg", imageAlt: "Wonton Chilly appetizer"
},
{
id: "3", brand: "Beverage", name: "Yuzu Bloom Mocktail", price: "₹220", rating: 5,
reviewCount: "65", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg?_wi=2", imageAlt: "Yuzu Bloom signature mocktail"
reviewCount: "65", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg", imageAlt: "Yuzu Bloom signature mocktail"
},
{
id: "4", brand: "Specialty Pizza", name: "Wood-Fired Farm Pizza", price: "From ₹480", rating: 5,
reviewCount: "81", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg?_wi=3", imageAlt: "Wood-Fired Farm Pizza"
reviewCount: "81", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg", imageAlt: "Wood-Fired Farm Pizza"
},
{
id: "5", brand: "Beverage", name: "Berry Berry Mocktail", price: "₹220", rating: 5,
reviewCount: "58", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg?_wi=3", imageAlt: "Berry Berry refreshing drink"
reviewCount: "58", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg", imageAlt: "Berry Berry refreshing drink"
},
{
id: "6", brand: "Dessert", name: "San Sebastian Cheesecake", price: "₹320", rating: 5,
reviewCount: "94", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg?_wi=2", imageAlt: "San Sebastian premium cheesecake"
reviewCount: "94", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg", imageAlt: "San Sebastian premium cheesecake"
}
]}
buttons={[{ text: "Order Now", href: "https://wa.me/075597559228?text=Hi%20Mimi%20Cafe,%20I'd%20like%20to%20place%20an%20order" }]}

View File

@@ -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;
className?: string;
textClassName?: string;
preserveAspectRatio?: string;
dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'text-before-edge' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'text-after-edge' | 'text-bottom' | 'baseline' | 'use-script' | 'no-change' | 'reset-size' | 'inherit';
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<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"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
({ text, className = '', textClassName = '', preserveAspectRatio = 'xMidYMid meet', dominantBaseline = 'middle' }, ref) => {
return (
<svg
ref={ref}
viewBox="0 0 400 100"
className={`w-full h-full ${className}`}
preserveAspectRatio={preserveAspectRatio}
xmlns="http://www.w3.org/2000/svg"
aria-label={`${text} logo`}
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
className={`text-4xl font-bold fill-current ${textClassName}`}
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";
SvgTextLogo.displayName = 'SvgTextLogo';
export default SvgTextLogo;