Merge version_1 into main #2
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
title="Authentic North Indian Flavors, Delivered 24/7 in Vadodara"
|
||||
description="From butter-rich curries to sizzling starters, RK Cloud Kitchens is your midnight craving's best friend. Always open, always fresh, always delicious."
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg"
|
||||
imageAlt="Steaming plate of butter chicken with naan"
|
||||
buttons={[
|
||||
{ text: "Call Now", href: "tel:081603-18068" },
|
||||
@@ -66,6 +66,7 @@ export default function LandingPage() {
|
||||
description="We understand your hunger doesn't follow 9-to-5 schedules. Whether you're a late-night worker, student, or planning a bulk order, we're here to serve you with quality, speed, and authenticity."
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="none"
|
||||
bulletPoints={[
|
||||
{ title: "Always Open", description: "24/7 service means we never sleep, so you never go hungry. Perfect for late-night cravings and early morning hunger pangs.", icon: Clock },
|
||||
{ title: "Quality Ingredients", description: "Professional kitchen standards ensure every dish is prepared with care. Fresh, authentic, and made to perfection.", icon: CheckCircle },
|
||||
@@ -73,7 +74,7 @@ export default function LandingPage() {
|
||||
{ title: "Bulk & Corporate Orders", description: "Dedicated team for office parties, events, and large orders. Competitive pricing and flexible delivery options.", icon: Users }
|
||||
]}
|
||||
imagePosition="right"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg"
|
||||
imageAlt="Professional kitchen preparation"
|
||||
/>
|
||||
</div>
|
||||
@@ -90,12 +91,12 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
carouselMode="buttons"
|
||||
products={[
|
||||
{ id: "1", name: "Butter Chicken", price: "₹280", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg?_wi=3", imageAlt: "Creamy butter chicken curry" },
|
||||
{ id: "1", name: "Butter Chicken", price: "₹280", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg", imageAlt: "Creamy butter chicken curry" },
|
||||
{ id: "2", name: "Vegetable Biryani", price: "₹220", imageSrc: "http://img.b2bpic.net/free-photo/steaming-hot-chicken-biryani-skillet_84443-72360.jpg", imageAlt: "Fragrant vegetable biryani" },
|
||||
{ id: "3", name: "Samosa Platter", price: "₹150", imageSrc: "http://img.b2bpic.net/free-psd/golden-savory-triangular-pastries-plate_84443-79203.jpg?_wi=1", imageAlt: "Crispy samosas with chutney" },
|
||||
{ id: "3", name: "Samosa Platter", price: "₹150", imageSrc: "http://img.b2bpic.net/free-psd/golden-savory-triangular-pastries-plate_84443-79203.jpg", imageAlt: "Crispy samosas with chutney" },
|
||||
{ id: "4", name: "Paneer Tikka Masala", price: "₹300", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pakistani-dish-arrangement_23-2148825116.jpg", imageAlt: "Creamy paneer tikka masala" },
|
||||
{ id: "5", name: "Dal Makhani", price: "₹200", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg?_wi=4", imageAlt: "Creamy lentil curry" },
|
||||
{ id: "6", name: "Garlic Naan", price: "₹80", imageSrc: "http://img.b2bpic.net/free-psd/golden-savory-triangular-pastries-plate_84443-79203.jpg?_wi=2", imageAlt: "Freshly baked garlic naan" }
|
||||
{ id: "5", name: "Dal Makhani", price: "₹200", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246070.jpg", imageAlt: "Creamy lentil curry" },
|
||||
{ id: "6", name: "Garlic Naan", price: "₹80", imageSrc: "http://img.b2bpic.net/free-psd/golden-savory-triangular-pastries-plate_84443-79203.jpg", imageAlt: "Freshly baked garlic naan" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -110,9 +111,9 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
animationType="blur-reveal"
|
||||
features={[
|
||||
{ id: "1", title: "Flexible Portions", description: "From 10 to 500+ servings. Customize quantities to match your exact event needs.", tag: "Scalable", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg?_wi=1", imageAlt: "Catering food service" },
|
||||
{ id: "2", title: "Competitive Pricing", description: "Bulk discounts available for large orders. More guests, better rates.", tag: "Value", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg?_wi=2", imageAlt: "Catering food service" },
|
||||
{ id: "3", title: "Quick Turnaround", description: "Order today, celebrate tomorrow. We handle rush orders with professional execution.", tag: "Fast", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg?_wi=3", imageAlt: "Catering food service" }
|
||||
{ id: "1", title: "Flexible Portions", description: "From 10 to 500+ servings. Customize quantities to match your exact event needs.", tag: "Scalable", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg", imageAlt: "Catering food service" },
|
||||
{ id: "2", title: "Competitive Pricing", description: "Bulk discounts available for large orders. More guests, better rates.", tag: "Value", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg", imageAlt: "Catering food service" },
|
||||
{ id: "3", title: "Quick Turnaround", description: "Order today, celebrate tomorrow. We handle rush orders with professional execution.", tag: "Fast", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fruit-decorating-sweet-table_8353-9100.jpg", imageAlt: "Catering food service" }
|
||||
]}
|
||||
buttons={[{ text: "Request Quote", href: "#contact" }]}
|
||||
/>
|
||||
@@ -129,7 +130,7 @@ export default function LandingPage() {
|
||||
{ id: "3", value: "30 min", description: "Average delivery time in Warasiya area. Fast, hot, and fresh every time." },
|
||||
{ id: "4", value: "500+", description: "Orders delivered monthly. Join our growing community of satisfied customers." }
|
||||
]}
|
||||
metricsAnimation="entrance-slide"
|
||||
metricsAnimation="blur-reveal"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -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";
|
||||
text: string;
|
||||
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, className = '' }) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox="0 0 300 100"
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fontSize="48"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user