diff --git a/src/app/full-menu/page.tsx b/src/app/full-menu/page.tsx index 0bf4c30..6fdd8e8 100644 --- a/src/app/full-menu/page.tsx +++ b/src/app/full-menu/page.tsx @@ -1,19 +1,13 @@ "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"; +import { Flame } 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" }, @@ -58,16 +52,6 @@ export default function FullMenuPage() { }, ]; - 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"}, @@ -126,101 +110,48 @@ export default function FullMenuPage() { /> - {/* Password Protection Modal */} - {isPasswordProtected && ( -
- 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 - -