From 7060cecb34ac9b14ec35c932420d991fa3ff4034 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 18 Mar 2026 22:31:06 +0000 Subject: [PATCH 1/2] Add src/app/full-menu/page.tsx --- src/app/full-menu/page.tsx | 237 +++++++++++++++++++++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 src/app/full-menu/page.tsx diff --git a/src/app/full-menu/page.tsx b/src/app/full-menu/page.tsx new file mode 100644 index 0000000..0bf4c30 --- /dev/null +++ b/src/app/full-menu/page.tsx @@ -0,0 +1,237 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import ProductCardFour from "@/components/sections/product/ProductCardFour"; +import FooterMedia from "@/components/sections/footer/FooterMedia"; +import { Flame, Lock, X } from "lucide-react"; + +export default function FullMenuPage() { + const [isPasswordProtected, setIsPasswordProtected] = useState(true); + const [passwordInput, setPasswordInput] = useState(""); + const [passwordError, setPasswordError] = useState(false); + const MENU_PASSWORD = "Caribbean2025"; + + const navItems = [ + { name: "Home", id: "home" }, + { name: "Menu", id: "menu" }, + { name: "About Us", id: "about" }, + { name: "Gallery", id: "gallery" }, + { name: "Reviews", id: "reviews" }, + { name: "Locations", id: "locations" }, + ]; + + const footerColumns = [ + { + title: "Quick Links", items: [ + { label: "Home", href: "/" }, + { label: "Menu", href: "/menu" }, + { label: "Gallery", href: "/gallery" }, + { label: "Reviews", href: "/reviews" }, + ], + }, + { + title: "Order & Contact", items: [ + { label: "Order Online", href: "/menu" }, + { label: "Call Us", href: "tel:2397850423" }, + { label: "Locations & Hours", href: "/locations" }, + { label: "Contact", href: "/contact" }, + ], + }, + { + title: "Connect With Us", items: [ + { label: "Facebook", href: "https://www.facebook.com/share/1CckZyvyXX/?mibextid=wwXIfr" }, + { label: "About Us", href: "/about" }, + { label: "Privacy Policy", href: "/" }, + { label: "Terms of Service", href: "/" }, + ], + }, + { + title: "Located In", items: [ + { label: "801 Leeland Heights Blvd W", href: "/" }, + { label: "Lehigh Acres, FL 33936", href: "/" }, + { label: "Open Until 9PM", href: "/" }, + { label: "Delivery Available", href: "/" }, + ], + }, + ]; + + const handlePasswordSubmit = () => { + if (passwordInput === MENU_PASSWORD) { + setIsPasswordProtected(false); + setPasswordError(false); + } else { + setPasswordError(true); + setPasswordInput(""); + } + }; + + const allMenuItems = [ + { + id: "jerk-chicken", name: "Jerk Chicken Platter", price: "$15.95", variant: "Full Rack", imageSrc: "http://img.b2bpic.net/free-photo/from-shrimps-batter-with-red-rice-greens-white-plate_176474-2654.jpg?_wi=1", imageAlt: "Jerk chicken grilled on foil with spices"}, + { + id: "curry-goat", name: "Curry Goat Platter", price: "$17.95", variant: "Tender & Aromatic", imageSrc: "http://img.b2bpic.net/free-photo/rice-dish-with-sauce-near-spices_23-2147894777.jpg?_wi=1", imageAlt: "Curry goat served over rice and peas"}, + { + id: "jerk-pork", name: "Jerk Pork Platter", price: "$16.95", variant: "Juicy & Spiced", imageSrc: "http://img.b2bpic.net/free-photo/hot-spicy-grilled-pork-salad-with-berry-rice_1339-6325.jpg?_wi=1", imageAlt: "Jerk pork platter with rice"}, + { + id: "escovitch-fish", name: "Escovitch Fish", price: "$18.95", variant: "Island Tradition", imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-served-with-aubergine-lemon-parsley_140725-1554.jpg?_wi=1", imageAlt: "Escovitch fish with pickled vegetables"}, + { + id: "curry-shrimp", name: "Curry Shrimp Platter", price: "$16.95", variant: "Fresh Daily", imageSrc: "http://img.b2bpic.net/free-photo/side-view-fried-eggs-with-shrimps-vegetables-pan-served-with-sauces_140725-11952.jpg?_wi=1", imageAlt: "Curry shrimp over rice and peas"}, + { + id: "conch-fritters", name: "Conch Fritters Combo", price: "$12.95", variant: "6 Pieces", imageSrc: "http://img.b2bpic.net/free-photo/deep-fried-samosas-rustic-crockery-plate-generated-by-ai_188544-41080.jpg?_wi=1", imageAlt: "Golden conch fritters with dipping sauce"}, + { + id: "jerk-chicken-sandwich", name: "Jerk Chicken Sandwich", price: "$11.95", variant: "Fresh Bread", imageSrc: "http://img.b2bpic.net/free-photo/from-shrimps-batter-with-red-rice-greens-white-plate_176474-2654.jpg?_wi=1", imageAlt: "Jerk chicken sandwich with slaw"}, + { + id: "curry-goat-sandwich", name: "Curry Goat Sandwich", price: "$12.95", variant: "Hearty & Flavorful", imageSrc: "http://img.b2bpic.net/free-photo/rice-dish-with-sauce-near-spices_23-2147894777.jpg?_wi=1", imageAlt: "Curry goat sandwich"}, + { + id: "pulled-pork-sandwich", name: "Pulled Pork Sandwich", price: "$11.95", variant: "Smoky & Tender", imageSrc: "http://img.b2bpic.net/free-photo/hot-spicy-grilled-pork-salad-with-berry-rice_1339-6325.jpg?_wi=1", imageAlt: "Pulled pork sandwich"}, + { + id: "rice-peas", name: "Rice & Peas", price: "$4.95", variant: "Classic Caribbean", imageSrc: "http://img.b2bpic.net/free-photo/rice-dish-with-sauce-near-spices_23-2147894777.jpg?_wi=1", imageAlt: "Rice and peas side"}, + { + id: "mac-cheese", name: "Creamy Mac & Cheese", price: "$5.95", variant: "Comfort Classic", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-presentation_23-2151914003.jpg?_wi=1", imageAlt: "Creamy mac and cheese"}, + { + id: "festival", name: "Festival Dumplings", price: "$4.95", variant: "Golden & Crispy", imageSrc: "http://img.b2bpic.net/free-photo/deep-fried-samosas-rustic-crockery-plate-generated-by-ai_188544-41080.jpg?_wi=1", imageAlt: "Festival dumplings"}, + { + id: "sorrel-punch", name: "Sorrel Punch", price: "$3.95", variant: "16 oz", imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-man-getting-coffee_23-2149663609.jpg?_wi=1", imageAlt: "Tropical sorrel punch"}, + { + id: "ginger-beer", name: "Island Ginger Beer", price: "$3.95", variant: "Refreshing", imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-man-getting-coffee_23-2149663609.jpg?_wi=1", imageAlt: "Ginger beer"}, + { + id: "combo-1", name: "Island Feast Combo", price: "$22.95", variant: "Jerk Chicken + Sides", imageSrc: "http://img.b2bpic.net/free-photo/from-shrimps-batter-with-red-rice-greens-white-plate_176474-2654.jpg?_wi=1", imageAlt: "Island feast combo"}, + { + id: "seafood-special", name: "Seafood Special", price: "$24.95", variant: "Curry Shrimp + Sides", imageSrc: "http://img.b2bpic.net/free-photo/side-view-fried-eggs-with-shrimps-vegetables-pan-served-with-sauces_140725-11952.jpg?_wi=1", imageAlt: "Seafood special"}, + ]; + + return ( + + {/* Navbar */} + + + {/* Password Protection Modal */} + {isPasswordProtected && ( +
+
+
+ +

Full Menu Access

+
+

+ This full menu is password protected. Please enter the password to continue. +

+ { + setPasswordInput(e.target.value); + setPasswordError(false); + }} + onKeyPress={(e) => { + if (e.key === "Enter") { + handlePasswordSubmit(); + } + }} + placeholder="Enter password" + className={`w-full px-4 py-3 border-2 rounded-lg mb-4 focus:outline-none transition ${ + passwordError + ? "border-red-500 focus:border-red-600" + : "border-gray-300 focus:border-orange-500" + }`} + /> + {passwordError && ( +

Incorrect password. Please try again.

+ )} + + + Back to Home + +
+
+ )} + + {/* Hero Section */} + {!isPasswordProtected && ( +
+ +
+ )} + + {/* Full Menu Section */} + {!isPasswordProtected && ( +
+ +
+ )} + + {/* Footer */} + +
+ ); +} -- 2.49.1 From 2f5396d03a5a00c8e062ad0638eb1e36071d08ec Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 18 Mar 2026 22:31:07 +0000 Subject: [PATCH 2/2] Update src/app/menu/page.tsx --- src/app/menu/page.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx index a3dae57..2265ca3 100644 --- a/src/app/menu/page.tsx +++ b/src/app/menu/page.tsx @@ -266,6 +266,8 @@ export default function MenuPage() { tagAnimation="slide-up" background={{ variant: "glowing-orb" }} buttons={[ + { + text: "See Full Menu", href: "/full-menu"}, { text: "Call to Order", href: "tel:2397850423"}, ]} @@ -312,7 +314,7 @@ export default function MenuPage() { tagAnimation="slide-up" buttons={[ { - text: "Order This Item", href: "/menu"}, + text: "See Full Menu", href: "/full-menu"}, ]} buttonAnimation="slide-up" textboxLayout="default" @@ -406,4 +408,4 @@ export default function MenuPage() { ); -} \ No newline at end of file +} -- 2.49.1