9 Commits

Author SHA1 Message Date
19e91eae34 Merge version_6 into main
Merge version_6 into main
2026-06-03 15:53:02 +00:00
70a57b65e3 Update src/app/page.tsx 2026-06-03 15:52:59 +00:00
4a11ab4bef Merge version_6 into main
Merge version_6 into main
2026-06-03 15:52:38 +00:00
95642276a6 Update src/app/page.tsx 2026-06-03 15:52:35 +00:00
81a157ebd8 Merge version_5 into main
Merge version_5 into main
2026-06-03 15:46:03 +00:00
9d7de87b16 Update src/app/reservations/page.tsx 2026-06-03 15:46:00 +00:00
cccaa74a16 Update src/app/page.tsx 2026-06-03 15:46:00 +00:00
f7893c78b8 Update src/app/contact-us/page.tsx 2026-06-03 15:45:59 +00:00
ff1dce076b Merge version_4 into main
Merge version_4 into main
2026-06-03 15:35:19 +00:00
3 changed files with 38 additions and 38 deletions

View File

@@ -23,7 +23,7 @@ export default function ContactUsPage() {
setMessage({ type: "error", text: "Name, Email, and Message are required." });
return;
}
if (!/^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$/.test(email)) {
if (!/^[[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$/.test(email)) {
setMessage({ type: "error", text: "Please enter a valid email address." });
return;
}
@@ -62,11 +62,11 @@ export default function ContactUsPage() {
<NavbarLayoutFloatingInline
brandName="Kerala Flavors"
navItems={[
{ name: "Menu", id: "menu" },
{ name: "About", id: "about" },
{ name: "Menu", id: "/#menu" },
{ name: "About", id: "/#about" },
{ name: "Reservations", id: "/reservations" },
{ name: "Contact Us", id: "/contact-us" },
{ name: "Reviews", id: "testimonials" }
{ name: "Reviews", id: "/#testimonials" }
]}
button={{
text: "Book a Table", href: "/reservations"

View File

@@ -32,11 +32,11 @@ export default function ItalianRestaurantPage() {
<NavbarLayoutFloatingInline
brandName="Kerala Flavors"
navItems={[
{ name: "Menu", id: "menu" },
{ name: "About", id: "about" },
{ name: "Menu", id: "/#menu" },
{ name: "About", id: "/#about" },
{ name: "Reservations", id: "/reservations" },
{ name: "Contact Us", id: "/contact-us" },
{ name: "Reviews", id: "testimonials" }
{ name: "Reviews", id: "/#testimonials" }
]}
button={{
text: "Book a Table", href: "/reservations"
@@ -51,11 +51,11 @@ export default function ItalianRestaurantPage() {
background={{ variant: "sparkles-gradient" }}
tag="Authentic Kerala Cuisine"
tagIcon={Sparkles}
imageSrc="https://source.unsplash.com/random/1200x800/?kerala-food-restaurant-interior"
imageSrc="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1200&h=800&auto=format&fit=crop&q=80"
imageAlt="Vibrant Kerala restaurant interior with traditional decor"
buttons={[
{ text: "View Menu", href: "menu" },
{ text: "Explore Our Story", href: "about" }
{ text: "View Menu", href: "/#menu" },
{ text: "Explore Our Story", href: "/#about" }
]}
/>
</div>
@@ -65,7 +65,7 @@ export default function ItalianRestaurantPage() {
title="At Kerala Flavors, we bring you the authentic tastes of God's Own Country. Our chefs meticulously craft each dish, rooted in traditional recipes and fresh, local ingredients, to offer a culinary experience that's both rich and soulful."
useInvertedBackground={false}
buttons={[
{ text: "Our Heritage", href: "#" }
{ text: "Our Heritage", href: "/#" }
]}
/>
</div>
@@ -76,55 +76,55 @@ export default function ItalianRestaurantPage() {
description="A culinary journey through Kerala's finest dishes, prepared with authentic spices and fresh ingredients."
products={[
{
id: "1", name: "Malabar Chicken Biriyani", price: "$18", imageSrc: "https://source.unsplash.com/random/800x600/?malabar-chicken-biriyani", imageAlt: "Flavorful Malabar Chicken Biriyani"
id: "1", name: "Malabar Chicken Biriyani", price: "$22.00", imageSrc: "https://images.unsplash.com/photo-1626804172088-348600d8d73b?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Flavorful Malabar Chicken Biriyani"
},
{
id: "2", name: "Kerala Beef Roast", price: "$20", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-beef-roast", imageAlt: "Spicy Kerala Beef Roast"
id: "2", name: "Kerala Beef Roast", price: "$25.00", imageSrc: "https://images.unsplash.com/photo-1610438289745-f938d94e101f?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Spicy Kerala Beef Roast"
},
{
id: "3", name: "Al Faham Chicken", price: "$19", imageSrc: "https://source.unsplash.com/random/800x600/?al-faham-chicken", imageAlt: "Grilled Al Faham Chicken"
id: "3", name: "Al Faham Chicken", price: "$24.00", imageSrc: "https://images.unsplash.com/photo-1627063737527-dc5f956d2528?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Grilled Al Faham Chicken"
},
{
id: "4", name: "Kerala Fish Curry", price: "$17", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-fish-curry", imageAlt: "Tangy Kerala Fish Curry"
id: "4", name: "Kerala Fish Curry", price: "$22.00", imageSrc: "https://images.unsplash.com/photo-1625938590629-d5867f70b4b2?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop&_wi=1", imageAlt: "Tangy Kerala Fish Curry"
},
{
id: "5", name: "Karimeen Pollichathu", price: "$22", imageSrc: "https://source.unsplash.com/random/800x600/?karimeen-pollichathu", imageAlt: "Pearl Spot Fish grilled in banana leaf"
id: "5", name: "Karimeen Pollichathu", price: "$28.00", imageSrc: "https://images.unsplash.com/photo-1624646197365-5c1a1b1a1c9a?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Pearl Spot Fish grilled in banana leaf"
},
{
id: "6", name: "Chicken Fry", price: "$15", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-chicken-fry", imageAlt: "Crispy Kerala Chicken Fry"
id: "6", name: "Chicken Fry", price: "$18.00", imageSrc: "https://images.unsplash.com/photo-1603598583495-9f5e0a6d07d1?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Crispy Kerala Chicken Fry"
},
{
id: "7", name: "Mutton Curry", price: "$21", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-mutton-curry", imageAlt: "Rich Kerala Mutton Curry"
id: "7", name: "Mutton Curry", price: "$26.00", imageSrc: "https://images.unsplash.com/photo-1631515159392-cd23f990499d?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop&_wi=1", imageAlt: "Rich Kerala Mutton Curry"
},
{
id: "8", name: "Appam & Stew", price: "$14", imageSrc: "https://source.unsplash.com/random/800x600/?appam-stew", imageAlt: "Soft Appam with creamy Vegetable Stew"
id: "8", name: "Appam & Stew", price: "$16.00", imageSrc: "https://images.unsplash.com/photo-1628191060937-299f0f9b6e8a?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Soft Appam with creamy Vegetable Stew"
},
{
id: "9", name: "Kappa & Fish Curry", price: "$16", imageSrc: "https://source.unsplash.com/random/800x600/?kappa-fish-curry", imageAlt: "Steamed Tapioca with spicy Fish Curry"
id: "9", name: "Kappa & Fish Curry", price: "$20.00", imageSrc: "https://images.unsplash.com/photo-1625938590629-d5867f70b4b2?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop&_wi=2", imageAlt: "Steamed Tapioca with spicy Fish Curry"
},
{
id: "10", name: "Kerala Parotta", price: "$5", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-parotta", imageAlt: "Flaky Kerala Parotta bread"
id: "10", name: "Kerala Parotta", price: "$6.00", imageSrc: "https://images.unsplash.com/photo-1600891965585-a7590868b4b1?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Flaky Kerala Parotta bread"
},
{
id: "11", name: "Ghee Rice", price: "$12", imageSrc: "https://source.unsplash.com/random/800x600/?ghee-rice", imageAlt: "Fragrant Ghee Rice"
id: "11", name: "Ghee Rice", price: "$15.00", imageSrc: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=800&h=600&auto=format&fit=crop&q=80", imageAlt: "Fragrant Ghee Rice"
},
{
id: "12", name: "Prawn Roast", price: "$23", imageSrc: "https://source.unsplash.com/random/800x600/?prawn-roast", imageAlt: "Spicy Prawn Roast"
id: "12", name: "Prawn Roast", price: "$29.00", imageSrc: "https://images.unsplash.com/photo-1606222841315-fe70308e7529?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Spicy Prawn Roast"
},
{
id: "13", name: "Vegetable Kurma", price: "$13", imageSrc: "https://source.unsplash.com/random/800x600/?vegetable-kurma", imageAlt: "Creamy Vegetable Kurma"
id: "13", name: "Vegetable Kurma", price: "$16.00", imageSrc: "https://images.unsplash.com/photo-1627915509939-f9f3b5e1b9b1?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Creamy Vegetable Kurma"
},
{
id: "14", name: "Paneer Butter Masala", price: "$16", imageSrc: "https://source.unsplash.com/random/800x600/?paneer-butter-masala", imageAlt: "Rich Paneer Butter Masala"
id: "14", name: "Paneer Butter Masala", price: "$19.00", imageSrc: "https://images.unsplash.com/photo-1631515159392-cd23f990499d?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop&_wi=2", imageAlt: "Rich Paneer Butter Masala"
},
{
id: "15", name: "Gobi Manchurian", price: "$14", imageSrc: "https://source.unsplash.com/random/800x600/?gobi-manchurian", imageAlt: "Indo-Chinese Gobi Manchurian"
id: "15", name: "Gobi Manchurian", price: "$17.00", imageSrc: "https://images.unsplash.com/photo-1563214561-1e9b2f2f7d5c?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Indo-Chinese Gobi Manchurian"
},
{
id: "16", name: "Kerala Sadya", price: "$25", imageSrc: "https://source.unsplash.com/random/800x600/?kerala-sadya-feast", imageAlt: "Traditional Kerala Sadya feast"
id: "16", name: "Kerala Sadya", price: "$35.00", imageSrc: "https://images.unsplash.com/photo-1616782255866-22442d87e0b5?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Traditional Kerala Sadya feast"
},
{
id: "17", name: "Veg Biriyani", price: "$15", imageSrc: "https://source.unsplash.com/random/800x600/?veg-biriyani", imageAlt: "Aromatic Vegetable Biriyani"
id: "17", name: "Veg Biriyani", price: "$18.00", imageSrc: "https://images.unsplash.com/photo-1589302633008-8e6bfed62a20?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop", imageAlt: "Aromatic Vegetable Biriyani"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -157,16 +157,16 @@ export default function ItalianRestaurantPage() {
description="Hear what our patrons have to say about their unforgettable dining experiences at Kerala Flavors."
testimonials={[
{
id: "1", title: "A Taste of Home", quote: "The Malabar Biriyani was incredible, just like my grandmother used to make! Every dish here feels authentic and full of soul. Truly a gem!", name: "Priya Sharma", role: "Food Blogger", imageSrc: "https://picsum.photos/id/64/100/100", imageAlt: "Priya Sharma"
id: "1", title: "A Taste of Home", quote: "The Malabar Biriyani was incredible, just like my grandmother used to make! Every dish here feels authentic and full of soul. Truly a gem!", name: "Priya Sharma", role: "Food Blogger", imageSrc: "https://picsum.photos/seed/priya/100/100", imageAlt: "Priya Sharma"
},
{
id: "2", title: "Authentic Flavors, Amazing Experience", quote: "From the Karimeen Pollichathu to the Appam and Stew, every dish was a culinary masterpiece. The spices were perfectly balanced, and the service was impeccable.", name: "Rahul Menon", role: "Restaurant Critic", imageSrc: "https://picsum.photos/id/65/100/100", imageAlt: "Rahul Menon"
id: "2", title: "Authentic Flavors, Amazing Experience", quote: "From the Karimeen Pollichathu to the Appam and Stew, every dish was a culinary masterpiece. The spices were perfectly balanced, and the service was impeccable.", name: "Rahul Menon", role: "Restaurant Critic", imageSrc: "https://picsum.photos/seed/rahul/100/100", imageAlt: "Rahul Menon"
},
{
id: "3", title: "Best Kerala Food in Town", quote: "I've been searching for authentic Kerala cuisine, and Kerala Flavors delivered beyond expectations. The Sadya was a feast for the senses. Highly recommend!", name: "Anjali Nair", role: "Regular Patron", imageSrc: "https://picsum.photos/id/66/100/100", imageAlt: "Anjali Nair"
id: "3", title: "Best Kerala Food in Town", quote: "I've been searching for authentic Kerala cuisine, and Kerala Flavors delivered beyond expectations. The Sadya was a feast for the senses. Highly recommend!", name: "Anjali Nair", role: "Regular Patron", imageSrc: "https://picsum.photos/seed/anjali/100/100", imageAlt: "Anjali Nair"
},
{
id: "4", title: "A Delightful Culinary Journey", quote: "The Kerala Beef Roast was tender and perfectly spiced, and the Prawn Roast was heavenly. It's truly a delightful journey through Kerala's rich culinary landscape.", name: "Vikram Singh", role: "Explorer of Cuisines", imageSrc: "https://picsum.photos/id/67/100/100", imageAlt: "Vikram Singh"
id: "4", title: "A Delightful Culinary Journey", quote: "The Kerala Beef Roast was tender and perfectly spiced, and the Prawn Roast was heavenly. It's truly a delightful journey through Kerala's rich culinary landscape.", name: "Vikram Singh", role: "Explorer of Cuisines", imageSrc: "https://picsum.photos/seed/vikram/100/100", imageAlt: "Vikram Singh"
}
]}
textboxLayout="default"
@@ -209,9 +209,9 @@ export default function ItalianRestaurantPage() {
<div id="footer" data-section="footer">
<FooterLogoReveal
logoText="Kerala Flavors"
logoSrc="https://picsum.photos/seed/kerala-flavors-logo/150/50"
logoSrc="https://via.placeholder.com/150x50.png?text=Kerala+Flavors+Logo"
logoAlt="Kerala Flavors Logo"
leftLink={{ text: "Privacy Policy", href: "#privacy" }}
leftLink={{ text: "Privacy Policy", href: "/#privacy" }}
rightLink={{ text: "Contact Us", href: "/contact-us" }}
/>
</div>

View File

@@ -26,7 +26,7 @@ export default function ReservationsPage() {
setMessage({ type: "error", text: "Please fill in all required fields." });
return;
}
if (!/^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$/.test(email)) {
if (!/^[[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$/.test(email)) {
setMessage({ type: "error", text: "Please enter a valid email address." });
return;
}
@@ -72,11 +72,11 @@ export default function ReservationsPage() {
<NavbarLayoutFloatingInline
brandName="Kerala Flavors"
navItems={[
{ name: "Menu", id: "menu" },
{ name: "About", id: "about" },
{ name: "Menu", id: "/#menu" },
{ name: "About", id: "/#about" },
{ name: "Reservations", id: "/reservations" },
{ name: "Contact Us", id: "/contact-us" },
{ name: "Reviews", id: "testimonials" }
{ name: "Reviews", id: "/#testimonials" }
]}
button={{
text: "Book a Table", href: "/reservations"